OXID eShop CE
6.1.5
|
Public Member Functions | |
__construct ($sPathToFile="", $sScriptFileName="emos2.js") | |
prettyPrint () | |
toString () | |
addContent ($sContent) | |
addOrderProcess ($sProcessStep) | |
addSiteId ($sIiteId) | |
addLangId ($sLangId) | |
addCountryId ($sCountryId) | |
addPageId ($sPageId) | |
addSearch ($sQueryString, $iNumberOfHits) | |
addRegister ($sUserId, $sResult) | |
addLogin ($sUserId, $sResult) | |
addContact ($sContactType) | |
addDownload ($sDownloadLabel) | |
addEmosBasketPageArray ($aBasket) | |
addDetailView ($oItem) | |
removeFromBasket ($oItem) | |
addToBasket ($oItem) | |
addEmosBillingPageArray ($sBillingId="", $sCustomerNumber="", $iTotal=0, $sCountry="", $sCip="", $sCity="") | |
_prepareScript () | |
Protected Member Functions | |
_setEmosBillingArray ($sBillingId="", $sCustomerNumber="", $iTotal=0, $sCountry="", $sCip="", $sCity="") | |
_setEmosECPageArray ($oItem, $sEvent) | |
_emos_ItemFormat ($oItem) | |
_emos_DataFormat ($sStr) | |
_addJsFormat ($sVarName, $mContents) | |
_jsEncode ($mContents) | |
Protected Attributes | |
$_sIncScript = "" | |
$_sPrescript = "" | |
$_sPostscript = "" | |
$_sPathToFile = "" | |
$_sScriptFileName = "emos2.js" | |
$_content = null | |
$_orderProcess = null | |
$_siteid = null | |
$_langid = null | |
$_countryid = null | |
$_pageid = null | |
$_searchQuery = null | |
$_searchNumberOfHits = null | |
$_registerUser = null | |
$_registerResult = null | |
$_loginUser = null | |
$_loginResult = null | |
$_scontact = null | |
$_download = null | |
$_billing = null | |
$_ecEvent = null | |
$_br = "" | |
$_tab = "" | |
PHP Helper Class to construct a ECONDA Monitor statement for the later inclusion in a HTML/PHP Page.
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::__construct | ( | $sPathToFile = "" , |
|
$sScriptFileName = "emos2.js" |
|||
) |
Constructor Sets the path to the emos2.js js-bib and prepares the later calls
string | $sPathToFile | The path to the js-bib (/opt/myjs) |
string | $sScriptFileName | If we want to have annother Filename than emos2.js you can set it here |
|
protected |
Formats a line in JS format
string | $sVarName | Variable name |
mixed | $mContents | Variable value |
|
protected |
formats data/values/params by eliminating named entities and xml-entities
string | $sStr | data input to format |
|
protected |
formats data/values/params by eliminating named entities and xml-entities
\OxidEsales\Eshop\Core\Smarty\Plugin\EmosItem | $oItem | item to format its parameters |
|
protected |
Encode contents $mContents to string for JS export
mixed | $mContents | Input contents |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::_prepareScript | ( | ) |
formats up the connector script in a Econda ver 2 JS format
|
protected |
set a emosBillingArray
string | $sBillingId | billing id |
string | $sCustomerNumber | customer number |
int | $iTotal | total number |
string | $sCountry | customer country title |
string | $sCip | customer ip |
string | $sCity | customer city title |
|
protected |
constructs a emosECPageArray of given $sEvent type
\OxidEsales\Eshop\Core\Smarty\Plugin\EmosItem | $oItem | an instance of class EMOS_Item |
string | $sEvent | Type of this event ("view","c_rmv","c_add") |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addContact | ( | $sContactType | ) |
sets contact tracking
string | $sContactType | contant type |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addContent | ( | $sContent | ) |
sets content tracking
string | $sContent | content to add |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addCountryId | ( | $sCountryId | ) |
sets country tracking
string | $sCountryId | country id to add |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addDetailView | ( | $oItem | ) |
adds a detailView to the preScript
\OxidEsales\Eshop\Core\Smarty\Plugin\EmosItem | $oItem | item to add to view |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addDownload | ( | $sDownloadLabel | ) |
sets download tracking
string | $sDownloadLabel | download label |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addEmosBasketPageArray | ( | $aBasket | ) |
adds a emosBasket Page Array to the preScript
array | $aBasket | basket items |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addEmosBillingPageArray | ( | $sBillingId = "" , |
|
$sCustomerNumber = "" , |
|||
$iTotal = 0 , |
|||
$sCountry = "" , |
|||
$sCip = "" , |
|||
$sCity = "" |
|||
) |
constructs a emosBillingPageArray of given $sEvent type
string | $sBillingId | billing id |
string | $sCustomerNumber | customer number |
int | $iTotal | total number |
string | $sCountry | customer country title |
string | $sCip | customer ip |
string | $sCity | customer city title |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addLangId | ( | $sLangId | ) |
sets language tracking
string | $sLangId | language id to add |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addLogin | ( | $sUserId, | |
$sResult | |||
) |
sets login tracking The userid gets a md5() to fullfilll german datenschutzgesetz
string | $sUserId | user id |
string | $sResult | login result |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addOrderProcess | ( | $sProcessStep | ) |
sets orderprocess tracking
string | $sProcessStep | process step to add |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addPageId | ( | $sPageId | ) |
adds tracker Page ID
string | $sPageId | page id to add |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addRegister | ( | $sUserId, | |
$sResult | |||
) |
sets registration tracking The userid gets a md5() to fullfilll german datenschutzgesetz
string | $sUserId | user id |
string | $sResult | registration result |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addSearch | ( | $sQueryString, | |
$iNumberOfHits | |||
) |
sets search tracking
string | $sQueryString | query string |
int | $iNumberOfHits | number of hits |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addSiteId | ( | $sIiteId | ) |
sets siteid tracking
string | $sIiteId | site id to add |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::addToBasket | ( | $oItem | ) |
adds a addToBasket to the preScript
\OxidEsales\Eshop\Core\Smarty\Plugin\EmosItem | $oItem | item to add to basket |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::prettyPrint | ( | ) |
switch on pretty printing of generated code. If not called, the output will be in one line of html.
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::removeFromBasket | ( | $oItem | ) |
adds a removeFromBasket to the preScript
\OxidEsales\Eshop\Core\Smarty\Plugin\EmosItem | $oItem | item to remove from basket |
OxidEsales\EshopCommunity\Core\Smarty\Plugin\Emos::toString | ( | ) |
returns the whole statement
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |