Aliro Documentation : aliroUser

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

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

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0727 seconds