« Back to Product

Documentation

IPS_GetVariableProfileListByType

 array IPS_GetVariableProfileListByType (int $VariablenTyp) 

Parameters

VariablenTyp
Value Description
0 Search for the type Boolean
1 Search for the type Integer
2 Search for the type Float
3 Search for the type String

Returns

List of names of all variables profiles

Description

This function lists the name of all existing variable profiles of the type VariableType and returns them as an array.

Example

$Profile = IPS_GetVariableProfileListByType(0);
print_r($Profile); 

/* returns e.g.:
Array
(
    [0] => ~Switch
    [1] => ~Alert
    [2] => ~Alert.Reversed
    etc. ...
*/
Any questions?