Prado\TApplicationConfiguration::loadExternalPhp PHP Метод

loadExternalPhp() защищенный Метод

Loads the external PHP array.
protected loadExternalPhp ( $includeNode, $configPath )
    protected function loadExternalPhp($includeNode, $configPath)
    {
        foreach ($includeNode as $include) {
            $when = isset($include['when']) ? true : false;
            if (!isset($include['file'])) {
                throw new TConfigurationException('appconfig_includefile_required');
            }
            $filePath = $include['file'];
            if (isset($this->_includes[$filePath])) {
                $this->_includes[$filePath] = '(' . $this->_includes[$filePath] . ') || (' . $when . ')';
            } else {
                ${$this}->_includes[$filePath] = $when;
            }
            $this->_empty = false;
        }
    }