« Back to Product

Documentation

GetIDForIdent

Require: IP-Symcon >= 4.0

 int 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

// Set the status variable with the Ident "Status" to True
SetValue($this->GetIDForIdent("Status"), true);
Any questions?