Пример #1
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $language = JFactory::getLanguage();
     $language->load('plg_tienda_genericexporter', JPATH_ADMINISTRATOR, 'en-GB', true);
     $language->load('plg_tienda_genericexporter', JPATH_ADMINISTRATOR, null, true);
 }
Пример #2
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
     $this->loadLanguage('', JPATH_SITE);
     $this->getShopAddress();
     $this->_log_file = JPATH_SITE . '/images/com_tienda/debug/' . $this->_element . '.txt';
 }
Пример #3
0
 function plgTiendaProduct_customfields(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
     //Check the installation integrity
     $helper = Tienda::getClass('TiendaHelperDiagnosticsProductCustomFields', 'product_customfields.diagnostic', array('site' => 'site', 'type' => 'plugins', 'ext' => 'tienda'));
     $helper->checkInstallation();
 }
Пример #4
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $language = JFactory::getLanguage();
     $language->load('plg_tienda_' . $this->_element, JPATH_ADMINISTRATOR, 'en-GB', true);
     $language->load('plg_tienda_' . $this->_element, JPATH_ADMINISTRATOR, null, true);
     $this->webid = $this->params->get('webid', '');
     $this->inccategory = $this->params->get('inccategory', '');
 }
Пример #5
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $language = JFactory::getLanguage();
     $language->load('plg_tienda_' . $this->_element, JPATH_ADMINISTRATOR, 'en-GB', true);
     $language->load('plg_tienda_' . $this->_element, JPATH_ADMINISTRATOR, null, true);
     $this->account_id = $this->params->get('account_id', '');
     // Load helper
     if (version_compare(JVERSION, '1.6.0', 'ge')) {
         // Joomla! 1.6+ code here
         $this->helper = Tienda::getClass('TiendaHelperGoogle', 'googleproducts.googleproducts.helper', array('site' => 'site', 'type' => 'plugins', 'ext' => 'tienda'));
     } else {
         // Joomla! 1.5 code here
         $this->helper = Tienda::getClass('TiendaHelperGoogle', 'googleproducts.helper', array('site' => 'site', 'type' => 'plugins', 'ext' => 'tienda'));
     }
     // Params
     $this->helper->setUsername($this->params->get('username', ''));
     $this->helper->setPassword($this->params->get('password', ''));
     $this->helper->service = 'structuredcontent';
     $this->helper->source = JURI::base();
     $this->buildfeed = $this->params->get('build_feed', '0');
     //$this->helper->source = 'http://www.weble.it';
 }
Пример #6
0
 function plgTiendaRequireTaxNumber(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
 }
Пример #7
0
 function plgAmbrasubsTienda(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
Пример #8
0
 function __construct(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
 }
Пример #9
0
 function plgTiendaCheckoutExample(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
 }
Пример #10
0
 function plgTiendaIDevAffiliate(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->loadLanguage('', JPATH_ADMINISTRATOR);
 }
Пример #11
0
 public function _getLayout($layout, $vars = false, $plugin = '', $group = 'content')
 {
     return parent::_getLayout($layout, $vars, $plugin, $group);
 }