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

Class: MDB2_Driver_Reverse_ibase

Source Location: /MDB2_Driver_ibase-1.5.0b5/MDB2/Driver/Reverse/ibase.php

Class Overview

MDB2_Driver_Reverse_Common
   |
   --MDB2_Driver_Reverse_ibase

MDB2 InterbaseBase driver for the reverse engineering module


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 57]
MDB2 InterbaseBase driver for the reverse engineering module


[ Top ]


Class Variables

$subtypes = array(
        //char subtypes
        14 => array(
            0 => 'unspecified',
            1 => 'fixed', //BINARY data
        ),//blob subtypes
261=>array(0=>'unspecified',1=>'text',2=>'BLR',//Binary Language Representation
3=>'access control list',4=>'reserved for future use',5=>'encoded description of a table\'s current metadata',6=>'description of multi-database transaction that finished irregularly',),//smallint subtypes
7=>array(0=>'RDB$FIELD_TYPE',1=>'numeric',2=>'decimal',),//integer subtypes
8=>array(0=>'RDB$FIELD_TYPE',1=>'numeric',2=>'decimal',),//int64 subtypes
16=>array(0=>'RDB$FIELD_TYPE',1=>'numeric',2=>'decimal',),)

[line 86]

Array for converting constant values to text values
  • Access: public

Type:   array


[ Top ]

$types = array(
        7   => 'smallint',
        8   => 'integer',
        9   => 'quad',
        10  => 'float',
        11  => 'd_float',
        12  => 'date',      //dialect 3 DATE
        13  => 'time',
        14  => 'char',
        16  => 'int64',
        27  => 'double',
        35  => 'timestamp', //DATE in older versions
        37  => 'varchar',
        40  => 'cstring',
        261 => 'blob',
    )

[line 64]

Array for converting constant values to text values
  • Access: public

Type:   array


[ Top ]



Method Detail

getTableConstraintDefinition   [line 318]

mixed getTableConstraintDefinition( string $table_name, string $constraint_name)

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

Parameters:

string   $table_name   —  name of table that should be used in method
string   $constraint_name   —  name of constraint that should be used in method

[ Top ]

getTableFieldDefinition   [line 132]

mixed getTableFieldDefinition( string $table_name, string $field_name)

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

Parameters:

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

[ Top ]

getTableIndexDefinition   [line 243]

mixed getTableIndexDefinition( string $table_name, string $index_name, [ $format_index_name = true])

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

Parameters:

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

[ Top ]

getTriggerDefinition   [line 444]

mixed getTriggerDefinition( string $trigger)

Get the structure of a trigger into an array

EXPERIMENTAL

WARNING: this function is experimental and may change the returned value at any time until labelled as non-experimental

  • Return: data array on success, a MDB2 error on failure
  • Access: public

Parameters:

string   $trigger   —  name of trigger that should be used in method

[ Top ]

tableInfo   [line 527]

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.

  • 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 Mon, 11 Mar 2019 15:51:36 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.