Esempio n. 1
0
 public function addemail(Email $obj)
 {
     $data = $obj->getdata();
     $sqlEx = $this->sql->insert();
     $sqlEx->into($this->table);
     $sqlEx->values($data);
     $pst = $this->sql->prepareStatementForSqlObject($sqlEx);
     $result = $pst->execute();
     if ($result != null) {
         return TRUE;
     } else {
         return FALSE;
     }
 }