change author description, refactor module
This commit is contained in:
parent
e44bc7e363
commit
2bb5592b87
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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_
|
class d3_cfg_googleanalytics extends d3_cfg_mod_
|
||||||
@ -25,8 +25,8 @@ class d3_cfg_googleanalytics extends d3_cfg_mod_
|
|||||||
*/
|
*/
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
$this->_aViewData['sListClass'] = 'd3_cfg_googleanalytics_list';
|
$this->addTplParam('sListClass', 'd3_cfg_googleanalytics_list');
|
||||||
$this->_aViewData['sMainClass'] = 'd3_cfg_googleanalytics_main';
|
$this->addTplParam('sMainClass', 'd3_cfg_googleanalytics_main');
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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
|
class d3_cfg_googleanalytics_campaigns extends d3_cfg_mod_main
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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
|
class d3_cfg_googleanalytics_licence extends d3_cfg_mod_licence
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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
|
class d3_cfg_googleanalytics_list extends d3_cfg_mod_list
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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
|
class d3_cfg_googleanalytics_main extends d3_cfg_mod_main
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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 {}
|
class d3_oxcmp_utils_googleAnalytics_parent extends oxcmp_utils {}
|
||||||
|
@ -15,15 +15,13 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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
|
class d3_oxcmp_utils_googleAnalytics extends d3_oxcmp_utils_googleAnalytics_parent
|
||||||
{
|
{
|
||||||
private $_sModId = 'd3_googleanalytics';
|
private $_sModId = 'd3_googleanalytics';
|
||||||
|
|
||||||
private $_oSet;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return null
|
* @return null
|
||||||
*/
|
*/
|
||||||
@ -31,14 +29,19 @@ class d3_oxcmp_utils_googleAnalytics extends d3_oxcmp_utils_googleAnalytics_pare
|
|||||||
{
|
{
|
||||||
$ret = parent::render();
|
$ret = parent::render();
|
||||||
|
|
||||||
// load module config
|
|
||||||
$this->_oSet = d3_cfg_mod::get($this->_sModId);
|
|
||||||
|
|
||||||
/** @var $oParentView oxView */
|
/** @var $oParentView oxView */
|
||||||
$oParentView = $this->getParent();
|
$oParentView = $this->getParent();
|
||||||
$oParentView->addTplParam('blD3GoogleAnalyticsActive', $this->_oSet->getFieldData('oxactive'));
|
$oParentView->addTplParam('blD3GoogleAnalyticsActive', d3_cfg_mod::get($this->d3getModId())->isActive());
|
||||||
$oParentView->addTplParam('oD3GASettings', $this->_oSet);
|
$oParentView->addTplParam('oD3GASettings', d3_cfg_mod::get($this->d3getModId()));
|
||||||
|
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function d3getModId()
|
||||||
|
{
|
||||||
|
return $this->_sModId;
|
||||||
|
}
|
||||||
}
|
}
|
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.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
|
class d3_oxorder_googleanalytics extends d3_oxorder_googleanalytics_parent
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.com
|
* @link http://www.shopmodule.com
|
||||||
* @copyright (C) D3 Data Development
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$sLangName = "Deutsch";
|
$sLangName = "Deutsch";
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* @link http://www.oxidmodule.com
|
* @link http://www.oxidmodule.com
|
||||||
* @link http://www.shopmodule.com
|
* @link http://www.shopmodule.com
|
||||||
* @copyright (C) D3 Data Development
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$sLangName = "English";
|
$sLangName = "English";
|
||||||
|
Loading…
Reference in New Issue
Block a user