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; }
/** * 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; } }
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; }