8
0
Bifurcation 0
GoogleServices/copy_this/modules/d3GoogleAnalytics/views/d3_oxcmp_utils_googleAnalyt...

25 lignes
976 B
PHP
Brut Vue normale Historique

2011-02-27 00:25:02 +01:00
<?php
class d3_oxcmp_utils_googleAnalytics extends d3_oxcmp_utils_googleAnalytics_parent
{
2011-02-27 21:21:16 +01:00
private $_sModId = 'd3_googleanalytics';
private $_oSet;
2011-02-27 00:25:02 +01:00
public function render()
{
$ret = parent::render();
2011-02-27 21:21:16 +01:00
// load module config
$this->_oSet = oxNew('d3_cfg_mod');
$this->_oSet->Load($this->_oSet->getModOxid($this->_sModId), true);
$this->_oParent->addTplParam('d3GoogleAnalyticsActive', $this->_oSet->getFieldData('oxactive'));
$this->_oParent->addTplParam('d3GoogleAnalyticsId', $this->_oSet->getValue('sD3GAId'));
$this->_oParent->addTplParam('d3GoogleAnalyticsAnonymizeIP', $this->_oSet->getValue('blD3GAAnonymizeIP'));
$this->_oParent->addTplParam('d3GoogleAnalyticsSendECommerce', $this->_oSet->getValue('blD3GASendECommerce'));
$this->_oParent->addTplParam('d3GoogleAnalyticsXDomain', $this->_oSet->getValue('blD3GAAllowDomainLinker'));
2011-02-27 00:25:02 +01:00
return $ret;
}
}