/**
  * @author Max Milbers
  * @param JDataBase $db
  */
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_manufacturer_medias', 'id', $db);
     $this->setPrimaryKey('tsmart_manufacturer_id');
     $this->setSecondaryKey('tsmart_media_id');
     $this->setOrderable();
 }
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_product_categories', 'id', $db);
     $this->setPrimaryKey('tsmart_product_id');
     $this->setSecondaryKey('tsmart_category_id');
     $this->setOrderable('ordering', false);
 }
示例#3
0
 /**
  * @author Max Milbers
  * @param JDataBase $db
  */
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_product_medias', 'id', $db);
     $this->setPrimaryKey('tsmart_product_id');
     $this->setSecondaryKey('tsmart_media_id');
     $this->setOrderable('ordering', true);
     // 		$this->setOrderableFormname('mediaordering');
 }
 /**
  * @author Max Milbers
  * @param JDataBase $db connector object
  */
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_category_medias', 'id', $db);
     $this->setPrimaryKey('tsmart_category_id');
     $this->setSecondaryKey('tsmart_media_id');
     $this->setOrderable();
     $this->setTableShortCut('cm');
 }
示例#5
0
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_calc_countries', 'id', $db);
     $this->setPrimaryKey('tsmart_calc_id');
     $this->setSecondaryKey('tsmart_country_id');
 }
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_calc_shoppergroups', 'id', $db);
     $this->setPrimaryKey('tsmart_calc_id');
     $this->setSecondaryKey('tsmart_shoppergroup_id');
 }
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_calc_manufacturers', 'id', $db);
     $this->setPrimaryKey('tsmart_calc_id');
     $this->setSecondaryKey('tsmart_manufacturer_id');
 }
示例#8
0
 /**
  * @param JDataBase $db database connector object
  */
 function __construct(&$db)
 {
     parent::__construct('#__tsmart_vendor_users', 'id', $db);
     $this->setPrimaryKey('tsmart_vendor_id');
     $this->setSecondaryKey('tsmart_user_id');
 }