Manual:User.php

From MediaWiki.org
Jump to: navigation, search
MediaWiki File: User.php
Location: /includes/
Source code:

HEAD1.19.0rc1
1.19.01.18.3

Classes: User

[edit] Description

User.php implements the User class, which encapsulates all of the user-specific settings (user_id, name, rights, password, email address, options, last login time). Client classes use the getXXX() functions to access these fields. These functions do all the work of determining whether the user is logged in, whether the requested option can be satisfied from cookies or whether a database query is needed. Most of the settings needed for rendering normal pages are set in the cookie to minimize use of the database.

[edit] See also

Language: English
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox