« Back to Product

Documentation

IPS_GetCategoryList

 array IPS_GetCategoryList ()

Returns

An array that contains all IDs of the categories in IP-Symcon as integer values. The order of the entries is not guaranteed.

Description

The function determines the IDs of all categories within IP-Symcon. The IDs are listed in an array. If no category exists, the array is empty.

Example

$allCategories = IPS_GetCategoryList();
print_r($allCategories);   
 
/* returns e.g.:
Array
(
    [0] => 0
    [1] => 37659
    [2] => 18326
    etc. ...
)
*/
Any questions?