activateCategory[ies]() (tick_24Validator Engine Only)

void activateCategory(int $categoryid, int $activate);

$categoryid - the category id of the category to activate or deactivate

$activate - if non-zero, activates the category; if zero, deactivates the category

To deactivate all categories, use -1 for $categoryid and 0 for $activate

This procedure does nothing if you try to deactivate a category that is not active or activate a category that doesn't exist.

void activateCategories(int $activate[, int $categoryid...]);

$activate - if non-zero, activates the category; if zero, deactivates the category

$categoryid - the category id of the category to activate or deactivate

This procedure does nothing if you try to deactivate a category that is not active or activate a category that doesn't exist.