Example #1
0
 function add()
 {
     $this->usersID = $this->user->userID();
     $this->createdAt = date('Y-m-d H:i:s');
     $this->status = 'new';
     parent::add();
 }
Example #2
0
 function add()
 {
     $this->postToVar();
     if ($this->name and !$this->billingName) {
         $this->billingName = $this->name;
     }
     parent::add();
 }
Example #3
0
 function add()
 {
     $this->createdAt = date('Y-m-d H:i:s');
     //    $this->createdBy = $this->user->userID;
     if ($this->input->post('attachments')) {
         $this->attachments = serialize($this->input->post('attachments'));
     }
     parent::add();
 }
Example #4
0
 function add()
 {
     $this->passwords_match();
     parent::add();
 }