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

Class: LiveUser_Admin_Storage

Source Location: /LiveUser_Admin-0.4.0/Storage.php

Class Overview


This is core base class for all LiveUser admin storage classes that is meant for internal use only.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Markus Wolff

Variables

Methods


Child classes:

LiveUser_Admin_Storage_SQL
This is a SQL backend driver for the LiveUser class.

Inherited Variables

Inherited Methods


Class Details

[line 77]
This is core base class for all LiveUser admin storage classes that is meant for internal use only.


[ Top ]


Class Variables

$alias = array()

[line 101]

All fields with their alias
  • Access: public

Type:   array


[ Top ]

$fields = array()

[line 93]

All fields with their types
  • Access: public

Type:   array


[ Top ]

$tables = array()

[line 85]

Table configuration
  • Access: public

Type:   array


[ Top ]



Method Detail

LiveUser_Admin_Storage (Constructor)   [line 109]

void LiveUser_Admin_Storage( )

Constructor
  • Access: protected

[ Top ]

disconnect   [line 188]

void disconnect( )

properly disconnect from resources
  • Access: public

Overridden in child classes as:

LiveUser_Admin_Storage_SQL::disconnect()
Properly disconnect from database

[ Top ]

init   [line 125]

bool init( array &$storageConf, array $structure)

Initializes database storage container.

Goes through the storage config and turns each value into a var

  • Return: true on success and false on failure
  • Access: public

Overridden in child classes as:

LiveUser_Admin_Storage_DB::init()
Initializes database storage container.
LiveUser_Admin_Perm_Storage_DB::init()
Initializes database storage container.
LiveUser_Admin_Auth_Storage_DB::init()
Initializes database storage container.
LiveUser_Admin_Storage_PDO::init()
Initializes database storage container.
LiveUser_Admin_Perm_Storage_PDO::init()
Initializes database storage container.
LiveUser_Admin_Auth_Storage_PDO::init()
Initializes database storage container.
LiveUser_Admin_Storage_MDB2::init()
Initializes database storage container.
LiveUser_Admin_Perm_Storage_MDB2::init()
Initializes database storage container.
LiveUser_Admin_Auth_Storage_MDB2::init()
Initializes database storage container.
LiveUser_Admin_Storage_MDB::init()
Initializes database storage container.
LiveUser_Admin_Perm_Storage_MDB::init()
Initializes database storage container.
LiveUser_Admin_Auth_Storage_MDB::init()
Initializes database storage container.

Parameters:

array   &$storageConf     Storage Configuration
array   $structure     containing the database structure (tables, fields, alias)

[ Top ]

setSelectDefaultParams   [line 163]

array setSelectDefaultParams( array $params)

Static method to set defaults into a select params array
  • Return: params array
  • Access: public

Parameters:

array   $params     params array

[ Top ]


Documentation generated on Tue, 05 Oct 2010 16:30:15 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.