コード例 #1
0
ファイル: quick_filter.php プロジェクト: howareyoucolin/demo
 public function ProcessMessages()
 {
     if ($this->superGlobals->IsGetValueSet('quick-filter')) {
         $this->SetValue($this->superGlobals->GetGetValue('quick-filter'));
         $this->superGlobals->SetSessionVariable($this->name . 'quick-filter', $this->GetValue());
         $this->ApplyFilter();
     } else {
         if ($this->superGlobals->IsGetValueSet('quick-filter-reset')) {
             $this->SetValue(null);
             $this->superGlobals->UnSetSessionVariable($this->name . 'quick-filter');
         } else {
             if ($this->superGlobals->IsSessionVariableSet($this->name . 'quick-filter')) {
                 $this->SetValue($this->superGlobals->GetSessionVariable($this->name . 'quick-filter'));
                 $this->ApplyFilter();
             }
         }
     }
 }
コード例 #2
0
ファイル: application.php プロジェクト: howareyoucolin/demo
 public function IsGETValueSet($name)
 {
     return $this->superGlobals->IsGetValueSet($name);
 }