All user functions defined in the current application are automatically available in the script mode.
Besides the explicitly defined functions described under "User Functions" topics in the application-specific navigation subtrees,
each application defines a lot of implicit user functions, most of them as convenient shortcuts for some longer expressions.
application_name;
is a shortcut for application "application_name"; provided the application is already loaded.
is the same as the object constructor call with immediate Poly::Object::commit afterwards.
This function also employs a little magic for guessing the object name from the variable name it is assigned to:
$abc=OBJECT_TYPE( ... );
will set the object name to "abc". If, to the contrary, called in a void context, it assigns the new object to the variable $this.
PROPERTY_NAME;
METHOD_NAME;
are shortcuts for $this->PROPERTY_NAME and $this->METHOD_NAME for all defined object properties and public methods
respectively. Indeed, you can also pass arguments to the method.