source/Core/Smarty/Plugin/EmosAdapter.php
public function getCode($aParams, $oSmarty)
    {
        $oEmos = $this->getEmos();

        $this->_setControllerInfo($oEmos, $aParams, $oSmarty);

        $this->_setBasketActionsInfo($oEmos);

        return "\n" . $oEmos->toString();
    }
public function getCode($aParams, $oSmarty)
    {
        $oEmos = $this->getEmos();

        $this->_setControllerInfo($oEmos, $aParams, $oSmarty);

        $this->_setBasketActionsInfo($oEmos);

        return "\n" . $oEmos->toString();
    }
public function getCode ( $ aParams , $ oSmarty ) { $ oEmos = $ this -> getEmos ( ) ; $ this -> _setControllerInfo ( $ oEmos , $ aParams , $ oSmarty ) ; $ this -> _setBasketActionsInfo ( $ oEmos ) ; return "\n" . $ oEmos -> toString ( ) ; }
Builds JS code for current view tracking functionality

@param array $aParams plugin parameters
@param smarty $oSmarty template engine object

@return string
Builds JS code for current view tracking functionality