User Login    
 + Register
  • Main navigation
Login
Username:

Password:


Lost Password?

Register now!
Documentation
Who's Online
91 user(s) are online (5 user(s) are browsing XoopsWiki)

Members: 0
Guests: 91

more...
[Main Page]

Dev:$xoopsUser

From XOOPS Project

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy
Category: Development

Definition

XoopsUser is the class defining user objects. $xoopsUser is the XOOPS-wide object containing values regarding the currently logged in user

Usage

The $xoopsUser object is empty if the user is not logged in (anonymous user). Important methods on this object are:

   getVar('property_name') - returns the property of the parameter name. Possible propeties are:
   uname (username), uid (userid), name (real name), email, url and more - check the API Docs for a thorough description
   getGroups() - returns an array of usergroups, this user is a member of


Back to Main Page

Retrieved from "http://www.xoops.org/modules/mediawiki/index.php/Dev:%24xoopsUser"

This page has been accessed 447 times. This page was last modified 01:38, 16 December 2007. Content is available under XOOPS Project.


Local Support Sites
Powered by
XOOPS Code hosted on SourceForge

Powered by PHP



Powered by MySQL

Powered by Smarty

OSI certified

All content on this site is subject to the Creative Commons License
Developers for Hire