Aliro Documentation : aliroUser

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [1258]

The oldest known version of this page was edited on 2011-11-09 21:25:36 by MartinBrampton

aliroUser


The aliroUser class is a singleton class used to obtain details of the user making the current request. The information is typically accessed by:

$my = aliroUser::getInstance();


The class inherits from aliroAnyUser and therefore has the methods described there (although they are not necessarily implemented in the same way). The singleton object has the following properties:

id
The unique ID for the user
name
The name of the user (if provided) such as John Doe
username
The username of the user
email
The email address for the user - this has been verified since the user's password was mailed to this address
ipaddress
The IP address being used in the current session
countrycode
The user's country code, if known
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0757 seconds