Configuration Interface. More...
Public Member Functions | |
__construct ($file, $section, $cache_dir=false) | |
Constructor. | |
__get ($key) | |
Parameter getter. |
Configuration Interface.
Class to be implemented by configuration classes in order to be used along with Axiom class
Definition at line 21 of file axConfiguration.class.php.
axConfiguration::__construct | ( | $ | file, |
$ | section, | ||
$ | cache_dir = false |
||
) |
Constructor.
string | $file | The configuration file (or URI) |
string | $section | The configuration section to be used |
string | $cache_dir | [optional] [default false ] The cache directory for the configuration parameters or false if you don't want to use cache |
Reimplemented in axIniConfiguration.
axConfiguration::__get | ( | $ | key | ) |
Parameter getter.
All configuration item should be accessible through the ->
operator
string | $key | The parameter's name |
Reimplemented in axIniConfiguration.