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

Class: MDB2_Driver_Reverse_sqlite

Source Location: /MDB2_Driver_sqlite-1.4.0/MDB2/Driver/Reverse/sqlite.php

Class Overview

MDB2_Driver_Reverse_Common
   |
   --MDB2_Driver_Reverse_sqlite

MDB2 SQlite driver for the schema reverse engineering module


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

getTableConstraintDefinition   [line 311]

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

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. The returned array contains an array for each field definition, with (some of) these indices: [notnull] [nativetype] [length] [fixed] [default] [type] [mdb2type]
  • 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 232]

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 ]

getTriggerDefinition   [line 420]

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

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

Returns information about a table
  • Return: an associative array with the information requested. A MDB2_Error object on failure.
  • See: MDB2_Driver_Common::tableInfo()
  • Since: Method available since Release 1.7.0

Parameters:

string   $result   —  a string containing the name of a table
int   $mode   —  a valid tableInfo mode

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:57:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.