source/Application/Component/Locator.php
public function setLocatorData($oCurrArticle, $oLocatorTarget)
    {
        $sLocfnc = "_set{$this->_sType}LocatorData";
        $this->$sLocfnc($oLocatorTarget, $oCurrArticle);

        // passing list type to view
        $oLocatorTarget->setListType($this->_sType);
    }
public function setLocatorData($oCurrArticle, $oLocatorTarget)
    {
        $sLocfnc = "_set{$this->_sType}LocatorData";
        $this->$sLocfnc($oLocatorTarget, $oCurrArticle);

        // passing list type to view
        $oLocatorTarget->setListType($this->_sType);
    }
public function setLocatorData ( $ oCurrArticle , $ oLocatorTarget ) { $ sLocfnc = "_set{$this->_sType}LocatorData" ; $ this -> $ sLocfnc ( $ oLocatorTarget , $ oCurrArticle ) ; // passing list type to view $ oLocatorTarget -> setListType ( $ this -> _sType ) ; }
Executes locator method according locator type

@param \OxidEsales\Eshop\Application\Model\Article                 $oCurrArticle   current article
@param \OxidEsales\Eshop\Application\Controller\FrontendController $oLocatorTarget FrontendController object
Executes locator method according locator type