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

Class: MDB2_Driver_Reverse_mysql

Source Location: /MDB2-2.0.0beta2/MDB2/Driver/Reverse/mysql.php

Class Overview

MDB2_Driver_Reverse_Common
   |
   --MDB2_Driver_Reverse_mysql

MDB2 MySQL driver for the schema reverse engineering module


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: MDB2_Driver_Reverse_Common

MDB2_Driver_Reverse_Common::MDB2_Driver_Reverse_Common()
Constructor
MDB2_Driver_Reverse_Common::getSequenceDefinition()
get the stucture of a sequence into an array
MDB2_Driver_Reverse_Common::getTableFieldDefinition()
get the stucture of a field into an array
MDB2_Driver_Reverse_Common::getTableIndexDefinition()
get the stucture of an index into an array
MDB2_Driver_Reverse_Common::tableInfo()
Returns information about a table or a result set

Class Details

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


[ Top ]


Method Detail

MDB2_Driver_Reverse_mysql (Constructor)   [line 65]

MDB2_Driver_Reverse_mysql MDB2_Driver_Reverse_mysql( $db_index)

Constructor

Parameters:

   $db_index   — 

[ Top ]

getTableFieldDefinition   [line 81]

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

Overrides MDB2_Driver_Reverse_Common::getTableFieldDefinition() (get the stucture of a field into an array)

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 290]

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

Overrides MDB2_Driver_Reverse_Common::getTableIndexDefinition() (get the stucture of an index into an array)

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.
  • Return: an associative array with the information requested or an error object if something is wrong
  • See: MDB2_Driver_Common::tableInfo()
  • Access: public

Overrides MDB2_Driver_Reverse_Common::tableInfo() (Returns information about a table or a result set)

Parameters:

object|string   $result   —  MDB2_result object from a query or a string containing the name of a table
int   $mode   —  a valid tableInfo mode

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:15:51 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.