reorder() публичный Метод

Change the ordering of the records of the table
public reorder ( string $where = '' ) : static
$where string The WHERE clause of the SQL used to fetch the order
Результат static Self, for chaining
Пример #1
0
 /**
  * Change the ordering of the records of the table
  *
  * @param   string $where The WHERE clause of the SQL used to fetch the order
  *
  * @return  static  Self, for chaining
  *
  * @throws  \UnexpectedValueException
  */
 public function reorder($where = '')
 {
     if (empty($where)) {
         $where = $this->getReorderWhere();
     }
     return parent::reorder($where);
 }