What can we improve?

Documentation

(Edit)

__construct

Requires: IP-Symcon >= 4.0

void __construct (string $InstanceID)

Parameters

InstanceID ID of this instance

Returns

No Return

Description

The constructor is called with every function call and takes care of the instantiation. The base class, for example, uses the constructor to set the InstanceID.

If individual extensions are wanted, the constructor must be overwritten by the base class.

Example

// Normally, this function does not need to be overwritten.
Deutsche Webseite verfügbar
Go to cart
Any questions?