change author description, refactor module
Dieser Commit ist enthalten in:
Ursprung
e44bc7e363
Commit
2bb5592b87
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_cfg_googleanalytics extends d3_cfg_mod_
|
||||
@ -25,8 +25,8 @@ class d3_cfg_googleanalytics extends d3_cfg_mod_
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
$this->_aViewData['sListClass'] = 'd3_cfg_googleanalytics_list';
|
||||
$this->_aViewData['sMainClass'] = 'd3_cfg_googleanalytics_main';
|
||||
$this->addTplParam('sListClass', 'd3_cfg_googleanalytics_list');
|
||||
$this->addTplParam('sMainClass', 'd3_cfg_googleanalytics_main');
|
||||
return parent::render();
|
||||
}
|
||||
}
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_cfg_googleanalytics_campaigns extends d3_cfg_mod_main
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_cfg_googleanalytics_licence extends d3_cfg_mod_licence
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_cfg_googleanalytics_list extends d3_cfg_mod_list
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_cfg_googleanalytics_main extends d3_cfg_mod_main
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_oxcmp_utils_googleAnalytics_parent extends oxcmp_utils {}
|
||||
|
@ -15,15 +15,13 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_oxcmp_utils_googleAnalytics extends d3_oxcmp_utils_googleAnalytics_parent
|
||||
{
|
||||
private $_sModId = 'd3_googleanalytics';
|
||||
|
||||
private $_oSet;
|
||||
|
||||
/**
|
||||
* @return null
|
||||
*/
|
||||
@ -31,14 +29,19 @@ class d3_oxcmp_utils_googleAnalytics extends d3_oxcmp_utils_googleAnalytics_pare
|
||||
{
|
||||
$ret = parent::render();
|
||||
|
||||
// load module config
|
||||
$this->_oSet = d3_cfg_mod::get($this->_sModId);
|
||||
|
||||
/** @var $oParentView oxView */
|
||||
$oParentView = $this->getParent();
|
||||
$oParentView->addTplParam('blD3GoogleAnalyticsActive', $this->_oSet->getFieldData('oxactive'));
|
||||
$oParentView->addTplParam('oD3GASettings', $this->_oSet);
|
||||
$oParentView->addTplParam('blD3GoogleAnalyticsActive', d3_cfg_mod::get($this->d3getModId())->isActive());
|
||||
$oParentView->addTplParam('oD3GASettings', d3_cfg_mod::get($this->d3getModId()));
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function d3getModId()
|
||||
{
|
||||
return $this->_sModId;
|
||||
}
|
||||
}
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
class d3_oxorder_googleanalytics extends d3_oxorder_googleanalytics_parent
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
$sLangName = "Deutsch";
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @link http://www.oxidmodule.com
|
||||
* @link http://www.shopmodule.com
|
||||
* @copyright (C) D3 Data Development
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
*/
|
||||
|
||||
$sLangName = "English";
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren