string IPS_GetLocation (integer $ObjectID)
|ObjectID||ID of the object|
Path/ name of the object within the object tree
This function returns the complete path including the name of the object with the ID ObjectID.
Since version 4.0: If the target is an event without a name (Unnamed Object), the describing name is returned
This function should only be used as a quick visualization of the path. The return value is not unique, because names are not unique. In addition, the name of an object can contain backslashes "\". Thus, handling the return value with functions like explode is not recommended.
echo IPS_GetLocation(47359); //returns, e.g., "FHT8b\LowBattery"