Ejemplo n.º 1
0
 function __construct(IAbs_Collection $container, $config = false, $data = false, $verified = false)
 {
     $return = parent::__construct($container, $config, $data, $verified);
     $this->active = time() < $this->time + $this->till;
     $this->ip_string = long2ip($this->ip);
     return $return;
 }
Ejemplo n.º 2
0
 /**
  * construct
  */
 function __construct($container, $config = false, $data = false, $verified = false)
 {
     return parent::__construct($container, $config, $data, $verified);
     // payd for admin
     if ($this->level >= $container->get_level_by_name('admin')) {
         $this->payd_user = true;
         $this->payd_till = time() + 10000;
     }
 }
Ejemplo n.º 3
0
 function __construct(IAbs_Collection $container, $config = false, $data = false, $verified = false)
 {
     $return = parent::__construct($container, $config, $data, $verified);
     $this->_is_cached = !empty($this->expire_time);
     return $return;
 }