fetchAllUsers (function)

Purpose:

Returns all data from the users table

See Also:

fetchUserDetails (function)
fetchUserName (function)

Example:

$users = fetchAllUsers();

Data Type(s):

fetchAllUsers($orderBy=[], $desc=[], $disabled=true)

Location:

users/helpers/users.php

Details:

Older function primarily for compatibility purposes
To fetch all users, simply call

<?php $users fetchAllUsers(); ?>
To fetch all users ordered by username, call
<?php $users fetchAllUsers('username'); ?>
To fetch all users ordered by username descending, call
<?php $users fetchAllUsers('username',true); ?>
To fetch all users ordered by username descending including banned users, call
<?php $users fetchAllUsers('username',true,true); ?>