src/ShopBundle/objects/db/TShop.class.php
public function GetCentralShopHandlerAjaxURL($sMethod, $aParameter = array())
    {
        $oGlobal = TGlobal::instance();

        $aParameter[MTShopCentralHandler::URL_CALLING_SPOT_NAME] = $oGlobal->GetExecutingModulePointer()->sModuleSpotName;
        $aRealParams = array('module_fnc' => array($this->fieldShopCentralHandlerSpotName => 'ExecuteAjaxCall'), '_fnc' => $sMethod, MTShopCentralHandler::URL_DATA => $aParameter);
        $oActivePage = self::getActivePageService()->getActivePage();

        return $oActivePage->GetRealURLPlain($aRealParams);
    }
public function GetCentralShopHandlerAjaxURL($sMethod, $aParameter = array())
    {
        $oGlobal = TGlobal::instance();

        $aParameter[MTShopCentralHandler::URL_CALLING_SPOT_NAME] = $oGlobal->GetExecutingModulePointer()->sModuleSpotName;
        $aRealParams = array('module_fnc' => array($this->fieldShopCentralHandlerSpotName => 'ExecuteAjaxCall'), '_fnc' => $sMethod, MTShopCentralHandler::URL_DATA => $aParameter);
        $oActivePage = self::getActivePageService()->getActivePage();

        return $oActivePage->GetRealURLPlain($aRealParams);
    }
public function GetCentralShopHandlerAjaxURL ( $ sMethod , $ aParameter = array ( ) ) { $ oGlobal = TGlobal :: instance ( ) ; $ aParameter [ MTShopCentralHandler :: URL_CALLING_SPOT_NAME ] = $ oGlobal -> GetExecutingModulePointer ( ) -> sModuleSpotName ; $ aRealParams = array ( 'module_fnc' => array ( $ this -> fieldShopCentralHandlerSpotName => 'ExecuteAjaxCall' ) , '_fnc' => $ sMethod , MTShopCentralHandler :: URL_DATA => $ aParameter ) ; $ oActivePage = self :: getActivePageService ( ) -> getActivePage ( ) ; return $ oActivePage -> GetRealURLPlain ( $ aRealParams ) ; }
return ajax url to a function in the central shop handler.

@param string $sMethod
@param array  $aParameter

@return string
return ajax url to a function in the central shop handler .