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

Class: LiveUser_Admin_Perm_Storage_DB

Source Location: /LiveUser_Admin-0.4.0/Perm/Storage/DB.php

Class Overview

LiveUser_Admin_Storage
   |
   --LiveUser_Admin_Storage_SQL
      |
      --LiveUser_Admin_Storage_DB
         |
         --LiveUser_Admin_Perm_Storage_DB

This is a PEAR::DB backend storage driver for the LiveUser_Admin perm class.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Markus Wolff

Methods


Inherited Variables

Inherited Methods

Class: LiveUser_Admin_Storage_DB

LiveUser_Admin_Storage_DB::exec()
Execute DML query
LiveUser_Admin_Storage_DB::getAfterId()
Since DB does not support determining if auto increment is supported, the call just returns the $id parameter
LiveUser_Admin_Storage_DB::getBeforeId()
Since DB does not support determining if auto increment is supported, the call is redirected to nextID()
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::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::createDelete()
Create the SQL necessary for an delete
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()
Delete 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.
LiveUser_Admin_Storage::setSelectDefaultParams()
Static method to set defaults into a select params array

Class Details

[line 82]
This is a PEAR::DB backend storage driver for the LiveUser_Admin perm class.

All it does is read the Globals.php file and the container and database config on



[ Top ]


Method Detail

init   [line 93]

void init( array &$storageConf)

Initializes database storage container.
  • 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 15:39:42 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.