Every class extends of this class
Definition at line 10 of file object.class.php.
◆ __construct()
Will call beforeInit, initilize the configuration with initCfg and call afterInit. You can overload these 3 functions on your subclasses.
- Parameters
-
config | $cfg | The initial configuration |
Definition at line 25 of file object.class.php.
◆ 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.
◆ 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.
◆ setAttr()
setAttr |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
Set an attribute
- Parameters
-
string | $name | Attribute name |
mixed | $value | Attribute value |
Definition at line 58 of file object.class.php.
◆ $cfg
The documentation for this class was generated from the following file: