// Reset original static state of ignore_constants
self::
setIgnoreConstants($staticIgnoreConstants);
if (null ===
$config) { // decode failed
throw new Zend_Config_Exception("Error parsing YAML data"
);
} if (null ===
$section) { $dataArray = array
();
foreach ($config as $sectionName =>
$sectionData) { $dataArray[$sectionName] =
$this->
_processExtends($config,
$sectionName);
} parent::
__construct($dataArray,
$allowModifications);
} elseif (is_array($section)) { $dataArray = array
();
foreach ($section as $sectionName) { if (!
isset($config[$sectionName])) { throw new Zend_Config_Exception(sprintf( 'Section "%s" cannot be found',
implode(' ',
(array)$section) ));
}