replace() public method

public replace ( $table, $columns, $search = null, $replace = null, $where = null )
Beispiel #1
0
 /**
  * @param $table
  * @param $columns
  * @param null $search
  * @param null $replace
  * @param null $where
  * @return bool|int
  */
 public function replace($table, $columns, $search = null, $replace = null, $where = null)
 {
     return parent::replace($this->prefix . $table, $columns, $search, $replace, $where);
 }
Beispiel #2
0
 /**
  * @param      $table
  * @param      $columns
  * @param null $search
  * @param null $replace
  * @param null $where
  * @return int
  */
 public function replace($table, $columns, $search = NULL, $replace = NULL, $where = NULL)
 {
     return $this->_writer->replace($table, $columns, $search, $replace, $where);
 }