예제 #1
0
파일: m_orders.php 프로젝트: nqpp/dstore
 function add()
 {
     $this->usersID = $this->user->userID();
     $this->createdAt = date('Y-m-d H:i:s');
     $this->status = 'new';
     parent::add();
 }
예제 #2
0
파일: m_clients.php 프로젝트: nqpp/dstore
 function add()
 {
     $this->postToVar();
     if ($this->name and !$this->billingName) {
         $this->billingName = $this->name;
     }
     parent::add();
 }
예제 #3
0
파일: m_emails.php 프로젝트: nqpp/dstore
 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();
 }
예제 #4
0
파일: m_users.php 프로젝트: nqpp/dstore
 function add()
 {
     $this->passwords_match();
     parent::add();
 }