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

Class: LiveUser_Admin_Storage

Source Location: /LiveUser_Admin-0.2.1/Storage.php

Class Overview


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


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2005 Markus Wolff

Methods


Child classes:

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

Inherited Variables

Inherited Methods


Class Details

[line 86]
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 ]


Method Detail

LiveUser_Admin_Storage (Constructor)   [line 95]

void LiveUser_Admin_Storage( mixed 0)

Constructor
  • Access: protected

Parameters:

mixed   0   —  configuration array

[ Top ]

disconnect   [line 129]

void disconnect( )

properly disconnect from resources
  • Access: public

Overridden in child classes as:

LiveUser_Admin_Storage_SQL::disconnect()
properly disconnect from resources
LiveUser_Admin_Storage_MDB2::disconnect()
LiveUser_Admin_Storage_MDB::disconnect()
LiveUser_Admin_Storage_DB::disconnect()

[ Top ]

init   [line 110]

boolean init( array &$storageConf)

Initializes database storage container.

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

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

Overridden in child classes as:

LiveUser_Admin_Storage_MDB2::init()
Initializes database storage container.
LiveUser_Admin_Perm_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_Storage_DB::init()
Initializes database storage container.
LiveUser_Admin_Perm_Storage_DB::init()
Initializes database storage container.

Parameters:

array   &$storageConf   —  Storage Configuration

[ Top ]


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