public function actionGet_images() { $product_id = $_POST['product_id']; $product = new Backend_product(); $data['images'] = $product->get_images_product($product_id); $this->renderPartial("//backend/product/getimages", $data); }