OXID eShop CE
6.1.5
|
Public Member Functions | |
getEmos () | |
getCode ($aParams, $oSmarty) | |
Protected Member Functions | |
_getScriptPath () | |
_getNewEmosItem () | |
_convertToUtf ($sContent) | |
_prepareProductTitle ($oProduct) | |
_convProd2EmosItem ($oProduct, $sCatPath="NULL", $iQty=1) | |
_getEmosPageTitle ($aParams) | |
_getEmosCl () | |
_getEmosCatPath () | |
_getBasketProductCatPath ($oArticle) | |
_getEmosPageId ($sTplName) | |
_getTplName () | |
Protected Attributes | |
$_sEmosCatPath = null | |
$_oEmos = null | |
$_aPagesContent | |
$_aOrderStepNames | |
Private Member Functions | |
_getPagesContent () | |
_getOrderStepNames () | |
_setControllerInfo ($oEmos, $aParams, $oSmarty) | |
_setSearchInformation ($oEmos, $oSmarty) | |
_setBasketInformation ($oEmos, $oUser, $oOrder, $oBasket) | |
_setUserRegistration ($oEmos, $oUser) | |
_setBasketActionsInfo ($oEmos) | |
This class is a reference implementation of a PHP Function to include ECONDA Trackiong into a Shop-System.
The smarty tempaltes should include s tag like [{insert name="oxid_tracker" title=$template_title}]
|
protected |
Checks whether shop is in utf, if not - iconv string for using with econda json_encode
string | $sContent |
|
protected |
Converts a oxarticle object to an EMOS_Item
\OxidEsales\Eshop\Application\Model\Article | $oProduct | article to convert |
string | $sCatPath | category path |
int | $iQty | buyable amount |
|
protected |
Builds basket product category path
\OxidEsales\Eshop\Application\Model\Article | $oArticle | article to build category id |
|
protected |
Returns current view category path
|
protected |
Returns purpose of this page (current view name)
|
protected |
generates a unique id for the current page
string | $sTplName | current view template name |
|
protected |
Returns page title
array | $aParams | parameters where product info is kept |
|
protected |
Returns emos item object
|
private |
Returns each order step name in array.
|
private |
Returns page content array.
|
protected |
Returns path to econda script files
|
protected |
Returns active view template name
|
protected |
Returns formatted product title
\OxidEsales\Eshop\Application\Model\Article | $oProduct | product which title must be prepared |
|
private |
Sets basket actions (update and add) information to Emos.
\OxidEsales\Eshop\Core\Smarty\Plugin\Emos | $oEmos |
|
private |
Sets basket information to Emos. Uses username (email address) instead of customer number.
\OxidEsales\Eshop\Core\Smarty\Plugin\Emos | $oEmos | |
\OxidEsales\Eshop\Application\Model\User | $oUser | |
\OxidEsales\Eshop\Application\Model\Order | $oOrder | |
\OxidEsales\Eshop\Application\Model\Basket | $oBasket |
|
private |
|
private |
|
private |
Sets user registration action to Emos.
\OxidEsales\Eshop\Core\Smarty\Plugin\Emos | $oEmos | |
\OxidEsales\Eshop\Application\Model\User | $oUser |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosAdapter::getCode | ( | $aParams, | |
$oSmarty | |||
) |
Builds JS code for current view tracking functionality
array | $aParams | plugin parameters |
smarty | $oSmarty | template engine object |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\EmosAdapter::getEmos | ( | ) |
Returns new emos controller object
|
protected |
|
protected |
|
protected |
|
protected |