Example #1
0
 /**
  * Create a new record for the object in the database
  *
  * @return void
  */
 public function create()
 {
     try {
         parent::create();
         $this->db->insert("documents_email", array("id" => $this->model->getId()));
     } catch (Exception $e) {
         throw $e;
     }
 }