示例#1
0
 /**
  * Called before the includeCompiledFile()
  *
  * Here we save all passed request params into the session.
  * It allows us to refresh pages without restore their default view
  *
  * @return void
  */
 protected function initView()
 {
     parent::initView();
     if ($this->checkRequestParams()) {
         \XLite\Core\Session::getInstance()->set($this->getSessionCell(), $this->getRequestParamsHash());
     }
 }