BlueShoes Application Framework made with PHP http://www.blueshoes.org/


Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: C:/usr/local/lib/php/blueshoes-4.2/core/db/Bs_Oci.class.php
BlueShoes Application Framework - db

Bs_Oci

Bs_Object
   |
  +-- Bs_Db
     |
    +-- Bs_Oci

**********************************************************************

 

public class Bs_Oci extends Bs_Db

**********************************************************************
$Id: Bs_Oci.html,v 1.1.1.1 2003/07/04 15:17:18 andrej Exp $This is the API for Oracle. it's an extention of the abstract class Bs_Db.class.phpSome collected knowledge and things to know:--------------------------------------------o) oracle uses parsed "statements" instead of "result sets". params and return values maybe called "result set" or "result" and then that means "statement" here.o) "SELECT 2+2" must be "SELECT 2+2 FROM dual" in Oracleeverything without a table needs the dummy table "dual" specified.o) an empty string is treated as NULL from what i've read. kinda crap, isn't it? while 0 stays 0.o) Oracle is case sensitive when columns are created with quotes around them.When they are created without quotes around them, they are caseinsensitive. However, Oracle will always display them as being all caps.If PHP referes to a column, it probably gets the case from Oracle. Thensince PHP is case sensitive, you have to supply it in all caps. Maxwell_Smart@ThePentagon.comcreate table examples:-----------in mysql:---------------create table PERSONEN (ID int primary key auto_increment,vorname varchar(20),nachname varchar(50),text blob);-----------in oracle:----------------- Erstellen einer Tabellecreate table PERSONEN (ID number(9) primary key,VORNAME varchar2(20),NACHNAME varchar2(50),TEXT varchar2(4000));--Erstellen einer Sequenzcreate sequence PERSONEN_SEQ;--Erstellen eines Triggerscreate or replace trigger PERSONEN_ins_before----Trigger zu Tabelle PERSONENbefore insert on PERSONENfor each row--beginif :new.id is null thenselect PERSONEN_SEQ.nextval into :new.id from dual;end if;end;/don't forget the last slash, it is like ; to tell oracle to start doing its work./ **Emulate the row limit support altering the query

AuthorsTomas V.V.Cox <cox@idecnet.com>, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Version4.0.$id$
Copyrightblueshoes.org

 

Methods inherited from Bs_Db

&getdbobject, bs_db, &getdsn, provides, getnumrecords, getfieldvalue, read, &rsread, countread, write, countwrite, &getone, &getrow, &getcol, &getassoc, &getassoc2, &getall, assertextension, tostring, "eargs, ismanipulation, &_raiseerror, geterrormessage, parsedsn, autocommit, starttransaction, commit, rollback, fetchrow, nativeerrormsg, _disconnect, fetchdbnames

Methods inherited from Bs_Object

isex, isexception, tostring, tohtml, persist, unpersist, bs_object, bbsetoutput, bbawake, bbisawake, bbxmsg, bbxfunctionstart, bbxfunctionend, bbxecho, bbxvar, bbxvardump, bbforcetrace, bbbufferstart, bbbufferget, bbbufferendflush, bbbufferendclean

Public Method Summary

void

Bs_Oci()

Constructor.
int

connect(array $dsn, string $persistent)

Connect to a database server and log in as the specified user.
bool

disconnect()

Log out and disconnect from the database.
bool

selectDb(string $db)

Select a database.
mixed

&fetchRow(int $result, string $fetchMode)

Fetch a row and return it as vector or hash depending on the fetchMode.
int

numCols( $result)

Get the number of columns (fields) from a result set.Warning: documentation is missing.
int

numRows( $result)

Get the number of rows from a result set.Warning: documentation is missing.
int

affectedRows()

Gets the number of rows affected by the data manipulation query.Warning: documentation is missing.
void

insertId()

Warning: documentation is missing.
void

freeResult( $result)

Free the internal resources associated with $result. Only needs to be called if you areWarning: documentation is missing.
array

getTableInfo(string $tblName, [ string $dbName ])

Returns a hash holding information about the given db table.
bool

tableHasTransactions(string $tblName, [ string $dbName ])

string

escapeString(string $query)

Escape string for oracle query.Warning: documentation is missing.
string

formatDateForDb(string $date)

format and return date string in database date format.Warning: documentation is missing.
string

formatDatetimeForDb(string $datetime)

format and return datetime string in database datetime format.Warning: documentation is missing.
string

formatTimestampForDb(string $timestamp)

format and return timestamp string in database timestamp format.Warning: documentation is missing.
int

idWrite(string $query)

overwrites parent method.Warning: documentation is missing.
void

isValidName(string $string)

Tells if a name for a db, table or field is accepted by the rdbms or not.
int

isReservedWord(string $word)

Tells if a word is a reserved word for the rdbms.
int

nativeErrorCode()

Returns the numerical native error code from the previous sql operation or 0 (zero) if no error occured.Warning: documentation is missing.
string

&nativeErrorMsg()

Returns the native error text from the previous sql operation or '' (empty string) if no error occured.
string

&nativeError()

Returns the native error from the previous sql operation or '' (empty string) if no error occured.
mixed

_dbErrorToBsError(int $dbError)

Maps error codes of the current dbms to bs-dbErrorCodes.

Private Method Summary

void

_query(string $query)

Send a query to oracle and return the statement.Warning: documentation is missing.
string

_vendorSpecificWriteMod(string $query)

overwrites parent method.Warning: documentation is missing.
object an

_ociRaiseError([ string $errNo, string $file, string $line, string $weight, string $msg ])

Throw an error. This method makes use of Bs_Db->_raiseError().
void

modifyLimitQuery( $query, $from, $count)

Warning: documentation is missing.
void

fieldName( $result, $offset)

Warning: documentation is missing.
void

tableName( $result, $offset)

Warning: documentation is missing.
void

tableName2( $result, $offset)

Warning: documentation is missing.
void

databaseName( $result, $offset)

Warning: documentation is missing.
void

fieldLen( $result, $offset)

Warning: documentation is missing.
void

fieldFlags( $result, $offset, string $format)

Warning: documentation is missing.
void

hasFieldFlag( $result, $offset, $flag)

Warning: documentation is missing.
void

fieldType( $result, integer $offset)

Warning: documentation is missing.
void

listDatabases()

Warning: documentation is missing.
void

listTables(string $dbName)

Warning: documentation is missing.
void

listFields( $tableName, string $dbName)

Warning: documentation is missing.
void

&fetchDatabaseNames(string $format, string $useCache)

Warning: documentation is missing.
void

&fetchTableNames(string $dbName, string $format, string $useCache)

Warning: documentation is missing.
void

&fetchFieldNames( $tblName, string $dbName, string $format, string $useCache)

Warning: documentation is missing.
void

&getDbStructure(string $dbName, string $useCache)

Warning: documentation is missing.
void

fetchField( $result, string $offset)

Warning: documentation is missing.
void

fieldExists( $fieldName, $tableName, string $dbName, string $useCache)

Warning: documentation is missing.
void

tableExists( $tableName, string $dbName, string $useCache)

Warning: documentation is missing.
void

databaseExists( $dbName, string $useCache)

Warning: documentation is missing.
void

getTableStructure( $tblName, string $dbName)

Warning: documentation is missing.
void

updateTableStructure( $structure, $tblName, string $dbName, integer $shrink)

Warning: documentation is missing.
void

_createAlterLine( $fieldName, $fieldDef)

Warning: documentation is missing.
void

getTableProperties( $tblName, string $dbName)

Warning: documentation is missing.
void

getTableLastmod( $tblName, string $dbName)

Warning: documentation is missing.
void

getTablesLastmod( $dbs)

Warning: documentation is missing.
void

tableInfo( $result, string $mode)

Warning: documentation is missing.
void

getTableType( $tblName, string $dbName)

Warning: documentation is missing.
void

serverSupportsTableType( $tableType)

Warning: documentation is missing.
void

switchUser( $user, $pass)

Warning: documentation is missing.
void

getOpenTables(string $dbName, string $return)

Warning: documentation is missing.
void

getIniVar(string $key, string $useCache)

Warning: documentation is missing.
void

getStatusVar(string $key, string $useCache)

Warning: documentation is missing.
void

getClientInfo()

Warning: documentation is missing.
void

getHostInfo()

Warning: documentation is missing.
void

getProtocolInfo()

Warning: documentation is missing.
void

getServerInfo()

Warning: documentation is missing.
void

setPointer(int $result, $absolutPos)

Set the internal row pointer of the result id to point to the specified row number.Warning: documentation is missing.

Fields inherited from Bs_Db

$_connection, $_connected, $_persistent, $_dsninfo, $_lastquery, $bs_date, $_bs_system

Public Field Summary

array

$format

some database specific formats. overwrites parent.

Private Field Summary

string

$_databaseNames

cached result from fetchDatabaseNames().
string

$_tableNames

cached result from fetchTableNames().
string

$_fieldNames

cached result from fetchFieldNames().
string

$_iniVars

cached result from getIniVar().
string

$_statusVars

cached result from getStatusVar().
string

$_currentlyOpenTransactionID

Holds the 'transaction ID'. (If an trans. ID was set).
unknown

$_lastStmt

last statement, oracle specific.
array

$_features

Associative array of capabilities for this DB implementation.

Private Constant Summary

BS_OCI_VERSION >>4.0.$x$<< Warning: documentation is missing.

Public Method Details

Bs_Oci

public void Bs_Oci( )

  Constructor.

Returns void


connect

public int connect( array $dsn, string $persistent )

  Connect to a database server and log in as the specified user.
use (select) the given db, if any.NOTE I: If we are already connected to somewhere (no matter where),the existing db connection gets closed first.NOTE II: It's possible to get back an exception but the connection was successfull.Probably the given default database could not be selected => BS_DB_ERROR_CANNOT_SELECT_DB

Parameter
array $dsn
. The parseDSN() is deactivated, would need cleanup.
string $persistent
Warning: documentation is missing.
Returns int

resource id # on success

Throws Bs_Exception: one of BS_DB_ERROR_INVALID_DSN, BS_DB_ERROR_CONNECT_FAILED, BS_DB_ERROR_CANNOT_SELECT_DB

disconnect

public bool disconnect( )

  Log out and disconnect from the database.

Returns bool

TRUE if we already have been or are now disconnected, FALSE if we're on a persistant conn.

Throws NULL if we cannot tell in which state the connection is now. internally for this object, the connection is 'closed'.

selectDb

public bool selectDb( string $db )

  Select a database.

Parameter
string $db
a database name.
Returns bool

true on success, false on failure.


&fetchRow

public mixed &fetchRow( int $result, string $fetchMode )

  Fetch a row and return it as vector or hash depending on the fetchMode.
Subsequent calls will return the next row in the result set, or NULL if there are no more rows.If fetchMode is BS_DB_FETCHMODE_ASSOC (default), it returns a hash array that correspondsto the fetched row else if it's BS_DB_FETCHMODE_ORDERED returns a vector starting at offset 0.A clean example usage of this method to fetch rows into an array:while ($row = $this->fetchRow($res, $fetchMode)) {if ($this->isException($row)) {$row->stackTrace('was here: currentFunction()', __FILE__, __LINE__);return $row;}$ret[] = $row;}

Parameter
int $result
(opt) (default BS_DB_FETCHMODE_ASSOC) see above.
string $fetchMode
Warning: documentation is missing.
Returns mixed

vector , hash or NULL if there is no more data

Throws Bs_Exception on error.

numCols

public int numCols( $result )

  Get the number of columns (fields) from a result set.

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
Returns int

the number of columns per row in $result

Throws Bs_Exception with BS_DB_ERROR_INVALID_RS on an invalid $result param, Bs_Exception if it failed somehow

numRows

public int numRows( $result )

  Get the number of rows from a result set.

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
Returns int

the number of rows in $result

Throws Bs_Exception with BS_DB_ERROR_INVALID_RS on an invalid $result param, Bs_Exception if mysql_num_rows() failed somehow.

affectedRows

public int affectedRows( )

  Gets the number of rows affected by the data manipulation query.
For other queries, this function returns FALSE. see numRows().

Warning: documentation is missing.

Returns int

number of rows affected by the last query or FALSE if none are affected or not a manipulation query.

Throws Bs_Exception if mysql_affected_rows() fails.

insertId

public void insertId( )

 

Warning: documentation is missing.

Returns void

Throws Bs_Exception if not supported by this DB or any other error.

freeResult

public void freeResult( $result )

  Free the internal resources associated with $result. Only needs to be called if you are
concerned about how much memory is being used for queries that return large result sets.All associated result memory is automatically freed at the end of the script's execution.

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
Returns void


getTableInfo

public array getTableInfo( string $tblName, [ string $dbName ] )

  Returns a hash holding information about the given db table.
The returned hash (for mySQL 3.23.36) returns these 15 keys (values are examples):mysql> show table status like 'test';+------+--------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+----------------+---------+| Name | Type | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Create_options | Comment |+------+--------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+----------------+---------+| test | MyISAM | Dynamic | 4 | 22 | 88 | 4294967295 | 2048 | 0 | 5 | 2001-04-02 09:06:58 | 2001-04-02 09:07:00 | NULL | | |+------+--------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+----------------+---------+

Parameter
string $tblName
a db table name
string $dbName = >>NULL<<
. If empty (e.g: '' or NULL) then use the current dbName.
Returns array

assoc . array see description.

Throws Bs_Exception with BS_DB_ERROR_NEED_MORE_DATA if no $dbName available, Bs_Exception otherwise.
See Also tableHasTransactions(), getTableType()

tableHasTransactions

public bool tableHasTransactions( string $tblName, [ string $dbName ] )

 

Parameter
string $tblName
a db table name
string $dbName = >>NULL<<
a db name, default is NULL which means use the current one.
Returns bool

true if table supports transactions, false otherwise.

See Also getTableType(), getTableInfo()

escapeString

public string escapeString( string $query )

  Escape string for oracle query.

Warning: documentation is missing.

Parameter
string $query
Returns string

the escaped query


formatDateForDb

public string formatDateForDb( string $date )

  format and return date string in database date format.
overwrites parent method.

Warning: documentation is missing.

Parameter
string $date
(yyyy-mm-dd)
Returns string

(date formatted for this rdbms implementation)

Throws string "''" (two single quotes)
See Also formatDatetimeForDb(), formatTimestampForDb()

formatDatetimeForDb

public string formatDatetimeForDb( string $datetime )

  format and return datetime string in database datetime format.
overwrites parent method.

Warning: documentation is missing.

Parameter
string $datetime
(yyyy-mm-dd hh:mm:ss)
Returns string

(datetime formatted for this rdbms implementation)

See Also formatDateForDb(), formatTimestampForDb()

formatTimestampForDb

public string formatTimestampForDb( string $timestamp )

  format and return timestamp string in database timestamp format.
overwrites parent method.

Warning: documentation is missing.

Parameter
string $timestamp
(yyyy-mm-dd hh:mm:ss)
Returns string

(timestamp formatted for this rdbms implementation)

See Also formatDateForDb(), formatDatetimeForDb()

idWrite

public int idWrite( string $query )

  overwrites parent method.
needed cause oracle is different than mysql. i don't like it.we need a sequence for this to work.

Warning: documentation is missing.

Parameter
string $query
Returns int

(number >= 1)

Throws Bs_Exception if the query failed, FALSE if the operation was not an insert.
See Also countWrite(), write(), insertId()

isValidName

public void isValidName( string $string )

  Tells if a name for a db, table or field is accepted by the rdbms or not.

Parameter
string $string
Returns void


isReservedWord

public int isReservedWord( string $word )

  Tells if a word is a reserved word for the rdbms.
This is a 'shortcut' for => "sql reference" pdf chapter "C Oracle Reserved Words" and is great for something likean autmated system checkup.HINT: Make a type conversion (bool) and check for true or false on the returned value.

Parameter
string $word
the word you want to check
Returns int

0 if the word is ok, 1 if it's a discouraged word but allowed (don't use it please!!!), 2 if it's disallowed.


nativeErrorCode

public int nativeErrorCode( )

  Returns the numerical native error code from the previous sql operation or 0 (zero) if no error occured.

Warning: documentation is missing.

Returns int

native rdbms error code

Throws Bs_Exception if not supported by this DB or any other error.

&nativeErrorMsg

public string &nativeErrorMsg( )

  Returns the native error text from the previous sql operation or '' (empty string) if no error occured.
HINT: Better use nativeErrorCode() before calling this method, or call nativeError() directly.

Returns string

native rdbms error message

See Also nativeErrorCode()

&nativeError

public string &nativeError( )

  Returns the native error from the previous sql operation or '' (empty string) if no error occured.

Returns string

native rdbms error code and message like "code:text" or empty string if no error.

See Also nativeErrorCode()

_dbErrorToBsError

public mixed _dbErrorToBsError( int $dbError )

  Maps error codes of the current dbms to bs-dbErrorCodes.

Parameter
int $dbError
Returns mixed

(int bs-dbErrorCode if the error code is mapped, bool FALSE otherwise.


<

Private Method Details

_query

private void _query( string $query )

  Send a query to oracle and return the statement.

Warning: documentation is missing.

Parameter
string $query
the SQL query
Returns void

Throws Bs_Exception
See Also idWrite()

_vendorSpecificWriteMod

private string _vendorSpecificWriteMod( string $query )

  overwrites parent method.

Warning: documentation is missing.

Parameter
string $query
(write query like insert, update, delete ...)
Returns string

(the modified or unmodified query)


_ociRaiseError

private object an _ociRaiseError( [ string $errNo, string $file, string $line, string $weight, string $msg ] )

  Throw an error. This method makes use of Bs_Db->_raiseError().
If you give a bs-db error code as param $errNo, this one is taken and given toBs_Db->_raiseError(). If not, this method asks the db for the last error andpasses this one over. If there is a matching bs-dberrorcode it is also passed over.So... if you know there was a db error but don't have it and don't know whichone, use$this->_mysqlRaiseError(NULL, __FILE__, __LINE__, 'fatal');else use$this->_mysqlRaiseError(THE_BS_BS_DB_ERROR_CODE, __FILE__, __LINE__, 'fatal');

Parameter
string $errNo = >>NULL,<<
a bs-dbErrorCode please.
string $file = >>''<<
just use __FILE__
string $line = >>''<<
just use __LINE__
string $weight = >>''<<
can be 'fatal'.
string $msg = >>''<<
an error message you create or whatever.
Returns object an

instance of Bs_Exception


modifyLimitQuery

private void modifyLimitQuery( $query, $from, $count )

 

Warning: documentation is missing.

Parameter
$query
Warning: documentation is missing.
$from
Warning: documentation is missing.
$count
Warning: documentation is missing.
Returns void


fieldName

private void fieldName( $result, $offset )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
$offset
Warning: documentation is missing.
Returns void


tableName

private void tableName( $result, $offset )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
$offset
Warning: documentation is missing.
Returns void


tableName2

private void tableName2( $result, $offset )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
$offset
Warning: documentation is missing.
Returns void


databaseName

private void databaseName( $result, $offset )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
$offset
Warning: documentation is missing.
Returns void


fieldLen

private void fieldLen( $result, $offset )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
$offset
Warning: documentation is missing.
Returns void


fieldFlags

private void fieldFlags( $result, $offset, string $format )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
$offset
Warning: documentation is missing.
string $format
Warning: documentation is missing.
Returns void


hasFieldFlag

private void hasFieldFlag( $result, $offset, $flag )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
$offset
Warning: documentation is missing.
$flag
Warning: documentation is missing.
Returns void


fieldType

private void fieldType( $result, integer $offset )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
integer $offset
Warning: documentation is missing.
Returns void


listDatabases

private void listDatabases( )

 

Warning: documentation is missing.

Returns void


listTables

private void listTables( string $dbName )

 

Warning: documentation is missing.

Parameter
string $dbName
Warning: documentation is missing.
Returns void


listFields

private void listFields( $tableName, string $dbName )

 

Warning: documentation is missing.

Parameter
$tableName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
Returns void


&fetchDatabaseNames

private void &fetchDatabaseNames( string $format, string $useCache )

 

Warning: documentation is missing.

Parameter
string $format
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


&fetchTableNames

private void &fetchTableNames( string $dbName, string $format, string $useCache )

 

Warning: documentation is missing.

Parameter
string $dbName
Warning: documentation is missing.
string $format
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


&fetchFieldNames

private void &fetchFieldNames( $tblName, string $dbName, string $format, string $useCache )

 

Warning: documentation is missing.

Parameter
$tblName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
string $format
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


&getDbStructure

private void &getDbStructure( string $dbName, string $useCache )

 

Warning: documentation is missing.

Parameter
string $dbName
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


fetchField

private void fetchField( $result, string $offset )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
string $offset
Warning: documentation is missing.
Returns void


fieldExists

private void fieldExists( $fieldName, $tableName, string $dbName, string $useCache )

 

Warning: documentation is missing.

Parameter
$fieldName
Warning: documentation is missing.
$tableName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


tableExists

private void tableExists( $tableName, string $dbName, string $useCache )

 

Warning: documentation is missing.

Parameter
$tableName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


databaseExists

private void databaseExists( $dbName, string $useCache )

 

Warning: documentation is missing.

Parameter
$dbName
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


getTableStructure

private void getTableStructure( $tblName, string $dbName )

 

Warning: documentation is missing.

Parameter
$tblName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
Returns void


updateTableStructure

private void updateTableStructure( $structure, $tblName, string $dbName, integer $shrink )

 

Warning: documentation is missing.

Parameter
$structure
Warning: documentation is missing.
$tblName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
integer $shrink
Warning: documentation is missing.
Returns void


_createAlterLine

private void _createAlterLine( $fieldName, $fieldDef )

 

Warning: documentation is missing.

Parameter
$fieldName
Warning: documentation is missing.
$fieldDef
Warning: documentation is missing.
Returns void


getTableProperties

private void getTableProperties( $tblName, string $dbName )

 

Warning: documentation is missing.

Parameter
$tblName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
Returns void


getTableLastmod

private void getTableLastmod( $tblName, string $dbName )

 

Warning: documentation is missing.

Parameter
$tblName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
Returns void


getTablesLastmod

private void getTablesLastmod( $dbs )

 

Warning: documentation is missing.

Parameter
$dbs
Warning: documentation is missing.
Returns void


tableInfo

private void tableInfo( $result, string $mode )

 

Warning: documentation is missing.

Parameter
$result
Warning: documentation is missing.
string $mode
Warning: documentation is missing.
Returns void


getTableType

private void getTableType( $tblName, string $dbName )

 

Warning: documentation is missing.

Parameter
$tblName
Warning: documentation is missing.
string $dbName
Warning: documentation is missing.
Returns void


serverSupportsTableType

private void serverSupportsTableType( $tableType )

 

Warning: documentation is missing.

Parameter
$tableType
Warning: documentation is missing.
Returns void


switchUser

private void switchUser( $user, $pass )

 

Warning: documentation is missing.

Parameter
$user
Warning: documentation is missing.
$pass
Warning: documentation is missing.
Returns void


getOpenTables

private void getOpenTables( string $dbName, string $return )

 

Warning: documentation is missing.

Parameter
string $dbName
Warning: documentation is missing.
string $return
Warning: documentation is missing.
Returns void


getIniVar

private void getIniVar( string $key, string $useCache )

 

Warning: documentation is missing.

Parameter
string $key
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


getStatusVar

private void getStatusVar( string $key, string $useCache )

 

Warning: documentation is missing.

Parameter
string $key
Warning: documentation is missing.
string $useCache
Warning: documentation is missing.
Returns void


getClientInfo

private void getClientInfo( )

 

Warning: documentation is missing.

Returns void


getHostInfo

private void getHostInfo( )

 

Warning: documentation is missing.

Returns void


getProtocolInfo

private void getProtocolInfo( )

 

Warning: documentation is missing.

Returns void


getServerInfo

private void getServerInfo( )

 

Warning: documentation is missing.