예제 #1
0
 /**
  * @return CActiveDataProvider
  */
 public function getOrderedProducts()
 {
     $products = new OrderProduct();
     $products->order_id = $this->id;
     return $products->search();
 }