public function getPageHTML() { // page object include_once 'Services/Payment/classes/class.ilShopPage.php'; include_once 'Services/Payment/classes/class.ilShopPageGUI.php'; // if page does not exist, return nothing if (!ilShopPage::_exists('shop', self::SHOP_PAGE_EDITOR_PAGE_ID)) { return ''; } include_once 'Services/Style/classes/class.ilObjStyleSheet.php'; $this->tpl->setVariable('LOCATION_CONTENT_STYLESHEET', ilObjStyleSheet::getContentStylePath(0)); // get page object $page_gui = new ilShopPageGUI(self::SHOP_PAGE_EDITOR_PAGE_ID); return $page_gui->showPage(); }
private function __getAbstractHTML($a_payment_object_id) { // page object include_once 'Services/Payment/classes/class.ilShopPage.php'; include_once 'Services/Payment/classes/class.ilShopPageGUI.php'; // if page does not exist, return nothing if (!ilShopPage::_exists('shop', $a_payment_object_id)) { return ''; } include_once 'Services/Style/classes/class.ilObjStyleSheet.php'; // get page object $page_gui = new ilShopPageGUI($a_payment_object_id); return $page_gui->showPage(); }