1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<?php
/**
***********************************************************************************************
* Class manages access to database table adm_users
*
* @copyright 2004-2016 The Admidio Team
* @see http://www.admidio.org/
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2.0 only
***********************************************************************************************
*/
/**
* @class TableUsers
* @deprecated This class is deprecated and should not be used anymore. The class Users should be used instead.
*/
class TableUsers extends User
{
/**
* Constructor that will create an object of a recordset of the table adm_users.
* If the id is set than the specific user will be loaded.
* @param \Database $database Object of the class Database. This should be the default global object @b $gDb.
* @param int $userId The recordset of the user with this id will be loaded. If id isn't set than an empty object of the table is created.
*/
public function __construct(&$database, $userId = 0)
{
global $gProfileFields;
parent::__construct($database, $gProfileFields, $userId);
}
}