PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Available Methods

__construct($yaml, $section = null, $options = false);

Constructor. $yaml should refer to a valid filesystem location containing a YAML configuration file. $section, if specified, indicates a specific section of the configuration file to use. $options is discussed in the options section.

decode($yaml);

Parses a YAML string into a PHP array.

setIgnoreConstants($flag);

This static function may be used to globally override the default settings for how constants found in YAML strings are handled. By default, constant names are replaced with the appropriate constant values; passing a boolean true value to this method will override that behavior. (You can override it per-instance via the ignore_constants option as well.)

ignoreConstants();

This static method gives you the current setting for the ignore_constants flag.

Zend Framework