Пример #1
0
 /**
  * Returns product's subpages.
  *
  * @return array
  */
 public function getPages()
 {
     $product_pages_model = new shopProductPagesModel();
     return $product_pages_model->getPages($this->getId(), true);
 }
Пример #2
0
 public function getPages($product_id)
 {
     return $this->product_pages_model->getPages($product_id);
 }