function add() { $this->usersID = $this->user->userID(); $this->createdAt = date('Y-m-d H:i:s'); $this->status = 'new'; parent::add(); }
function add() { $this->postToVar(); if ($this->name and !$this->billingName) { $this->billingName = $this->name; } parent::add(); }
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(); }
function add() { $this->passwords_match(); parent::add(); }