Editor module class.

Constructor

new (s:ServerClass)

Fields

exports:Array<_ModuleExport>

Module exports.

name:String

Module name.

Methods

dynamic fieldChecker (action:String, field:String):Bool

If overridden, called for each input field of each form and each row field in update SQL query in this module. If it returns false, that field is ignored for this action, both in form and in update query.

Parameters:

action

Form or update query action.

field

Field name.

Returns:

True, if the field should exist in form or query. False otherwise.

dynamic initPost ():Void

Called in initialization after all modules have been instanced.