Exemple #1
0
 protected function initial_data()
 {
     $this->user_id = null;
     $this->defunct = self::DEFUNCT_NO;
     $this->time = e::format_time();
     $this->importance = self::TYPE_NORMAL;
 }
Exemple #2
0
 protected function initial_data()
 {
     $this->new_mail = self::MAIL_NEW;
     $this->in_date = e::format_time();
     $this->reply = 0;
     $this->defunct = self::DEFUNCT_NO;
 }
Exemple #3
0
 protected function initial_data()
 {
     $this->time = e::format_time();
     $this->status = 0;
     $this->ip = Request::$client_ip;
 }
 protected function initial_data()
 {
     $this->time = 0;
     $this->memory = 0;
     $this->in_date = e::format_time();
     $this->result = self::STATUS_PENDING;
     $this->valid = 1;
     $this->num = -1;
     $this->pass_rate = 0;
 }
Exemple #5
0
 protected function initial_data()
 {
     $now = e::format_time();
     $this->reg_time = $now;
     $this->solved = 0;
     $this->submit = 0;
     $this->volume = 1;
     $this->language = 1;
     $this->accesstime = $now;
     $this->locale = I18n::default_language();
     $this->ip = Request::$client_ip;
     $this->defunct = self::DEFUNCT_NO;
 }
 protected function initial_data()
 {
     $this->in_date = e::format_time();
 }