コード例 #1
0
ファイル: Dispatcher.php プロジェクト: evilscripts/gy
 public function createUrl($route_id, $id_lang = null, array $params = array(), $force_routes = false, $anchor = '', $id_shop = null)
 {
     global $link;
     if ($route_id == "agilesellers") {
         return $link->getAgileSellersLink(Tools::getValue('filter'), $id_lang, Tools::getValue('loclevel'), Tools::getValue('parentid'));
     }
     if ($route_id == "sellerlocation") {
         return $link->getSellerLocationLink(Tools::getValue('$id_location'), Tools::getValue('location_level'), NULL, $id_lang);
     }
     if ($route_id == "sellercountry") {
         return $link->getSellerCountryLink(Tools::getValue('id_seller_country'), NULL, $id_lang);
     }
     return parent::createUrl($route_id, $id_lang, $params, $force_routes, $anchor);
 }
コード例 #2
0
 public function createUrl($route_id, $id_lang = null, array $params = array(), $force_routes = false, $anchor = '', $id_shop = null)
 {
     require_once dirname(__FILE__) . '../../../modules/designerpreview/defines.inc.php';
     $params = addThemlerParam($params, $route_id);
     return parent::createUrl($route_id, $id_lang, $params, $force_routes, $anchor, $id_shop);
 }