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

Class: LiveUser_Perm_Storage_SQL

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

Class Overview

LiveUser_Perm_Storage
   |
   --LiveUser_Perm_Storage_SQL

This is a PEAR::MDB2 backend driver for the LiveUser class.


Author(s):

Version:

  • $Id: SQL.php,v 1.8 2004/12/18 21:48:29 lsmith Exp $

Variables

Methods


Child classes:

LiveUser_Perm_Storage_MDB2
This is a PEAR::MDB2 backend driver for the LiveUser class.
LiveUser_Perm_Storage_MDB
This is a PEAR::MDB backend driver for the LiveUser class.
LiveUser_Perm_Storage_DB
This is a PEAR::DB backend driver for the LiveUser class.

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 50]
This is a PEAR::MDB2 backend driver for the LiveUser class.

A PEAR::MDB2 connection object can be passed to the constructor to reuse an existing connection. Alternatively, a DSN can be passed to open a new one.

Requirements:

  • File "Liveuser.php" (contains the parent class "LiveUser")
  • Array of connection options or a PEAR::MDB2 connection object must be passed to the constructor. Example: array('dsn' => 'mysql://user:pass@host/db_name') OR &$conn (PEAR::MDB2 connection object)



[ Top ]


Class Variables

$alias = array()

[line 95]

  • Access: public

Type:   array


[ Top ]

$fields = array()

[line 88]

  • Access: public

Type:   array


[ Top ]

$prefix =  'liveuser_'

[line 74]

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

Type:   string


[ Top ]

$tables = array()

[line 81]

  • Access: public

Type:   array


[ Top ]



Method Detail

LiveUser_Perm_Storage_SQL (Constructor)   [line 104]

void LiveUser_Perm_Storage_SQL( mixed &$confArray, &$storageConf)

Constructor
  • Access: protected

Parameters:

mixed   &$confArray   —  configuration array
   &$storageConf   — 

[ Top ]

getAliasDefaults   [line 332]

void getAliasDefaults( )


[ Top ]

getFieldDefaults   [line 300]

void getFieldDefaults( )


[ Top ]

getTableDefaults   [line 113]

void getTableDefaults( )


[ Top ]


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