Axiom (v1.2.0)

A lightweight PHP framework
axConfiguration Class Reference

Configuration Interface. More...

+ Inheritance diagram for axConfiguration:

Public Member Functions

 __construct ($file, $section, $cache_dir=false)
 Constructor.
 __get ($key)
 Parameter getter.

Detailed Description

Configuration Interface.

Class to be implemented by configuration classes in order to be used along with Axiom class

See also:
Axiom::configuration()
Author:
Delespierre
Since:
1.2.0
License:
http://www.gnu.org/licenses/lgpl.html Lesser General Public Licence version 3

Definition at line 21 of file axConfiguration.class.php.


Constructor & Destructor Documentation

axConfiguration::__construct ( file,
section,
cache_dir = false 
)

Constructor.

Parameters:
string$fileThe configuration file (or URI)
string$sectionThe 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.


Member Function Documentation

Parameter getter.

All configuration item should be accessible through the -> operator

Parameters:
string$keyThe parameter's name
Returns:
axConfiguration

Reimplemented in axIniConfiguration.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables