Classes (0) | Namespaces (1) |
Properties (0) | Static properties (15) |
Methods (0) | Static methods (0) |
Events (0) |
Properties (0) | Static properties (15) |
Methods (0) | Static methods (0) |
Events (0) |
Settings object for Editor - this provides the state for each instance of
Editor and can be accessed through the instance's s
property. Note that the
settings object is considered to be "private" and thus is liable to change
between versions. As such if you do read any of the setting parameters,
please keep this in mind when upgrading!
Arrays that contain the callback functions which are registered with Editor. For full details see: Editor.defaults (note that the arrays do not have the 'on' prefix of the callback / events.
The current form action - 'create', 'edit' or 'remove'. If no current action then it is set to null.
Ajax submit function. This is directly set by the initialisation parameter / default of the same name.
URL to submit Ajax data to. This is directly set by the initialisation parameter / default of the same name.
Name of the database table that is to be operated on - passed to the server in the Ajax request. This is directly set by the initialisation parameter / default of the same name.
The display controller object for the Form. This is directly set by the initialisation parameter / default of the same name.
Flag to indicate if the form is currently displayed (true) or not (false)
URL to submit Ajax data to. This is directly set by the initialisation parameter / default of the same name.
The TR element that is being edited (set to null for create and remove actions)
The form fields - see Editor.models.field for details of the objects held in this array.
The ID of the row being edited (set to -1 on create and remove actions)
JSON property from which to read / write the row's ID property.
The initialisation object that was given by the user - stored for future reference. This is directly set by the initialisation parameter / default of the same name.
Field order - order that the fields will appear in on the form. Array of strings, the names of the fields.
Flag to indicate if the form is current in a processing state (true) or not (false)
An array of TR elements that are scheduled to be removed on delete (set to null on create and edit actions).
The current form action - 'create', 'edit' or 'remove'. If no current action then it is set to null.
Ajax submit function. This is directly set by the initialisation parameter / default of the same name.
URL to submit Ajax data to. This is directly set by the initialisation parameter / default of the same name.
Name of the database table that is to be operated on - passed to the server in the Ajax request. This is directly set by the initialisation parameter / default of the same name.
The display controller object for the Form. This is directly set by the initialisation parameter / default of the same name.
Flag to indicate if the form is currently displayed (true) or not (false)
URL to submit Ajax data to. This is directly set by the initialisation parameter / default of the same name.
The TR element that is being edited (set to null for create and remove actions)
The form fields - see Editor.models.field for details of the objects held in this array.
The ID of the row being edited (set to -1 on create and remove actions)
JSON property from which to read / write the row's ID property.
The initialisation object that was given by the user - stored for future reference. This is directly set by the initialisation parameter / default of the same name.
Field order - order that the fields will appear in on the form. Array of strings, the names of the fields.
Flag to indicate if the form is current in a processing state (true) or not (false)
An array of TR elements that are scheduled to be removed on delete (set to null on create and edit actions).