Prado\TApplication::getGlobalState PHP Метод

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

A global value is one that is persistent across users sessions and requests.
public getGlobalState ( $key, $defaultValue = null ) : mixed
Результат mixed the global value corresponding to $key
    public function getGlobalState($key, $defaultValue = null)
    {
        return isset($this->_globals[$key]) ? $this->_globals[$key] : $defaultValue;
    }