Ejemplo n.º 1
0
 /**
  * Productcat::getSpec()
  * 
  * get all the productCategory's specification (group include)
  * @return void
  */
 function getSpec()
 {
     $productCatSpec = new productcatspec();
     $productCatSpec->where("productcat_id", $this->id);
     $productCatSpec->order_by("position", 'asc');
     $productCatSpec->include_related("productgenspec", "*", TRUE, TRUE);
     $productCatSpec->get_iterated();
     return $productCatSpec;
 }