Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules

Search

Donate to XOOPS!

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Git Google GUI hacks instant-zero jQuery module mygalleries news Nordic Olédrion oxygen PageRank PHP rmcommon security SEO simple-XOOPS Smarty sport tag Theme tutorial wiki WOX xoops XoopsEngine ZendFramework

New Users

Registering user

# 133971

bitwww

Welcome to XOOPS!
[Main Page]

Dev:$xoopsUser

From XOOPS Web Application System

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://xoops.org/modules/mediawiki/index.php/Dev:%24xoopsUser"

This page has been accessed 3,538 times. This page was last modified 01:38, 16 December 2007. Content is available under XOOPS Web Application System.