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

Class: LiveUser_Admin_Storage_MDB2

Source Location: /LiveUser_Admin-0.1.0/Storage/MDB2.php

Class Overview

LiveUser_Admin_Storage
   |
   --LiveUser_Admin_Storage_SQL
      |
      --LiveUser_Admin_Storage_MDB2

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


Author(s):

Version:

  • $Id: MDB2.php,v 1.4 2004/12/18 22:05:57 lsmith Exp $

Methods


Child classes:

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

Inherited Variables

Inherited Methods


Class Details

[line 51]
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_MDB2 (Constructor)   [line 60]

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

Constructor
  • Access: protected

Parameters:

mixed   &$confArray   —  configuration array
   &$storageConf   — 

[ Top ]

disconnect   [line 148]

void disconnect( )


Overrides LiveUser_Admin_Storage_SQL::disconnect() (properly disconnect from resources)
[ Top ]

implodeArray   [line 110]

void implodeArray( $array, $type)


Parameters:

   $array   — 
   $type   — 

[ Top ]

init   [line 65]

void init( &$storageConf)


Parameters:

   &$storageConf   — 

[ Top ]

nextId   [line 143]

void nextId( $seqname, $ondemand)


Parameters:

   $seqname   — 
   $ondemand   — 

[ Top ]

query   [line 123]

void query( $query)


Parameters:

   $query   — 

[ Top ]

queryAll   [line 128]

void queryAll( $query, $types, $rekey)


Parameters:

   $query   — 
   $types   — 
   $rekey   — 

[ Top ]

queryCol   [line 138]

void queryCol( $query, $type)


Parameters:

   $query   — 
   $type   — 

[ Top ]

queryOne   [line 133]

void queryOne( $query, $type)


Parameters:

   $query   — 
   $type   — 

[ Top ]

quote   [line 98]

void quote( $value, $type)


Parameters:

   $value   — 
   $type   — 

[ Top ]

setLimit   [line 116]

void setLimit( $limit, $offset)


Parameters:

   $limit   — 
   $offset   — 

[ Top ]


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