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

Class: LiveUser_Admin_Auth_Storage_DB

Source Location: /LiveUser_Admin-0.3.3/Auth/Storage/DB.php

Class Overview

LiveUser_Admin_Storage
   |
   --LiveUser_Admin_Storage_SQL
      |
      --LiveUser_Admin_Storage_DB
         |
         --LiveUser_Admin_Auth_Storage_DB

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


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2005 Markus Wolff

Methods


Inherited Variables

Inherited Methods

Class: LiveUser_Admin_Storage_DB

LiveUser_Admin_Storage_DB::getAfterId()
returns the autoincrement ID if supported or $id
LiveUser_Admin_Storage_DB::getBeforeId()
returns the next free id of a sequence if the RDBMS does not support auto increment
LiveUser_Admin_Storage_DB::implodeArray()
Apply a type to all values of an array and return as a comma seperated string useful for generating IN statements
LiveUser_Admin_Storage_DB::init()
Initializes database storage container.
LiveUser_Admin_Storage_DB::nextId()
returns the next free id of a sequence
LiveUser_Admin_Storage_DB::query()
Execute query
LiveUser_Admin_Storage_DB::queryAll()
Execute the specified query, fetch all the rows of the result set into a two dimensional array and then frees the result set.
LiveUser_Admin_Storage_DB::queryCol()
Execute the specified query, fetch the value from the first column of each row of the result set into an array and then frees the result set.
LiveUser_Admin_Storage_DB::queryOne()
Execute the specified query, fetch the value from the first column of the first row of the result set and then frees the result set.
LiveUser_Admin_Storage_DB::queryRow()
Execute the specified query, fetch the values from the first row of the result set into an array and then frees the result set.
LiveUser_Admin_Storage_DB::quote()
Convert a text value into a DBMS specific format that is suitable to compose query statements.
LiveUser_Admin_Storage_DB::setLimit()
This function is not implemented into DB so we can't make use of it.

Class: LiveUser_Admin_Storage_SQL

LiveUser_Admin_Storage_SQL::createInsert()
Create the SQL necessary for an insert
LiveUser_Admin_Storage_SQL::createJoinFilter()
Recursively find all the tables that need to be joined to be able to select all requested columns and to be able to filter the joined rows
LiveUser_Admin_Storage_SQL::createSelect()
Create the SQL necessary for a select
LiveUser_Admin_Storage_SQL::createUpdate()
Create the SQL necessary for an update
LiveUser_Admin_Storage_SQL::createWhere()
Create the SQL necessary for a where statement
LiveUser_Admin_Storage_SQL::delete()
Update from a table based given filters
LiveUser_Admin_Storage_SQL::disconnect()
Properly disconnect from database
LiveUser_Admin_Storage_SQL::findTables()
Find all the tables that need to be joined to be able to select all requested columns and to be able to filter the joined rows
LiveUser_Admin_Storage_SQL::insert()
Insert data into a table
LiveUser_Admin_Storage_SQL::select()
Select data from a set of tables
LiveUser_Admin_Storage_SQL::selectCount()
Fetches the count of many rows contain the filtered data
LiveUser_Admin_Storage_SQL::update()
Update data in a table based given filters

Class: LiveUser_Admin_Storage

LiveUser_Admin_Storage::LiveUser_Admin_Storage()
Constructor
LiveUser_Admin_Storage::disconnect()
properly disconnect from resources
LiveUser_Admin_Storage::init()
Initializes database storage container.

Class Details

[line 91]
This is a PEAR::DB backend driver for the LiveUser class.

A PEAR::DB 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::DB connection object must be passed to the constructor. Example: array('dsn' => 'mysql://user:pass@host/db_name') OR &$conn (PEAR::DB connection object)



[ Top ]


Method Detail

init   [line 104]

void init( array &$storageConf)

Initializes database storage container.

Merges tables/fields/aliases together if needed or set the default ones if any of those vars are empty.

  • Access: public
  • Uses: LiveUser_Admin_Storage_DB::init

Overrides LiveUser_Admin_Storage_DB::init() (Initializes database storage container.)

Parameters:

array   &$storageConf   —  Storage Configuration

[ Top ]


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