Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public function process()
 {
     parent::process();
     $this->changePageTitle();
 }