Beispiel #1
0
 /**
  * @author Max Milbers
  * @param JDataBase $db
  */
 function __construct($db)
 {
     /* Make sure the custom fields are added */
     parent::__construct('#__tsmart_userinfos', 'tsmart_userinfo_id', $db);
     parent::showFullColumns();
     $this->setPrimaryKey('tsmart_userinfo_id');
     $this->setObligatoryKeys('address_type');
     $this->setObligatoryKeys('tsmart_user_id');
     $this->setLoggable();
     $this->setTableShortCut('ui');
 }
 /**
  * @author Max Milbers
  * @param string $_db
  */
 function __construct(&$_db)
 {
     parent::__construct('#__tsmart_order_userinfos', 'tsmart_order_userinfo_id', $_db);
     parent::showFullColumns();
     $this->setLoggable();
 }