src/ImageHotspotBundle/objects/db/TPkgImageHotspotItem.class.php
public function GetAjaxLink($sViewName = 'standard', $sType = 'Core', $aParameter = array())
    {
        $oGlobal = TGlobal::instance();
        $oRunningModule = &$oGlobal->GetExecutingModulePointer();
        $aParameter['id'] = $this->id;
        $aParameter['sViewName'] = $sViewName;
        $aParameter['sType'] = $sType;
        $aData = array(
            TdbPkgImageHotspotItem::GetURLParameterBaseForActiveSpot() => $aParameter,
            'module_fnc' => array($oRunningModule->sModuleSpotName => 'ExecuteAjaxCall'),
            '_fnc' => 'AjaxRenderHotspotImage',
        );

        return $this->getActivePageService()->getLinkToActivePageRelative($aData);
    }
public function GetAjaxLink($sViewName = 'standard', $sType = 'Core', $aParameter = array())
    {
        $oGlobal = TGlobal::instance();
        $oRunningModule = &$oGlobal->GetExecutingModulePointer();
        $aParameter['id'] = $this->id;
        $aParameter['sViewName'] = $sViewName;
        $aParameter['sType'] = $sType;
        $aData = array(
            TdbPkgImageHotspotItem::GetURLParameterBaseForActiveSpot() => $aParameter,
            'module_fnc' => array($oRunningModule->sModuleSpotName => 'ExecuteAjaxCall'),
            '_fnc' => 'AjaxRenderHotspotImage',
        );

        return $this->getActivePageService()->getLinkToActivePageRelative($aData);
    }
public function GetAjaxLink ( $ sViewName = 'standard' , $ sType = 'Core' , $ aParameter = array ( ) ) { $ oGlobal = TGlobal :: instance ( ) ; $ oRunningModule = & $ oGlobal -> GetExecutingModulePointer ( ) ; $ aParameter [ 'id' ] = $ this -> id ; $ aParameter [ 'sViewName' ] = $ sViewName ; $ aParameter [ 'sType' ] = $ sType ; $ aData = array ( TdbPkgImageHotspotItem :: GetURLParameterBaseForActiveSpot ( ) => $ aParameter , 'module_fnc' => array ( $ oRunningModule -> sModuleSpotName => 'ExecuteAjaxCall' ) , '_fnc' => 'AjaxRenderHotspotImage' , ) ; return $ this -> getActivePageService ( ) -> getLinkToActivePageRelative ( $ aData ) ; }
return the url request needed to fetch the spot using ajax.
return the url request needed to fetch the spot using ajax .