Пример #1
0
 public function __construct()
 {
     parent::__construct();
     if ($this->birthday !== NULL) {
         $this->birthday_unix = strtotime($this->birthday);
     }
     if ($this->registered !== NULL) {
         $this->registered_unix = strtotime($this->registered);
     }
     if ($this->activated !== NULL) {
         $this->activated_unix = strtotime($this->activated);
     }
     if ($this->deactivated !== NULL) {
         $this->deactivated_unix = strtotime($this->deactivated);
     }
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
 }