users
[ class tree: users ] [ index: users ] [ all elements ]

Procedural File: RolePermUser.php

Source Location: /users/RolePermUser.php



Classes:

RolePermUser
Class that holds all information for a given user


Page Details:

$Header$

Lib for user administration, roles and permissions This lib uses pear so the constructor requieres Copyright (c) 2004 bitweaver.org Copyright (c) 2003 tikwiki.org Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. All Rights Reserved. See below for details and a complete list of authors. Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details

$Id$




Tags:

filesource:  Source Code for this file


Includes:

require_once(USERS_PKG_PATH.'/RoleUser.php') [line 21]
required setup







assignPermissionToRole [line 866]

TRUE assignPermissionToRole( $pPerm, array $pRoleId, array $perm)

assignPermissionToRole



Tags:

return:  on success
access:  public


Parameters

array   $perm  
array   $pRoleId  
   $pPerm  
[ Top ]



getRolePermissions [line 767]

TRUE getRolePermissions( [ $pParamHash = NULL], array $pRoleId, string $pPackage, string $find, array $pSortMode)

getRolePermissions



Tags:

return:  on success, FALSE on failure
access:  public


Parameters

array   $pRoleId   Role id, if unset, all roles are returned
string   $pPackage   permissions to give role, if unset, all permissions are returned
string   $find   search for a particular permission
array   $pSortMode   sort mode of return hash
   $pParamHash  
[ Top ]



getRoleUserData [line 648]

array getRoleUserData( array $pRoleId, array $pColumns)

getRoleUserData



Tags:

return:  of role data
access:  public


Parameters

array   $pRoleId  
array   $pColumns  
[ Top ]



removePermissionFromRole [line 884]

TRUE removePermissionFromRole( string $pPerm, numeric $pRoleId)

removePermissionFromRole



Tags:

return:  on success
access:  public


Parameters

string   $pPerm   Perm name
numeric   $pRoleId   Role ID
[ Top ]



Documentation generated on Wed, 29 Jul 2015 13:57:19 +0000 by phpDocumentor 1.5.0-lsces