예제 #1
0
파일: CRUD.php 프로젝트: cal127/phpcrud
 public function order($order)
 {
     $this->orm->resetOrder();
     foreach ($order as $o) {
         $this->orm = $this->orm->{'order_by_' . $o[1]}($o[0]);
     }
     $this->order = $order;
     return $this;
 }