« Back to Product

Documentation

EnableAction

Require: IP-Symcon >= 4.0

 boolean EnableAction (string $Ident) 

Parameters

Ident

Ident of the variable

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Activates the default action of the status variable. This means that it can be changed in the visualization and can also be written onto. This function must be called because all status variables are, by default, created without a default action. If the default action is activated, change requests must be responded to within RequestAction .

Example

// Activates the default action of the status variable
$this->EnableAction("Status");
Any questions?