Abstract class for module classes
Definition at line 10 of file module/abstract.class.php.
◆ addCacheTag()
◆ afterExec()
◆ afterInit()
◆ beforeExec()
◆ beforeInit()
Call just before the configuration initialisation
Definition at line 35 of file object.class.php.
◆ callbackTpl()
callbackTpl |
( |
array |
$prm | ) |
|
◆ exec()
exec |
( |
array |
$prm = array() | ) |
|
|
final |
Every called action must pass by this function
- Parameters
-
null | string | $prm | Actopn Parameters |
- Exceptions
-
Definition at line 40 of file module/abstract.class.php.
◆ getAttr()
Get an attribute
- Parameters
-
string | $name | Attribute name |
- Returns
- mixed|null The attribute or null if not set
Definition at line 48 of file object.class.php.
◆ getCfg()
Get the configuration object
- Returns
- config
Definition at line 67 of file object.class.php.
◆ getName()
◆ getResponse()
◆ getViewAction()
◆ getViewVar()
Get a variable for the view
- Parameters
-
- Returns
- mixed|null The value or null if not existing
Definition at line 176 of file module/abstract.class.php.
◆ isCacheEnabled()
Check against the configuration if the current request should be cached
- Returns
- bool True if enabled
Definition at line 225 of file module/abstract.class.php.
◆ middleExec()
◆ preFetch()
Function called just before fetching the TPL. This is useful to add cacheTag or change tpl properties
Definition at line 218 of file module/abstract.class.php.
◆ publish()
publish |
( |
array |
$prm = array() | ) |
|
◆ setAttr()
setAttr |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
|
inherited |
Set an attribute
- Parameters
-
string | $name | Attribute name |
mixed | $value | Attribute value |
Definition at line 58 of file object.class.php.
◆ setViewAction()
◆ setViewVar()
setViewVar |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
◆ setViewVars()
setViewVars |
( |
array |
$values | ) |
|
|
protected |
◆ $cfg
◆ $prmExec
◆ $tpl
The documentation for this class was generated from the following file: