/**
  * Appelle de la fonction Insert Native
  * Recupere en plus le lastInsertId
  * @return int 
  *
  **/
 public function insert($data)
 {
     parent::insert($data);
     return $this->dbh->lastInsertId();
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->setTable('tbproduct');
 }
 public function __construct()
 {
     parent::__construct();
     $this->setTable('tbfigurecreated');
 }