function users_info($username=NULL, $fields=NULL, $groups_filtering = '')
	{
		$entries = array();
		$entries['count'] = 0; // To be compatible with the old data organisation (counter at the beginning)
		$i = 0;
		if ($result = $this->one_user_info(TRUE, $username, $fields, FALSE, $groups_filtering)) {
			do {
				$entries[$i] = $result;
				$i++;
			} while ($result = $this->one_user_info());
		}
		$entries['count'] = $i; // and not count($entries) because of the ['count'] argument
        return ($entries);
    }
function users_info($username=NULL, $fields=NULL, $groups_filtering = '')
	{
		$entries = array();
		$entries['count'] = 0; // To be compatible with the old data organisation (counter at the beginning)
		$i = 0;
		if ($result = $this->one_user_info(TRUE, $username, $fields, FALSE, $groups_filtering)) {
			do {
				$entries[$i] = $result;
				$i++;
			} while ($result = $this->one_user_info());
		}
		$entries['count'] = $i; // and not count($entries) because of the ['count'] argument
        return ($entries);
    }
function users_info ( $ username = NULL , $ fields = NULL , $ groups_filtering = '' ) { $ entries = array ( ) ; $ entries [ 'count' ] = 0 ; // To be compatible with the old data organisation (counter at the beginning) $ i = 0 ; if ( $ result = $ this -> one_user_info ( TRUE , $ username , $ fields , FALSE , $ groups_filtering ) ) { do { $ entries [ $ i ] = $ result ; $ i ++ ; } while ( $ result = $ this -> one_user_info ( ) ) ; } $ entries [ 'count' ] = $ i ; // and not count($entries) because of the ['count'] argument return ( $ entries ) ; }
Returns an array of information for filtered users
Returns an array of information for filtered users