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

Class: MDB2_Driver_Reverse_oci8

Source Location: /MDB2_Driver_oci8-0.2.6/MDB2/Driver/Reverse/oci8.php

Class Overview

MDB2_Driver_Reverse_Common
   |
   --MDB2_Driver_Reverse_oci8

MDB2 Oracle driver for the schema reverse engineering module


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 57]
MDB2 Oracle driver for the schema reverse engineering module


[ Top ]


Method Detail

getSequenceDefinition   [line 293]

mixed getSequenceDefinition( string $sequence)

Get the stucture of a sequence into an array
  • Return: data array on success, a MDB2 error on failure
  • Access: public

Parameters:

string   $sequence     name of sequence that should be used in method

[ Top ]

getTableConstraintDefinition   [line 226]

mixed getTableConstraintDefinition( string $table, string $index_name)

Get the stucture of a constraint into an array
  • Return: data array on success, a MDB2 error on failure
  • Access: public

Parameters:

string   $table     name of table that should be used in method
string   $index_name     name of index that should be used in method

[ Top ]

getTableFieldDefinition   [line 69]

mixed getTableFieldDefinition( string $table, string $field_name)

Get the stucture of a field into an array
  • Return: data array on success, a MDB2 error on failure
  • Access: public

Parameters:

string   $table     name of table that should be used in method
string   $field_name     name of field that should be used in method

[ Top ]

getTableIndexDefinition   [line 156]

mixed getTableIndexDefinition( string $table, string $index_name)

Get the stucture of an index into an array
  • Return: data array on success, a MDB2 error on failure
  • Access: public

Parameters:

string   $table     name of table that should be used in method
string   $index_name     name of index that should be used in method

[ Top ]

tableInfo   [line 341]

array tableInfo( object|string $result, [int $mode = null])

Returns information about a table or a result set

NOTE: only supports 'table' and 'flags' if $result is a table name.

NOTE: flags won't contain index information.

  • Return: an associative array with the information requested. A MDB2_Error object on failure.
  • See: MDB2_Driver_Common::tableInfo()

Parameters:

object|string   $result     MDB2_result object from a query or a string containing the name of a table. While this also accepts a query result resource identifier, this behavior is deprecated.
int   $mode     a valid tableInfo mode

[ Top ]


Documentation generated on Sun, 14 May 2006 02:35:12 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.