Пример #1
0
 /** 
  * @param $db
  * @return unknown_type
  */
 function TiendaTableUserGroups(&$db)
 {
     $keynames = array();
     $keynames['user_id'] = 'user_id';
     $keynames['group_id'] = 'group_id';
     $this->setKeyNames($keynames);
     $tbl_key = 'user_id';
     $tbl_suffix = 'usergroupxref';
     $name = 'tienda';
     $this->set('_tbl_key', $tbl_key);
     $this->set('_suffix', $tbl_suffix);
     parent::__construct("#__{$name}_{$tbl_suffix}", $tbl_key, $db);
 }
Пример #2
0
 /** 
  * @param $db
  * @return unknown_type
  */
 function TiendaTableProductCategories(&$db)
 {
     $keynames = array();
     $keynames['product_id'] = 'product_id';
     $keynames['category_id'] = 'category_id';
     $this->setKeyNames($keynames);
     $tbl_key = 'product_id';
     $tbl_suffix = 'productcategoryxref';
     $name = 'tienda';
     $this->set('_tbl_key', $tbl_key);
     $this->set('_suffix', $tbl_suffix);
     parent::__construct("#__{$name}_{$tbl_suffix}", $tbl_key, $db);
 }
Пример #3
0
 /** 
  * @param $db
  * @return unknown_type
  */
 function TiendaTableEavAttributeEntities(&$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 = 'tienda';
     $this->set('_tbl_key', $tbl_key);
     $this->set('_suffix', $tbl_suffix);
     parent::__construct("#__{$name}_{$tbl_suffix}", $tbl_key, $db);
 }