Requires: IP-Symcon >= 4.0
void RegisterPropertyString (string $Name, string $DefaultValue)
Name | Name of the property |
DefaultValue | Default value of the property |
No Return |
This function creates a property of type String with name Name and default value DefaultValue
This function can be called in the Create method only!
public function Create() { // Don't delete or change this line. parent::Create(); $this->RegisterPropertyString("Username", "MaxMustermann"); }