Example #1
0
 /**
  * @author Max Milbers
  * @param JDataBase $db
  */
 function __construct($db)
 {
     /* Make sure the custom fields are added */
     parent::__construct('#__virtuemart_userinfos', 'virtuemart_userinfo_id', $db);
     parent::showFullColumns();
     $this->setPrimaryKey('virtuemart_userinfo_id');
     $this->setObligatoryKeys('address_type');
     $this->setObligatoryKeys('virtuemart_user_id');
     $this->setLoggable();
     $this->setTableShortCut('ui');
 }
Example #2
0
 /**
  * @author Max Milbers
  * @param string $_db
  */
 function __construct(&$_db)
 {
     parent::__construct('#__virtuemart_order_userinfos', 'virtuemart_order_userinfo_id', $_db);
     parent::showFullColumns();
     $this->setLoggable();
 }