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

Class: LiveUser_Perm_Medium

Source Location: /LiveUser-0.16.14/LiveUser/Perm/Medium.php

Class Overview

LiveUser_Perm_Simple
   |
   --LiveUser_Perm_Medium

Medium container for permission handling


Author(s):

  • Arnaud Limbourg

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Markus Wolff

Variables


Child classes:

LiveUser_Perm_Complex
Complex container for permission handling

Inherited Variables

Inherited Methods

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.
LiveUser_Perm_Simple::disconnect()
Properly disconnect from resources.
LiveUser_Perm_Simple::freeze()
Stores 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 and initialize 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::unfreeze()
Reinitializes properties from the storage container.

Class Details

[line 72]
Medium container for permission handling

Medium permission complexity driver for LiveUser.



[ Top ]


Class Variables

$group_ids = array()

[line 81]

One-dimensional array containing all the groups ids for the actual user.
  • Access: public

Type:   array


[ Top ]

$group_right_ids = array()

[line 101]

One-dimensional array containing only the group rights for the actual user.

Format: "RightId" => "Level"

  • Access: public

Type:   array


[ Top ]

$user_group_ids = array()

[line 90]

One-dimensional array containing all the groups ids for the actual user without subgroups.
  • Access: public

Type:   array


[ Top ]



Documentation generated on Fri, 15 Oct 2010 15:00:12 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.