Public Member Functions | |
| exec (array $prm=array()) | |
| callbackTpl (array $prm) | |
| getReponse () | |
| publish (array $prm=array()) | |
| getName () | |
| getAttr ($name) | |
| setAttr ($name, $value) | |
| getCfg () | |
Protected Member Functions | |
| afterInit () | |
| execIndex ($prm=null) | |
| execShow ($prm=null) | |
| execScaffoldIndex ($prm=null) | |
| isScaffolded () | |
| execScaffoldList ($prm=null) | |
| execScaffoldMultiple () | |
| multipleDelete (array $ids) | |
| hook ($action) | |
| execScaffoldShow ($prm=null) | |
| execScaffoldAdd ($prm=null) | |
| execScaffoldEdit ($prm=null) | |
| addEditForm ($action, $id=null) | |
| execScaffoldDelete ($prm=null) | |
| getFields ($action) | |
| beforeExec ($realExec) | |
| middleExec ($realExec) | |
| afterExec ($realExec) | |
| getViewAction () | |
| setViewAction ($action) | |
| getViewVar ($name) | |
| setViewVar ($name, $value) | |
| setViewVars (array $values) | |
| preFetch () | |
| isCacheEnabled () | |
| addCacheTag ($val) | |
| beforeInit () | |
Protected Attributes | |
| $table = null | |
| $row = null | |
| $filterTable | |
| $dataTable | |
| $form = null | |
| $cols | |
| $related | |
| $fields | |
| $indexPage | |
| $ids | |
| $prmExec | |
| $tpl | |
| $cfg | |
Scaffold controller to dynamically create administration
Definition at line 10 of file nyro/module/scaffold/controller.class.php.
| addCacheTag | ( | $ | val | ) | [protected, inherited] |
Add a cache tag
| mixed | $val The tag to add |
Definition at line 228 of file module/abstract.class.php.
| addEditForm | ( | $ | action, | |
| $ | id = null | |||
| ) | [protected] |
Definition at line 283 of file nyro/module/scaffold/controller.class.php.
| afterExec | ( | $ | realExec | ) | [protected, inherited] |
Definition at line 135 of file module/abstract.class.php.
| afterInit | ( | ) | [protected] |
Call just after the configuration initialisation
Reimplemented from module_abstract.
Definition at line 83 of file nyro/module/scaffold/controller.class.php.
| beforeExec | ( | $ | realExec | ) | [protected, inherited] |
Definition at line 125 of file module/abstract.class.php.
| beforeInit | ( | ) | [protected, inherited] |
Call just before the configuration initialisation
Reimplemented in form_file.
Definition at line 35 of file object.class.php.
| callbackTpl | ( | array $ | prm | ) | [inherited] |
Definition at line 112 of file module/abstract.class.php.
| exec | ( | array $ | prm = array() |
) | [final, inherited] |
Every called action must pass by this function
| null|string | $prm Actopn Parameters |
| nException | if wrong parameter or other errors |
Definition at line 40 of file module/abstract.class.php.
| execIndex | ( | $ | prm = null |
) | [protected] |
Definition at line 111 of file nyro/module/scaffold/controller.class.php.
| execScaffoldAdd | ( | $ | prm = null |
) | [protected] |
Definition at line 272 of file nyro/module/scaffold/controller.class.php.
| execScaffoldDelete | ( | $ | prm = null |
) | [protected] |
Definition at line 319 of file nyro/module/scaffold/controller.class.php.
| execScaffoldEdit | ( | $ | prm = null |
) | [protected] |
Definition at line 279 of file nyro/module/scaffold/controller.class.php.
| execScaffoldIndex | ( | $ | prm = null |
) | [protected] |
Definition at line 120 of file nyro/module/scaffold/controller.class.php.
| execScaffoldList | ( | $ | prm = null |
) | [protected] |
Definition at line 142 of file nyro/module/scaffold/controller.class.php.
| execScaffoldMultiple | ( | ) | [protected] |
Definition at line 203 of file nyro/module/scaffold/controller.class.php.
| execScaffoldShow | ( | $ | prm = null |
) | [protected] |
Definition at line 252 of file nyro/module/scaffold/controller.class.php.
| execShow | ( | $ | prm = null |
) | [protected] |
Definition at line 116 of file nyro/module/scaffold/controller.class.php.
| getAttr | ( | $ | name | ) | [inherited] |
Get an attribute
| string | $name Attribute name |
Reimplemented in response_proxy.
Definition at line 48 of file object.class.php.
| getCfg | ( | ) | [inherited] |
| getFields | ( | $ | action | ) | [protected] |
Get the Fields for a specific actions
| string | $action Action name (list, add, edit or show) |
Definition at line 336 of file nyro/module/scaffold/controller.class.php.
| getName | ( | ) | [inherited] |
| getReponse | ( | ) | [inherited] |
Definition at line 118 of file module/abstract.class.php.
| getViewAction | ( | ) | [protected, inherited] |
Get the current view action
Definition at line 142 of file module/abstract.class.php.
| getViewVar | ( | $ | name | ) | [protected, inherited] |
Get a variable for the view
| string | $name Variable name |
Definition at line 165 of file module/abstract.class.php.
| hook | ( | $ | action | ) | [protected] |
Function to be rewritten in eventual child to change the way the scaffold works Available actions:
| string | $action |
Definition at line 250 of file nyro/module/scaffold/controller.class.php.
| isCacheEnabled | ( | ) | [protected, inherited] |
Check against the configuration if the current request should be cached
Definition at line 214 of file module/abstract.class.php.
| isScaffolded | ( | ) | [protected] |
Definition at line 138 of file nyro/module/scaffold/controller.class.php.
| middleExec | ( | $ | realExec | ) | [protected, inherited] |
Definition at line 130 of file module/abstract.class.php.
| multipleDelete | ( | array $ | ids | ) | [protected] |
Multiple delete action
| array | $ids |
Definition at line 228 of file nyro/module/scaffold/controller.class.php.
| preFetch | ( | ) | [protected, inherited] |
Function called just before fetching the TPL. This is useful to add cacheTag or change tpl properties
Definition at line 207 of file module/abstract.class.php.
| publish | ( | array $ | prm = array() |
) | [inherited] |
Publish the module to shown
Definition at line 193 of file module/abstract.class.php.
| setAttr | ( | $ | name, | |
| $ | value | |||
| ) | [inherited] |
Set an attribute
| string | $name Attribute name | |
| mixed | $value Attribute value |
Reimplemented in response_proxy.
Definition at line 58 of file object.class.php.
| setViewAction | ( | $ | action | ) | [protected, inherited] |
Set the action which will use for the view
| string | $action |
Definition at line 151 of file module/abstract.class.php.
| setViewVar | ( | $ | name, | |
| $ | value | |||
| ) | [protected, inherited] |
Add a variable to the view
| string | $name Variable name | |
| mixed | $value |
Definition at line 175 of file module/abstract.class.php.
| setViewVars | ( | array $ | values | ) | [protected, inherited] |
Add variables to the view with an array
| array | $values |
Definition at line 184 of file module/abstract.class.php.
$cfg [protected, inherited] |
Definition at line 17 of file object.class.php.
$cols [protected] |
Definition at line 52 of file nyro/module/scaffold/controller.class.php.
$dataTable [protected] |
Definition at line 38 of file nyro/module/scaffold/controller.class.php.
$fields [protected] |
Definition at line 67 of file nyro/module/scaffold/controller.class.php.
$filterTable [protected] |
Definition at line 31 of file nyro/module/scaffold/controller.class.php.
$form = null [protected] |
Definition at line 45 of file nyro/module/scaffold/controller.class.php.
$ids [protected] |
Definition at line 81 of file nyro/module/scaffold/controller.class.php.
$indexPage [protected] |
Definition at line 74 of file nyro/module/scaffold/controller.class.php.
$prmExec [protected, inherited] |
Definition at line 17 of file module/abstract.class.php.
$related [protected] |
Definition at line 59 of file nyro/module/scaffold/controller.class.php.
$row = null [protected] |
Definition at line 24 of file nyro/module/scaffold/controller.class.php.
$table = null [protected] |
Definition at line 17 of file nyro/module/scaffold/controller.class.php.
$tpl [protected, inherited] |
Definition at line 24 of file module/abstract.class.php.
1.7.1