Abstract response class
Definition at line 10 of file response/abstract.class.php.
◆ __call()
◆ __toString()
◆ afterInit()
Call just after the configuration initialisation
Definition at line 40 of file object.class.php.
◆ beforeInit()
Call just before the configuration initialisation
Definition at line 35 of file object.class.php.
◆ canGlobalCache()
Indicates if the global Cache is possible for the response
- Returns
- boolean True if enabled
Definition at line 68 of file response/abstract.class.php.
◆ comment()
◆ 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.
◆ getContent()
◆ getProxy()
◆ getVarsForGlobalCache()
getVarsForGlobalCache |
( |
| ) |
|
◆ send()
◆ sendText()
Send a text response (exit the programm)
- Parameters
-
◆ 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.
◆ setContent()
◆ setVarsFromGlobalCache()
setVarsFromGlobalCache |
( |
|
$vars | ) |
|
Set vars saved from a globalCache response. This function should also apply the vars
- Parameters
-
Definition at line 87 of file response/abstract.class.php.
◆ $cfg
◆ $content
◆ $proxy
The documentation for this class was generated from the following file: