GoogleServices/copy_this/modules/d3GoogleAnalytics/views/d3_oxcmp_utils_googleanalytics.php

22 lines
600 B
PHP
Raw Normal View History

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);
2011-03-20 02:51:05 +01:00
$this->_oParent->addTplParam('blD3GoogleAnalyticsActive', $this->_oSet->getFieldData('oxactive'));
$this->_oParent->addTplParam('oD3GASettings', $this->_oSet);
2011-02-27 00:25:02 +01:00
return $ret;
}
}