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

Class: LiveUser_Perm_Storage_SQL

Source Location: /LiveUser-0.16.14/LiveUser/Perm/Storage/SQL.php

Class Overview

LiveUser_Perm_Storage
   |
   --LiveUser_Perm_Storage_SQL

SQL container for permission handling


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Markus Wolff

Variables

Methods


Child classes:

LiveUser_Perm_Storage_PDO
PDO container for permission handling.
LiveUser_Perm_Storage_MDB2
MDB2 container for permission handling
LiveUser_Perm_Storage_MDB
MDB container for permission handling
LiveUser_Perm_Storage_DB
DB container for permission handling

Inherited Variables

Inherited Methods

Class: LiveUser_Perm_Storage

LiveUser_Perm_Storage::LiveUser_Perm_Storage()
Constructor
LiveUser_Perm_Storage::disconnect()
properly disconnect from resources
LiveUser_Perm_Storage::freeze()
store all properties in the session and return them as an array
LiveUser_Perm_Storage::init()
Initialize the storage container
LiveUser_Perm_Storage::mapUser()
map an auth user to a perm user
LiveUser_Perm_Storage::readAreaAdminAreas()
read the areas in which a user is an area admin
LiveUser_Perm_Storage::readGroupRights()
Reads the group rights and put them in the array
LiveUser_Perm_Storage::readGroups()
Reads all the group ids in that the user is also a member of (all groups that are subgroups of these are also added recursively)
LiveUser_Perm_Storage::readImpliedRights()
Read out the implied rights with a given level from the implied_rights table
LiveUser_Perm_Storage::readImplyingRights()
Read out the rights from the userrights or grouprights table that imply other rights along with their level
LiveUser_Perm_Storage::readSubGroups()
Read the sub groups of the new groups that are not part of the group ids
LiveUser_Perm_Storage::readUserRights()
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_Storage::unfreeze()
Reinitializes properties

Class Details

[line 64]
SQL container for permission handling


[ Top ]


Class Variables

$prefix =  'liveuser_'

[line 96]

Table prefix Prefix for all db tables the container has.
  • Access: public

Type:   string


[ Top ]



Method Detail

disconnect   [line 105]

bool disconnect( )

properly disconnect from resources
  • Return: true on success and false on failure
  • Access: public

Overridden in child classes as:

LiveUser_Perm_Storage_PDO::disconnect()
Override the disconnect method from the parent class.

Overrides LiveUser_Perm_Storage::disconnect() (properly disconnect from resources)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.