Elgg  Version 1.9
Functions | Variables
ElggUser.js File Reference

Go to the source code of this file.

Functions

elgg inherit (elgg.ElggUser, elgg.ElggEntity)
 

Variables

elgg ElggUser
 
elgg ElggUser prototype isAdmin
 Is this user an admin? More...
 

Function Documentation

elgg inherit ( elgg.  ElggUser,
elgg.  ElggEntity 
)

Variable Documentation

Initial value:
= function(o) {
elgg.ElggEntity.call(this, o);
}
elgg
Definition: install.js:23

Definition at line 12 of file ElggUser.js.

Initial value:
= function() {
return this.admin;
}

Is this user an admin?

Warning
The admin state of the user should be checked on the server for any actions taken that require admin privileges.
Returns
{boolean}

Definition at line 26 of file ElggUser.js.