What can we improve?

Documentation

(Edit)

GetConfigurationForm

Requires: IP-Symcon >= 4.1

string GetConfigurationForm ()

Returns

Content of the configuration page

Description

The content can be overwritten in order to transfer a self-created configuration page. This way, content can be generated dynamically. In this case, the "form.json" on the file system is completely ignored.

If this function is not defined in a module, the content of form.json is passed on by default.

Example

$this->GetConfigurationForm();
 
public function GetConfigurationForm() {
	return '{ "actions": [ { "type": "Label", "label": "The current time is '.date("d.m.y H:i").'" } ] }';
}
Deutsche Webseite verfügbar
Go to cart
Any questions?