PHP Class Phalcon\Config\Adapter\Xml

Reads xml files and converts them to Phalcon\Config objects. Given the next configuration file: /phalcon/ memory here You can read it as follows: use Phalcon\Config\Adapter\Xml; $config = new Xml("path/config.xml"); echo $config->phalcon->baseuri; echo $config->nested->config->parameter;
Inheritance: extends Phalcon\Config
Afficher le fichier Open project: phalcon/incubator Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $filePath ) Phalcon\Config\Adapter\Xml constructor

Method Details

__construct() public méthode

Phalcon\Config\Adapter\Xml constructor
public __construct ( string $filePath )
$filePath string