Core:Users Class

From Habari Project

Jump to: navigation, search

This page or image is a candidate for deletion. The given reason is: The wiki is not the place for API documentation. Anything useful on this page should either be moved to a sensible page like Dev:Retrieving Users or included in the code as docblocks.

This notice should remain for a minimum of 1 week after it was placed on the page. If discussion is still ongoing, it should remain until a consensus is reached, after which the page will either be deleted or this notice removed.

If you disagree with its deletion, please discuss your reasons on this page or on its associated talk page, as applicable.

Remember to check if anything links here and the page history before deleting.


Contents

Users Object

Properties

get_param_cache

Array of parameters used to fetch the last Posts object.

Retrieving

get($paramarray = array())

Fetches user(s) based on the supplied parameters.
where
id
info
count
limit
nolimit
orderby

get_by_info($key, $value = null)

Fetches a user from the database by a userinfo. e.g: displayname

get_all()

Fetches all users from the database.

User Object

Properties

displayname

Display name of the user.

email

E-mail address of the user.

id

Identification number of the user.

info

InfoObject Object for the User object.

groups

Array of group ids to which the user belongs to.

password

Password of the user.

username

Username of the user.
This page describes a PHP class that is in the Habari software. For more comprehensive technical information visit the API Documentation.
Other Class Pages
Personal tools