function process() { $this->sessionEx = new org_glizy_SessionEx($this->getId()); $this->_command = org_glizy_Request::get($this->getId() . '_command'); $this->rememberMode = $this->getAttribute('rememberMode') == 'persistent' ? GLZ_SESSION_EX_PERSISTENT : GLZ_SESSION_EX_VOLATILE; if ($this->_command == 'RESET') { $this->sessionEx->remove('filters_filters'); } else { $name = $this->getId() . '_filters'; $defValue = ''; if ($this->getAttribute('rememberValues')) { $defValue = $this->sessionEx->get($name); } $this->filters = __Request::get($name, $defValue); $this->sessionEx->set($name, $this->filters, $this->rememberMode); $this->filters = json_decode($this->filters); } if (!$this->filters) { $this->filters = array(); } parent::process(); }
public function process() { parent::process(); $this->changePageTitle(); }