« Back to Product

Documentation

GetIDForIdent

Require: Symcon >= 4.0

 mixed GetIDForIdent (string $Ident) 

Parameters

Ident

Ident of the object to be searched for.

Returns

ID of the found object, otherwise FALSE

Description

The function searches for the object ID of the object with the Ident Ident and returns it.
If the Ident is not available, an error message is generated.

Example

// Output the path of the status variable with the Ident "Status"
echo IPS_GetLocation($this->GetIDForIdent("Status"));
Any questions?