function __construct(&$subject, $config) { parent::__construct($subject, $config); $this->_tablepkey = 'virtuemart_calc_id'; $this->_tablename = '#__virtuemart_calc_plg_' . $this->_name; $this->_psType = 'calculation'; }
/** * Constructor * * @param object $subject The object to observe * @param array $config An array that holds the plugin configuration */ public function __construct(&$subject, $config = array()) { parent::__construct($subject, $config); $this->_path = VMPATH_ROOT . DS . 'plugins' . DS . $this->getName(); //$lang = JFactory::getLanguage(); //$lang->load('plg_vmextended_'.$this->getName(),JPATH_ADMINISTRATOR); }
function __construct(&$subject, $config) { parent::__construct($subject, $config); // $this->_tablename = '#__virtuemart_userfield_' . $this->_name; // $this->_createTable(); // $this->_tableChecked = true; }
function __construct(&$subject, $config) { parent::__construct($subject, $config); $this->_tablepkey = 'virtuemart_product_id'; $this->_tablename = '#__virtuemart_product_' . $this->_psType . '_plg_' . $this->_name; $this->_idName = 'virtuemart_custom_id'; $this->_configTableFileName = $this->_psType . 's'; $this->_configTableClassName = 'Table' . ucfirst($this->_psType) . 's'; //TablePaymentmethods $this->_configTable = '#__virtuemart_customs'; }
function __construct(&$subject, $config) { parent::__construct($subject, $config); $this->_tablepkey = 'id'; //virtuemart_order_id'; $this->_idName = 'virtuemart_' . $this->_psType . 'method_id'; $this->_configTable = '#__virtuemart_' . $this->_psType . 'methods'; $this->_configTableFieldName = $this->_psType . '_params'; $this->_configTableFileName = $this->_psType . 'methods'; $this->_configTableClassName = 'Table' . ucfirst($this->_psType) . 'methods'; //TablePaymentmethods // $this->_configTableIdName = $this->_psType.'_jplugin_id'; $this->_loggable = TRUE; //$this->_tableChecked = TRUE; }
function __construct(&$subject, $config) { parent::__construct($subject, $config); }
function __construct(&$subject, $config) { parent::__construct($subject, $config); $this->_tablename = '#__virtuemart_coupon_' . $this->_name; }
/** * Constructor * * @param object $subject The object to observe * @param array $config An array that holds the plugin configuration */ public function __construct(&$subject, $config = array()) { parent::__construct($subject, $config); $this->_path = JPATH_PLUGINS . DS . $this->getName(); JPlugin::loadLanguage('plg_vmextended_' . $this->getName()); }