8
0

change author description, refactor module

Dieser Commit ist enthalten in:
Daniel Seifert 2013-02-21 13:49:05 +00:00
Ursprung e44bc7e363
Commit 2bb5592b87
11 geänderte Dateien mit 23 neuen und 20 gelöschten Zeilen

Datei anzeigen

@ -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)
*/
/**

Datei anzeigen

@ -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();
}
}

Datei anzeigen

@ -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

Datei anzeigen

@ -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

Datei anzeigen

@ -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

Datei anzeigen

@ -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

Datei anzeigen

@ -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 {}

Datei anzeigen

@ -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;
}
}

Datei anzeigen

@ -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

Datei anzeigen

@ -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";

Datei anzeigen

@ -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";