コード例 #1
0
ファイル: UpdateBuilder.php プロジェクト: alcyz/alcys-orm
 /**
  * Fill the property table in a well format for the process method.
  *
  * @param TableInterface $table The validated table name.
  *
  * @throws \Exception Statements table method have to be invoked, otherwise the builder can not build a valid query.
  */
 private function _prepareTable(TableInterface $table)
 {
     $this->table = ' ' . $table->getTableName() . ' ';
 }
コード例 #2
0
ファイル: InsertBuilder.php プロジェクト: alcyz/alcys-orm
 /**
  * Prepare the table property to set it to the query.
  *
  * @param TableInterface $table The table object with filled properties.
  *
  * @return $this The same instance to concatenate methods.
  */
 private function _prepareTable(TableInterface $table)
 {
     $this->table = $table->getTableName();
     return $this;
 }