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

Class: LiveUser_Perm_Complex

Source Location: /LiveUser-0.16.5/Perm/Complex.php

Class Overview

LiveUser_Perm_Simple
   |
   --LiveUser_Perm_Medium
      |
      --LiveUser_Perm_Complex

Complex container for permission handling


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2005 Markus Wolff

Methods


Inherited Variables

Inherited Methods

Class: LiveUser_Perm_Medium

LiveUser_Perm_Medium::checkGroup()
Checks if the current user is a member of a certain group If $this->ondemand and $ondemand is true, the groups will be loaded on the fly.
LiveUser_Perm_Medium::readGroupRights()
LiveUser_Perm_Medium::readGroups()

Class: LiveUser_Perm_Simple

LiveUser_Perm_Simple::LiveUser_Perm_Simple()
Class constructor. Feel free to override in backend subclasses.
LiveUser_Perm_Simple::checkRight()
Checks if the current user has a certain right in a given area.
LiveUser_Perm_Simple::disconnect()
properly disconnect from resources
LiveUser_Perm_Simple::freeze()
store all properties in an array
LiveUser_Perm_Simple::getProperty()
Function returns the inquired value if it exists in the class.
LiveUser_Perm_Simple::init()
Load the storage container
LiveUser_Perm_Simple::mapUser()
Tries to find the user with the given user ID in the permissions container. Will read all permission data and return true on success.
LiveUser_Perm_Simple::readRights()
Reads all rights of current user into a two-dimensional associative array, having the area names as the key of the 1st dimension.
LiveUser_Perm_Simple::readUserRights()
LiveUser_Perm_Simple::unfreeze()
Reinitializes properties

Class Details

[line 67]
Complex container for permission handling

Complex permission complexity driver for LiveUser.



[ Top ]


Method Detail

readAreaAdminAreas   [line 284]

mixed readAreaAdminAreas( int $perm_user_id)

  • Return: array or false on failure
  • Access: public

Parameters:

int   $perm_user_id   — 

[ Top ]

readSubGroups   [line 188]

mixed readSubGroups( array $group_ids, array $newGroupIds)

  • Return: array or false on failure
  • Access: public

Parameters:

array   $group_ids   — 
array   $newGroupIds   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:16:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.