Public Member Functions | |
| __construct (config $cfg) | |
| getAttr ($name) | |
| setAttr ($name, $value) | |
| getCfg () | |
Protected Member Functions | |
| beforeInit () | |
| afterInit () | |
Protected Attributes | |
| $cfg | |
Every class extends of this class
Definition at line 10 of file object.class.php.
| __construct | ( | config $ | cfg | ) | [final] |
Will call beforeInit, initilize the configuration with initCfg and call afterInit. You can overload these 3 functions on your subclasses.
| config | $cfg The initial configuration |
Definition at line 25 of file object.class.php.
| afterInit | ( | ) | [protected] |
Call just after the configuration initialisation
Reimplemented in db_row, db_rowset, db_table, db_where, form_abstract, form_captcha, form_checkbox_fields, form_date, form_file, form_fileUploaded, form_list, form_mulValue, form_range_date, form, helper_dataTable, helper_email, helper_filterTable, http_cookie, module_abstract, module_out_controller, module_scaffold_controller, response_http_html, response_http_xul, response_http, response_proxy, security_abstract, security_default, session_php, and tpl.
Definition at line 40 of file object.class.php.
| beforeInit | ( | ) | [protected] |
Call just before the configuration initialisation
Reimplemented in form_file.
Definition at line 35 of file object.class.php.
| getAttr | ( | $ | name | ) |
Get an attribute
| string | $name Attribute name |
Reimplemented in response_proxy.
Definition at line 48 of file object.class.php.
| getCfg | ( | ) |
| setAttr | ( | $ | name, | |
| $ | value | |||
| ) |
Set an attribute
| string | $name Attribute name | |
| mixed | $value Attribute value |
Reimplemented in response_proxy.
Definition at line 58 of file object.class.php.
$cfg [protected] |
Definition at line 17 of file object.class.php.
1.7.1