ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
getTableFieldDefinition ($table, $field_name) | |
Get the structure of a field into an array. | |
getTableIndexDefinition ($table, $constraint_name) | |
Get the structure of an index into an array. | |
getTableConstraintDefinition ($table, $index_name) | |
Get the structure of a constraint into an array. | |
getTriggerDefinition ($trigger) | |
Get the structure of a trigger into an array. | |
tableInfo ($result, $mode=null) | |
Returns information about a table or a result set. | |
Public Member Functions inherited from MDB2_Driver_Reverse_Common | |
getSequenceDefinition ($sequence) | |
Get the structure of a sequence into an array. | |
Public Member Functions inherited from MDB2_Module_Common | |
__construct ($db_index) | |
Constructor. | |
MDB2_Module_Common ($db_index) | |
PHP 4 Constructor. | |
& | getDBInstance () |
Get the instance of MDB2 associated with the module instance. |
Additional Inherited Members | |
Data Fields inherited from MDB2_Module_Common | |
$db_index |
MDB2_Driver_Reverse_mysql::getTableConstraintDefinition | ( | $table, | |
$index_name | |||
) |
Get the structure of a constraint into an array.
string | $table | name of table that should be used in method |
string | $index_name | name of index that should be used in method |
Reimplemented from MDB2_Driver_Reverse_Common.
Definition at line 241 of file mysql.php.
References $query, $result, $row, MDB2_Module_Common\getDBInstance(), PEAR\isError(), MDB2_ERROR_NOT_FOUND, MDB2_FETCHMODE_ASSOC, and MDB2_PORTABILITY_FIX_CASE.
MDB2_Driver_Reverse_mysql::getTableFieldDefinition | ( | $table, | |
$field_name | |||
) |
Get the structure of a field into an array.
string | $table | name of table that should be used in method |
string | $field_name | name of field that should be used in method |
Reimplemented from MDB2_Driver_Reverse_Common.
Definition at line 70 of file mysql.php.
References $columns, $key, $query, $result, $type, MDB2_Module_Common\getDBInstance(), PEAR\isError(), MDB2_ERROR_NOT_FOUND, MDB2_FETCHMODE_ASSOC, and MDB2_PORTABILITY_FIX_CASE.
MDB2_Driver_Reverse_mysql::getTableIndexDefinition | ( | $table, | |
$constraint_name | |||
) |
Get the structure of an index into an array.
string | $table | name of table that should be used in method |
string | $constraint_name | name of constraint that should be used in method |
Reimplemented from MDB2_Driver_Reverse_Common.
Definition at line 168 of file mysql.php.
References $query, $result, $row, MDB2_Module_Common\getDBInstance(), PEAR\isError(), MDB2_ERROR_NOT_FOUND, MDB2_FETCHMODE_ASSOC, and MDB2_PORTABILITY_FIX_CASE.
MDB2_Driver_Reverse_mysql::getTriggerDefinition | ( | $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
string | $trigger | name of trigger that should be used in method |
Reimplemented from MDB2_Driver_Reverse_Common.
Definition at line 325 of file mysql.php.
References $query, MDB2_Module_Common\getDBInstance(), PEAR\isError(), and MDB2_FETCHMODE_ASSOC.
MDB2_Driver_Reverse_mysql::tableInfo | ( | $result, | |
$mode = null |
|||
) |
Returns information about a table or a result set.
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 |
Reimplemented from MDB2_Driver_Reverse_Common.
Definition at line 373 of file mysql.php.
References $res, $result, elseif(), MDB2_Module_Common\getDBInstance(), PEAR\isError(), MDB2\isResultCommon(), MDB2_ERROR_NEED_MORE_DATA, MDB2_PORTABILITY_FIX_CASE, MDB2_TABLEINFO_ORDER, and MDB2_TABLEINFO_ORDERTABLE.