Prado\Web\UI\TCachePageStatePersister::load PHP Метод

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

Loads page state from cache.
public load ( ) : mixed
Результат mixed the restored state
    public function load()
    {
        if (($timestamp = TPageStateFormatter::unserialize($this->_page, $this->_page->getRequestClientState())) !== null) {
            $key = $this->calculateKey($timestamp);
            if (($data = $this->getCache()->get($key)) !== false) {
                return $data;
            }
        }
        throw new THttpException(400, 'cachepagestatepersister_pagestate_corrupted');
    }