ControllerMethod
class AControllerMethod
Controller methods are used to define functions that have controller-local validity.
The call is made via the this operator.
Example: this.method1()
Controller methods can be overridden in a derived controller. In an overridden controller, the base method can be called using the SUPER operator.
Example: SUPER.baseMethod1()
Create Controller-Method
Controller methods are created in the local interface of the controller.
Access to controller-local variables
In the controller method, access to all elements of a controller is possible.
Return
A controller method can define a return value.
Inheritance
Methods of a base controller can be overwritten. Overwritten methods are subsequently no longer visible in the derived controller, but can be called in the overwriting method using a SUPER object.
Controller methods as guard or as function in states
Controller methods can be used both as a function in states and as a guard.