AdiantiStandardFormTrait
Standard Form Trait
Tags
Table of Contents
Properties
- $afterSaveAction : mixed
- $afterSaveCallback : mixed
- $useMessages : mixed
Methods
- onClear() : mixed
- Clear form
- onEdit() : mixed
- method onEdit() Executed whenever the user clicks at the edit button da datagrid
- onSave() : mixed
- method onSave() Executed whenever the user clicks at the save button
- setAfterSaveAction() : mixed
- method setAfterSaveAction() Define after save action
- setAfterSaveCallback() : mixed
- method setAfterSaveCallback() Define after save callback
- setUseMessages() : mixed
- Define if will use messages after operations
Properties
$afterSaveAction
protected
mixed
$afterSaveAction
$afterSaveCallback
protected
mixed
$afterSaveCallback
$useMessages
protected
mixed
$useMessages
Methods
onClear()
Clear form
public
onClear(mixed $param) : mixed
Parameters
- $param : mixed
onEdit()
method onEdit() Executed whenever the user clicks at the edit button da datagrid
public
onEdit( $param) : mixed
Parameters
onSave()
method onSave() Executed whenever the user clicks at the save button
public
onSave() : mixed
setAfterSaveAction()
method setAfterSaveAction() Define after save action
public
setAfterSaveAction(mixed $action) : mixed
Parameters
- $action : mixed
setAfterSaveCallback()
method setAfterSaveCallback() Define after save callback
public
setAfterSaveCallback(mixed $callback) : mixed
Parameters
- $callback : mixed
setUseMessages()
Define if will use messages after operations
public
setUseMessages(mixed $bool) : mixed
Parameters
- $bool : mixed