예제 #1
0
파일: CakeAdapter.php 프로젝트: lhas/pep
 /**
  * Inserts data into a table.
  *
  * @param Table $table where to insert data
  * @param array $row
  * @return void
  */
 public function insert(Table $table, $row)
 {
     $this->adapter->insert($table, $row);
 }
예제 #2
0
 /**
  * Inserts data into the table
  *
  * @param Table $table where to insert data
  * @param array $columns column names
  * @param $data
  */
 public function insert(Table $table, $columns, $data)
 {
     return $this->adapter->insert($table, $columns, $data);
 }