« Back to Product

Documentation

RegisterReference

Require: IP-Symcon >= 5.1

 boolean RegisterReference (int $ID) 

Parameters

ID

ID of the object

Returns

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

Description

This function registers the ID ID as referenced, enabling the module to be found during a reference search.

Warning

A repeated call with the same ID still only registers once

Example

$this->RegisterReference(10505 /* ObjectID */);
Any questions?