Beispiel #1
0
 public function init()
 {
     parent::init();
     if ($this->isNewRecord) {
         $this->ip = HU::getUserIp();
     }
 }
Beispiel #2
0
 public function init()
 {
     parent::init();
     if ($this->isNewRecord) {
         $this->create_date = time();
         $this->ip = HU::getUserIp();
     }
 }
Beispiel #3
0
 public function init()
 {
     parent::init();
     if ($this->isNewRecord) {
         $this->create_date = time();
         $this->ip = HU::getUserIp();
         $this->is_send = 0;
         $this->status = self::STATUS_NEW;
     }
 }
Beispiel #4
0
 public function init()
 {
     parent::init();
     $this->ask_date = time();
     $this->ip = HU::getUserIp();
 }