Exemplo n.º 1
0
 protected function __construct($dbh, $typeFilter, $loghostFilter, $networkFilter, $serviceFilter, $countFilter, $limitFilter)
 {
     parent::__construct($dbh);
     $this->tTypeFilterEnabled = $typeFilter;
     $this->tLoghostFilterEnabled = $loghostFilter;
     $this->tNetworkFilterEnabled = $networkFilter;
     $this->tServiceFilterEnabled = $serviceFilter;
     $this->tCountFilterEnabled = $countFilter;
     $this->tLimitFilterEnabled = $limitFilter;
     self::initSession(self::SESSION_TYPEFILTER, $this->tTypeFilterEnabled);
     self::initSession(self::SESSION_LOGHOSTFILTER, $this->tLoghostFilterEnabled);
     self::initSession(self::SESSION_NETWORKFILTER, $this->tNetworkFilterEnabled);
     self::initSession(self::SESSION_SERVICEFILTER, $this->tServiceFilterEnabled);
     self::initSession(self::SESSION_COUNTFILTER, $this->tCountFilterEnabled);
     self::initSession(self::SESSION_LIMITFILTER, $this->tLimitFilterEnabled);
 }
Exemplo n.º 2
0
 protected function __construct($dbh)
 {
     parent::__construct($dbh);
 }