Static Public Member Functions | Protected Attributes

Users Class Reference

List of all members.

Static Public Member Functions

static get ($paramarray=array())
static get_by_info ($key, $value=null)
static get_all ()

Protected Attributes

 $get_param_cache

Detailed Description

Habari Users Class

Definition at line 13 of file users.php.


Member Function Documentation

static Users::get ( paramarray = array()  )  [static]

Returns a user or users based on supplied parameters.

Todo:
This class should cache query results!
Parameters:
array $paramarray An associated array of parameters, or a querystring
Returns:
array An array of User objects, or a single User object, depending on request

Definition at line 24 of file users.php.

Referenced by get_all(), get_by_info(), and AdminDashboardHandler::get_dashboard().

static Users::get_all (  )  [static]

Select all users from the database

Returns:
Users

Definition at line 246 of file users.php.

Referenced by AdminUsersHandler::__construct(), AdminGroupsHandler::get_group(), AdminUsersHandler::get_users(), and ACL::rebuild_permissions().

static Users::get_by_info ( key,
value = null 
) [static]

Select a user from the database by userinfo

Parameters:
string|array $key
string|null $value
Returns:
Users|bool

Definition at line 222 of file users.php.


The documentation for this class was generated from the following file: