Example #1
0
 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();
             }
         }
     }
 }
Example #2
0
 public function GetGETValue($name)
 {
     return $this->superGlobals->GetGetValue($name);
 }
Example #3
0
<?php

require_once 'SuperGlobals.php';
header('Content-Type: text/plain');
SuperGlobals::printServerVar(array('REMOTE_ADDR', 'REMOTE_HOST', 'HTTP_VIA', 'HTTP_X_FORWARDED_FOR'));