Documentation TYPO3 par Ameos

ADODB_sybase_ase Class Reference

Inheritance diagram for ADODB_sybase_ase:
Collaboration diagram for ADODB_sybase_ase:
List of all members.

Public Member Functions

 ADODB_sybase_ase ()
MetaTables ($ttype=false, $showSchema=false, $mask=false)
 MetaDatabases ()
MetaColumns ($table, $upper=false)
 getProcedureList ($schema)
 ErrorMsg ()

Public Attributes

 $databaseType = "sybase_ase"
 $metaTablesSQL = "SELECT FROM sysobjects, sysusers WHERE sysobjects.type='U' AND sysobjects.uid = sysusers.uid"
 $metaColumnsSQL = "SELECT AS field_name, AS type, systypes.length AS width FROM sysobjects, syscolumns, systypes WHERE'%s' AND = AND systypes.type=syscolumns.type"
 $metaDatabasesSQL = "SELECT FROM master.dbo.sysdatabases a, master.dbo.syslogins b WHERE a.suid = b.suid and like '%' and != 'tempdb' and a.status3 != 256 order by 1"
 character set to use - only for interbase, postgres and oci8

Detailed Description

Definition at line 16 of file

Member Function Documentation

& ADODB_sybase_ase::MetaTables ( ttype = false,
showSchema = false,
mask = false 

ttype can either be 'VIEW' or 'TABLE' or false. If false, both views and tables are returned. "VIEW" returns only views "TABLE" returns only tables
showSchema returns the schema/user with the table name, eg. USER.TABLE
mask is the input mask - only supported by oci8 and postgresql
array of tables for current database.

Reimplemented from ADOConnection.

Definition at line 28 of file

References ADOConnection::$false, ADOConnection::Execute(), and ADOConnection::GetArray().

ADODB_sybase_ase::MetaDatabases (  ) 

return the databases that the driver can connect to. Some databases will return an empty array.

an array of database names.

Reimplemented from ADOConnection.

Definition at line 57 of file

References ADOConnection::Execute().

& ADODB_sybase_ase::MetaColumns ( table,
upper = false 

List columns in a database as an array of ADOFieldObjects. See top of file for definition of object.

$table table name to query
$normalize makes table name case-insensitive (required by some databases) is optional database schema to use - not supported by all databases.
array of ADOFieldObjects for current table.

Reimplemented from ADOConnection.

Definition at line 74 of file

References ADOConnection::$false, and ADOConnection::Execute().

ADODB_sybase_ase::ErrorMsg (  ) 

the last error message

Reimplemented from ADODB_sybase.

Definition at line 102 of file

The documentation for this class was generated from the following file:

Généré par L'expert TYPO3 avec  doxygen 1.4.6