Prado\Web\UI\TThemeManager::setBasePath PHP Method

setBasePath() public method

public setBasePath ( $value )
    public function setBasePath($value)
    {
        if ($this->_initialized) {
            throw new TInvalidOperationException('thememanager_basepath_unchangeable');
        } else {
            $this->_basePath = Prado::getPathOfNamespace($value);
            if ($this->_basePath === null || !is_dir($this->_basePath)) {
                throw new TInvalidDataValueException('thememanager_basepath_invalid', $value);
            }
        }
    }