Prado\Web\UI\TThemeManager::getBasePath PHP Метод

getBasePath() публичный Метод

public getBasePath ( ) : string
Результат string the base path for all themes. It is returned as an absolute path.
    public function getBasePath()
    {
        if ($this->_basePath === null) {
            $this->_basePath = dirname($this->getRequest()->getApplicationFilePath()) . DIRECTORY_SEPARATOR . self::DEFAULT_BASEPATH;
            if (($basePath = realpath($this->_basePath)) === false || !is_dir($basePath)) {
                throw new TConfigurationException('thememanager_basepath_invalid2', $this->_basePath);
            }
            $this->_basePath = $basePath;
        }
        return $this->_basePath;
    }