Functions


Functions Summary
bool

cot_ratings_enabled(string ext_name, string cat, string item)

Checks if ratings are enabled for specific extension and category

void

cot_ratings_remove(string area, string code)

Removes ratings associated with an item

Function Detail

plugins\ratings\inc\ratings.functions.php at line 189

cot_ratings_enabled

public bool cot_ratings_enabled(string ext_name, string cat, string item)
Checks if ratings are enabled for specific extension and category
Parameters:
ext_name - Extension name
cat - Category name or empty if checking the entire area
item - Item code, not yet supported
Returns:

plugins\ratings\inc\ratings.functions.php at line 216

cot_ratings_remove

public void cot_ratings_remove(string area, string code)
Removes ratings associated with an item
Parameters:
area - Item area code
code - Item identifier
Global:
CotDB $db