/** * IS: - * FS: Mengirimkan ke viewer: ajax, pageTitle, sectionTitle,sectionContent * Desc: Fungsi untuk menampilkan informasi to buy lebih detail */ public function tobuyAction() { $this->_helper->layout->setLayout('one-column'); // untuk menghitung page view $this->view->pageViewer = $this->countView(); if ($this->_request->isXmlHttpRequest()) { $this->_helper->layout->disableLayout(); $this->view->ajax = true; } // Model $destDescDb = new Model_DbTable_DestinationDescription(); // Data $toBuy = $destDescDb->getWhatToBuyByIdLang($this->_destId, $this->_languageId); $toBuy = $this->_replaceImageUrl($toBuy); // Breadcrumb $pageTitle = $this->view->translate('id_poi_buy'); $this->_generateDescBreadcrumb($pageTitle); // Passing ke view $this->view->pageTitle = $this->_destTitle . ' - ' . $pageTitle; $this->view->sectionTitle = $pageTitle; $this->view->sectionContent = $this->view->HtmlDecode($toBuy); if ($this->_request->isXmlHttpRequest()) { $this->render('detail'); } else { $this->view->tab = 'tobuy'; } $this->render('index'); //$this->render('destination'); }