T_init_categories()

Loads categories for the given item type and creates global values for them.



[PHP-] T_init_categories( $itemtype );

arguments

$itemtype  (string)   the item type to load categories for. You can give all to initialize categories for all item types.


return

global-> $typos_categories               (array)

global-> $typos_categories_tree     (array)

global-> $typos_categories_by_id  (array)