Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/cch/www/pear/DB/msql.php
PEAR Repository -

DB_msql

DB_common
   |
  +-- DB_msql

DB_common is a base class for DB implementations, and should be
inherited by all such.

 

private class DB_msql extends DB_common

DB_common is a base class for DB implementations, and should be
inherited by all such.

 

Methods inherited from DB_common

quotestring, provides, errorcode, errormessage, &raiseerror, seterrorhandling, setfetchmode, execute_emulate_query, executemultiple, &getone, &getrow, &getcol, &getassoc, &getall, tostring, db_common

Public Method Summary

void

DB_msql()

Private Method Summary

void

connect( &$dsn, boolean $persistent)

void

disconnect()

void

&query( $stmt)

void

simpleQuery( $stmt)

void

&fetchRow( $result, string $fetchmode)

void

fetchInto( $result, &$ar, string $fetchmode)

void

freeResult( $result)

void

numCols( $result)

void

prepare( $query)

Prepares a query for multiple execution with execute(). With
PostgreSQL, this is emulated.
void

execute( $stmt, boolean $data)

void

autoCommit(boolean $onoff)

void

commit()

void

rollback()

Fields inherited from DB_common

$features, $errorcode_map, $type, $prepare_maxstmt, $error_mode, $error_level, $error_callback, $last_query, $fetchmode

Private Field Summary

unknown

$connection

unknown

$phptype

array

$prepare_tokens

array

$prepare_types

Public Method Details

DB_msql

public void DB_msql( )

 

Returns void


Private Method Details

connect

private void connect( &$dsn, boolean $persistent )

 

Parameter
&$dsn
boolean $persistent
Returns void


disconnect

private void disconnect( )

 

Returns void


&query

private void &query( $stmt )

 

Parameter
$stmt
Returns void


simpleQuery

private void simpleQuery( $stmt )

 

Parameter
$stmt
Returns void


&fetchRow

private void &fetchRow( $result, string $fetchmode )

 

Parameter
$result
string $fetchmode
Returns void


fetchInto

private void fetchInto( $result, &$ar, string $fetchmode )

 

Parameter
$result
&$ar
string $fetchmode
Returns void


freeResult

private void freeResult( $result )

 

Parameter
$result
Returns void


numCols

private void numCols( $result )

 

Parameter
$result
Returns void


prepare

private void prepare( $query )

  Prepares a query for multiple execution with execute(). With
PostgreSQL, this is emulated.

Parameter
$query
Returns void


execute

private void execute( $stmt, boolean $data )

 

Parameter
$stmt
boolean $data
Returns void


autoCommit

private void autoCommit( boolean $onoff )

 

Parameter
boolean $onoff
Returns void


commit

private void commit( )

 

Returns void


rollback

private void rollback( )

 

Returns void


Private Field Details

$connection

private unknown $connection

>>unknown<<


$phptype

private unknown $phptype

>>unknown<<


$prepare_tokens

private array $prepare_tokens

>>array()<<


$prepare_types

private array $prepare_types

>>array()<<



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta