new mmir.ctrl.Helper(ctrl, name, instanceConstr)
The Helper Class is a kind of interface-class which gives access to the methods and data of a helper (which itself belongs to a controller)
Name | Type | Description |
---|---|---|
ctrl |
mmir.ctrl.Controller | Controller instance / object |
name |
String | Name of the Helper |
instanceConstr |
function | the constructor for creating a new helper instance |
Members
-
controllermmir.ctrl.Controller
-
The controller to which this helper belongs.
-
implObject
-
The definition of the helper object, i.e. its implementation, containing all properties and functions of the controller.
A method of the helper can be called via:this.impl.method(parameter);
-
nameString
-
The name of the helper.
-
protectedscript
-
- Deprecated
- use
impl
instead
- use