ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilDBPdoReverse. More...
Public Member Functions | |
getTableConstraintDefinition ($table, $constraint_name) | |
Get the structure of a constraint into an array. More... | |
getTriggerDefinition ($trigger) | |
Get the structure of a trigger into an array. More... | |
tableInfo ($result, $mode=null) | |
Returns information about a table or a result set. More... | |
Public Member Functions inherited from ilDBPdoReverse | |
__construct (\PDO $pdo, ilDBPdo $db_instance) | |
ilDBPdoReverse constructor. More... | |
getQueryUtils () | |
getTableFieldDefinition ($table_name, $field_name) | |
getTableIndexDefinition ($table, $index_name) | |
getTableConstraintDefinition ($table, $constraint_name) | |
getTriggerDefinition ($trigger) | |
tableInfo ($result, $mode=null) | |
Additional Inherited Members | |
Protected Attributes inherited from ilDBPdoReverse | |
$pdo | |
$db_instance | |
$query_utils | |
Class ilDBPdoReverse.
Definition at line 9 of file class.ilDBPdoReversePostgres.php.
ilDBPdoReversePostgres::getTableConstraintDefinition | ( | $table, | |
$constraint_name | |||
) |
Get the structure of a constraint 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 |
Implements ilDBReverse.
Definition at line 186 of file class.ilDBPdoReversePostgres.php.
References $columns, ilDBPdoReverse\$db_instance, $query, $row, array, ilDBConstants\FETCHMODE_ASSOC, and ilDBConstants\MODULE_MANAGER.
ilDBPdoReversePostgres::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 |
: add support for plsql functions and functions with args
Implements ilDBReverse.
Definition at line 248 of file class.ilDBPdoReversePostgres.php.
References ilDBPdoReverse\$db_instance, $query, array, and MDB2_FETCHMODE_ASSOC.
ilDBPdoReversePostgres::tableInfo | ( | $result, | |
$mode = null |
|||
) |
Returns information about a table or a result set.
NOTE: only supports 'table' and 'flags' if $result is a table name.
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 |
Implements ilDBReverse.
Definition at line 312 of file class.ilDBPdoReversePostgres.php.
References ilDBPdoReverse\$db_instance, $res, $result, array, PEAR\isError(), MDB2\isResultCommon(), MDB2_ERROR_NEED_MORE_DATA, MDB2_TABLEINFO_ORDER, and MDB2_TABLEINFO_ORDERTABLE.