/** * Add part to the location nodes list * * @return void */ protected function addBaseLocation() { $this->addLocationNode('Roles', \XLite\Core\Converter::buildUrl('roles')); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('product', '', array('page' => 'tabs', 'tab_id' => 0, 'product_id' => \XLite\Core\Request::getInstance()->product_id)); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('category', null, array('parent' => $this->getCategory()->getCategoryId())); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('page'); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('profile', null, array('mode' => 'register')); }
/** * Get callback URL * * @param string $xpcBackReference Reference between X-Payments payment and X-Cart transaction * @param bool $forZeroAuth Call back for zero auth or regular order * * @return string */ public static function getCallbackUrl($xpcBackReference) { if (!$forZeroAuth) { // Order callback $url = \XLite\Core\Converter::buildUrl('callback', 'callback', array('xpcBackReference' => $xpcBackReference), \XLite::getCustomerScript()); } else { // Add new card callback $url = \XLite\Core\Converter::buildUrl('callback', 'callback', array('xpcBackReference' => $xpcBackReference, 'for_zero_auth' => '1'), \XLite::getCustomerScript()); } return \XLite::getInstance()->getShopUrl($url); }
/** * Add part to the location nodes list * * @return void */ protected function addBaseLocation() { $this->addLocationNode('Promotions', \XLite\Core\Converter::buildUrl('promotions')); $this->addLocationNode('Coupons', \XLite\Core\Converter::buildUrl('promotions', '', array('page' => \XLite\Controller\Admin\Promotions::PAGE_COUPONS))); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('add_product'); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('vat_sales_rate'); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('volume_discounts'); }
/** * JS code to redirect back to saved cards page * * @return string */ protected function getRediectCode(\XLite\Model\Profile $profile) { $url = \XLite::getInstance()->getShopUrl(\XLite\Core\Converter::buildUrl('saved_cards', '', array('profile_id' => $profile->getProfileId()), $profile->getPendingZeroAuthInterface())); return '<script type="text/javascript">' . 'window.parent.location = "' . $url . '";' . '</script>'; }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('attribute_group'); }
/** * Get create entity URL * * @return string */ protected function getCreateURL() { return \XLite\Core\Converter::buildUrl('membership'); }