/** 
  * @param $db
  * @return unknown_type
  */
 function CitruscartTableProductCoupons(&$db)
 {
     $keynames = array();
     $keynames['product_id'] = 'product_id';
     $keynames['coupon_id'] = 'coupon_id';
     $this->setKeyNames($keynames);
     $tbl_key = 'product_id';
     $tbl_suffix = 'productcouponxref';
     $name = 'citruscart';
     $this->set('_tbl_key', $tbl_key);
     $this->set('_suffix', $tbl_suffix);
     parent::__construct("#__{$name}_{$tbl_suffix}", $tbl_key, $db);
 }
 /** 
  * @param $db
  * @return unknown_type
  */
 function __construct(&$db)
 {
     $keynames = array();
     $keynames['user_id'] = 'user_id';
     $keynames['group_id'] = 'group_id';
     $this->setKeyNames($keynames);
     $tbl_key = 'user_id';
     $tbl_suffix = 'usergroupxref';
     $name = 'citruscart';
     $this->set('_tbl_key', $tbl_key);
     $this->set('_suffix', $tbl_suffix);
     parent::__construct("#__{$name}_{$tbl_suffix}", $tbl_key, $db);
 }
 /** 
  * @param $db
  * @return unknown_type
  */
 function __construct(&$db)
 {
     $keynames = array();
     $keynames['eaventity_id'] = 'eaventity_id';
     $keynames['eaventity_type'] = 'eaventity_type';
     $keynames['eavattribute_id'] = 'eavattribute_id';
     $this->setKeyNames($keynames);
     $tbl_key = 'eaventity_id';
     $tbl_suffix = 'eavattributeentityxref';
     $name = 'citruscart';
     $this->set('_tbl_key', $tbl_key);
     $this->set('_suffix', $tbl_suffix);
     parent::__construct("#__{$name}_{$tbl_suffix}", $tbl_key, $db);
 }
 /**
  * @param $db
  * @return unknown_type
  */
 function __construct($db)
 {
     $keynames = array();
     $keynames['product_id'] = 'product_id';
     $keynames['category_id'] = 'category_id';
     $this->setKeyNames($keynames);
     $this->_keynames = $keynames;
     $tbl_key = 'product_id';
     $tbl_suffix = 'productcategoryxref';
     $name = 'citruscart';
     $this->set('_tbl_key', $tbl_key);
     $this->set('_suffix', $tbl_suffix);
     parent::__construct("#__{$name}_{$tbl_suffix}", $tbl_key, $db);
 }