function __construct(&$subject, $config) { parent::__construct($subject, $config); $language = JFactory::getLanguage(); $language->load('plg_citruscart_' . $this->_element, JPATH_ADMINISTRATOR, 'en-GB', true); $language->load('plg_citruscart_' . $this->_element, JPATH_ADMINISTRATOR, null, true); }
function __construct(&$subject, $config) { parent::__construct($subject, $config); $language = JFactory::getLanguage(); $language->load('plg_citruscart_' . $this->_element, JPATH_ADMINISTRATOR, 'en-GB', true); $language->load('plg_citruscart_' . $this->_element, JPATH_ADMINISTRATOR, null, true); $this->_temp_dir = JFactory::getConfig()->get('tmp_path', JPATH_SITE . DIRECTORY_SEPARATOR . 'tmp') . DIRECTORY_SEPARATOR . 'Citruscart_xml_import' . DS; }
function __construct(&$subject, $config) { parent::__construct($subject, $config); $language = JFactory::getLanguage(); $language->load('plg_citruscart_' . $this->_element, JPATH_ADMINISTRATOR, 'en-GB', true); $language->load('plg_citruscart_' . $this->_element, JPATH_ADMINISTRATOR, null, true); $this->_keys = array('product_id', 'product_name', 'product_categories', 'manufacturer_id', 'product_description_short', 'product_description', 'product_full_image', 'product_images', 'product_ships', 'product_height', 'product_width', 'product_length', 'product_weight', 'product_price', 'product_quantity', 'product_attributes', 'product_sku', 'product_model', 'product_listprice', 'product_listprice_enabled'); }