PHP Class Habari\Users

Inheritance: extends ArrayObject
Show file Open project: habari/system

Protected Properties

Property Type Description
$get_param_cache

Public Methods

Method Description
get ( array $paramarray = [] ) : array Returns a user or users based on supplied parameters.
get_all ( ) : Users Select all users from the database
get_by_info ( string | array $key, string | null $value = null ) : Users | boolean Select a user from the database by userinfo

Method Details

get() public static method

Returns a user or users based on supplied parameters.
public static get ( array $paramarray = [] ) : array
$paramarray array An associated array of parameters, or a querystring
return array An array of User objects, or a single User object, depending on request

get_all() public static method

Select all users from the database
public static get_all ( ) : Users
return Users

get_by_info() public static method

Select a user from the database by userinfo
public static get_by_info ( string | array $key, string | null $value = null ) : Users | boolean
$key string | array
$value string | null
return Users | boolean

Property Details

$get_param_cache protected property

protected $get_param_cache