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

Class: LiveUser_Perm_Storage_XML

Source Location: /LiveUser-0.14.0/Perm/Storage/XML.php

Class Overview

LiveUser_Perm_Storage
   |
   --LiveUser_Perm_Storage_XML

This is a XML backend driver for the LiveUser class.


Author(s):

Version:

  • $Id: XML.php,v 1.5 2004/12/20 12:15:24 lsmith Exp $

Methods


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 an array
LiveUser_Perm_Storage::mapUser()
LiveUser_Perm_Storage::readAreaAdminAreas()
LiveUser_Perm_Storage::readGroupRights()
Reads the group rights and put them in the array
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 45]
This is a XML backend driver for the LiveUser class.

Requirements:

  • File "Liveuser.php" (contains the parent class "LiveUser")
  • XML_Parser



[ Top ]


Method Detail

disconnect   [line 171]

void disconnect( )

properly disconnect from resources
  • Access: public

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

init   [line 71]

void init( &$storageConf)


Parameters:

   &$storageConf   — 

[ Top ]

mapUser   [line 105]

mixed mapUser( int $authUserId, string $containerName)

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

Overrides LiveUser_Perm_Storage::mapUser() (parent method not documented)

Parameters:

int   $authUserId   — 
string   $containerName   — 

[ Top ]

readUserRights   [line 146]

mixed readUserRights( int $permUserId)

Reads all rights of current user into a two-dimensional associative array, having the area names as the key of the 1st dimension.

Group rights and invididual rights are being merged in the process.

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

Overrides 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.)

Parameters:

int   $permUserId   — 

[ Top ]


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