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
显示文件 Open project: phalcon/incubator Class Usage Examples

Public Methods

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

Method Details

__construct() public method

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