|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDBPdoFieldDefinition. More...
Inheritance diagram for ilDBPdoFieldDefinition:
Collaboration diagram for ilDBPdoFieldDefinition:Public Member Functions | |
| __construct (\ilDBInterface $ilDBInterface) | |
| ilDBPdoFieldDefinition constructor. More... | |
| checkTableName ($table_name) | |
| isReserved ($table_name) | |
| getAllReserved () | |
| getReservedMysql () | |
| setReservedMysql ($reserved_mysql) | |
| getReservedPostgres () | |
| setReservedPostgres ($reserved_postgres) | |
| checkColumnName ($column_name) | |
| checkIndexName ($a_name) | |
| checkColumnDefinition ($a_def) | |
| isAllowedAttribute ($attribute, $type) | |
| getAvailableTypes () | |
| setAvailableTypes ($available_types) | |
| getAllowedAttributes () | |
| setAllowedAttributes ($allowed_attributes) | |
| getMaxLength () | |
| setMaxLength ($max_length) | |
| getValidTypes () | |
| convertResult ($value, $type, $rtrim=true) | |
| convertResultRow ($types, $row, $rtrim=true) | |
| getDeclaration ($type, $name, $field) | |
| getTypeDeclaration ($field) | |
| compareDefinition ($current, $previous) | |
| quote ($value, $type=null, $quote=true, $escape_wildcards=false) | |
| writeLOBToFile ($lob, $file) | |
| destroyLOB ($lob) | |
| implodeArray ($array, $type=false) | |
| matchPattern ($pattern, $operator=null, $field=null) | |
| patternEscapeString () | |
| mapNativeDatatype ($field) | |
| mapPrepareDatatype ($type) | |
Data Fields | |
| const | DEFAULT_DECIMAL_PLACES = 2 |
| const | DEFAULT_TEXT_LENGTH = 4000 |
| const | DEFINITION_COLUMN_NAME = "/^[a-z]+[_a-z0-9]*$/" |
| const | DEFINITION_TABLE_NAME = "/^[a-z]+[_a-z0-9]*$/" |
| const | INDEX_FORMAT = '%s_idx' |
| const | SEQUENCE_COLUMNS_NAME = 'sequence' |
| const | SEQUENCE_FORMAT = '%s_seq' |
| const | T_BLOB = 'blob' |
| const | T_CLOB = 'clob' |
| const | T_DATE = 'date' |
| const | T_DATETIME = 'datetime' |
| const | T_FLOAT = 'float' |
| const | T_INTEGER = 'integer' |
| const | T_TEXT = 'text' |
| const | T_TIME = 'time' |
| const | T_TIMESTAMP = 'timestamp' |
| $allowed_attributes_old | |
| $allowed_attributes | |
Protected Member Functions | |
| getQueryUtils () | |
| getDBInstance () | |
| checkResultTypes ($types) | |
| baseConvertResult ($value, $type, $rtrim=true) | |
| sortResultFieldTypes ($columns, $types) | |
| getInternalDeclaration ($name, $field) | |
| getDeclarationOptions ($field) | |
| getCharsetFieldDeclaration ($charset) | |
| getCollationFieldDeclaration ($collation) | |
| getIntegerDeclaration ($name, $field) | |
| getTextDeclaration ($name, $field) | |
| getCLOBDeclaration ($name, $field) | |
| getBLOBDeclaration ($name, $field) | |
| getBooleanDeclaration ($name, $field) | |
| getDateDeclaration ($name, $field) | |
| getTimestampDeclaration ($name, $field) | |
| getTimeDeclaration ($name, $field) | |
| getFloatDeclaration ($name, $field) | |
| getDecimalDeclaration ($name, $field) | |
| compareIntegerDefinition ($current, $previous) | |
| compareTextDefinition ($current, $previous) | |
| compareCLOBDefinition ($current, $previous) | |
| compareBLOBDefinition ($current, $previous) | |
| compareDateDefinition ($current, $previous) | |
| compareTimeDefinition ($current, $previous) | |
| compareTimestampDefinition ($current, $previous) | |
| compareBooleanDefinition ($current, $previous) | |
| compareFloatDefinition ($current, $previous) | |
| compareDecimalDefinition ($current, $previous) | |
| quoteInteger ($value, $quote, $escape_wildcards) | |
| quoteText ($value, $quote, $escape_wildcards) | |
| readFile ($value) | |
| quoteLOB ($value, $quote, $escape_wildcards) | |
| quoteCLOB ($value, $quote, $escape_wildcards) | |
| quoteBLOB ($value, $quote, $escape_wildcards) | |
| quoteBoolean ($value, $quote, $escape_wildcards) | |
| quoteDate ($value, $quote, $escape_wildcards) | |
| quoteTimestamp ($value, $quote, $escape_wildcards) | |
| quoteTime ($value, $quote, $escape_wildcards) | |
| quoteFloat ($value, $quote, $escape_wildcards) | |
| quoteDecimal ($value, $quote, $escape_wildcards) | |
| retrieveLOB (&$lob) | |
| readLOB ($lob, $length) | |
| endOfLOB ($lob) | |
| destroyLOBInternal (&$lob) | |
| mapNativeDatatypeInternal ($field) | |
Protected Attributes | |
| $db_instance | |
| $max_length | |
| $available_types | |
| $reserved_mysql | |
| $reserved_postgres | |
| $query_utils | |
| $valid_default_values | |
Static Protected Attributes | |
| static | $instance |
Class ilDBPdoFieldDefinition.
Definition at line 8 of file class.ilDBPdoFieldDefinition.php.
| ilDBPdoFieldDefinition::__construct | ( | \ilDBInterface | $ilDBInterface | ) |
ilDBPdoFieldDefinition constructor.
| \ilDBInterface | $ilDBInterface |
Definition at line 821 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $value | ||
| $type | ||
| bool | $rtrim |
Definition at line 1177 of file class.ilDBPdoFieldDefinition.php.
References $type.
Referenced by convertResult().
Here is the caller graph for this function:| ilDBPdoFieldDefinition::checkColumnDefinition | ( | $a_def | ) |
| $a_def |
Definition at line 995 of file class.ilDBPdoFieldDefinition.php.
References $allowed_attributes, $max_length, getAllowedAttributes(), getAvailableTypes(), getMaxLength(), T_INTEGER, and T_TEXT.
Here is the call graph for this function:| ilDBPdoFieldDefinition::checkColumnName | ( | $column_name | ) |
| $column_name |
Definition at line 944 of file class.ilDBPdoFieldDefinition.php.
References isReserved().
Here is the call graph for this function:| ilDBPdoFieldDefinition::checkIndexName | ( | $a_name | ) |
| $a_name |
Definition at line 972 of file class.ilDBPdoFieldDefinition.php.
References isReserved().
Here is the call graph for this function:
|
protected |
| $types |
Definition at line 1154 of file class.ilDBPdoFieldDefinition.php.
References $key, $type, and getDBInstance().
Here is the call graph for this function:| ilDBPdoFieldDefinition::checkTableName | ( | $table_name | ) |
| $table_name |
Definition at line 862 of file class.ilDBPdoFieldDefinition.php.
References isReserved().
Here is the call graph for this function:
|
protected |
| $current | |
| $previous |
Definition at line 1703 of file class.ilDBPdoFieldDefinition.php.
References $current, and compareTextDefinition().
Here is the call graph for this function:
|
protected |
| $current | |
| $previous |
Definition at line 1747 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $current | |
| $previous |
Definition at line 1692 of file class.ilDBPdoFieldDefinition.php.
References $current, and compareTextDefinition().
Here is the call graph for this function:
|
protected |
| $current | |
| $previous |
Definition at line 1714 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $current | |
| $previous |
Definition at line 1769 of file class.ilDBPdoFieldDefinition.php.
| ilDBPdoFieldDefinition::compareDefinition | ( | $current, | |
| $previous | |||
| ) |
| $current | |
| $previous |
Definition at line 1598 of file class.ilDBPdoFieldDefinition.php.
References $current, $default, $type, and getDBInstance().
Here is the call graph for this function:
|
protected |
| $current | |
| $previous |
Definition at line 1758 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $current | |
| $previous |
Definition at line 1646 of file class.ilDBPdoFieldDefinition.php.
References $current.
|
protected |
| $current | |
| $previous |
Definition at line 1669 of file class.ilDBPdoFieldDefinition.php.
References $current.
Referenced by compareBLOBDefinition(), and compareCLOBDefinition().
Here is the caller graph for this function:
|
protected |
| $current | |
| $previous |
Definition at line 1725 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $current | |
| $previous |
Definition at line 1736 of file class.ilDBPdoFieldDefinition.php.
| ilDBPdoFieldDefinition::convertResult | ( | $value, | |
| $type, | |||
$rtrim = true |
|||
| ) |
| $value | ||
| $type | ||
| bool | $rtrim |
Definition at line 1230 of file class.ilDBPdoFieldDefinition.php.
References $type, baseConvertResult(), and getDBInstance().
Referenced by convertResultRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDBPdoFieldDefinition::convertResultRow | ( | $types, | |
| $row, | |||
$rtrim = true |
|||
| ) |
| $types | ||
| $row | ||
| bool | $rtrim |
Definition at line 1257 of file class.ilDBPdoFieldDefinition.php.
References $key, $row, convertResult(), and sortResultFieldTypes().
Here is the call graph for this function:| ilDBPdoFieldDefinition::destroyLOB | ( | $lob | ) |
| $lob |
Definition at line 2157 of file class.ilDBPdoFieldDefinition.php.
References destroyLOBInternal().
Here is the call graph for this function:
|
protected |
| $lob |
Definition at line 2175 of file class.ilDBPdoFieldDefinition.php.
Referenced by destroyLOB().
Here is the caller graph for this function:
|
protected |
| $lob |
Definition at line 2147 of file class.ilDBPdoFieldDefinition.php.
| ilDBPdoFieldDefinition::getAllowedAttributes | ( | ) |
Definition at line 1083 of file class.ilDBPdoFieldDefinition.php.
References $allowed_attributes.
Referenced by checkColumnDefinition().
Here is the caller graph for this function:| ilDBPdoFieldDefinition::getAllReserved | ( | ) |
Definition at line 897 of file class.ilDBPdoFieldDefinition.php.
References getReservedMysql(), and getReservedPostgres().
Here is the call graph for this function:| ilDBPdoFieldDefinition::getAvailableTypes | ( | ) |
Definition at line 1065 of file class.ilDBPdoFieldDefinition.php.
References $available_types.
Referenced by checkColumnDefinition().
Here is the caller graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1515 of file class.ilDBPdoFieldDefinition.php.
References $name, getDBInstance(), and getTypeDeclaration().
Here is the call graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1531 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
Here is the call graph for this function:
|
protected |
| $charset |
Definition at line 1448 of file class.ilDBPdoFieldDefinition.php.
Referenced by getDeclarationOptions().
Here is the caller graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1499 of file class.ilDBPdoFieldDefinition.php.
References $name, getDBInstance(), and getTypeDeclaration().
Here is the call graph for this function:
|
protected |
| $collation |
Definition at line 1458 of file class.ilDBPdoFieldDefinition.php.
Referenced by getDeclarationOptions().
Here is the caller graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1542 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
Here is the call graph for this function:
|
protected |
Definition at line 1119 of file class.ilDBPdoFieldDefinition.php.
References $db_instance.
Referenced by checkResultTypes(), compareDefinition(), convertResult(), getBLOBDeclaration(), getCLOBDeclaration(), getDeclaration(), getDeclarationOptions(), getIntegerDeclaration(), ilDBPdoMySQLFieldDefinition\getIntegerDeclaration(), ilDBPdoPostgresFieldDefinition\getIntegerDeclaration(), getInternalDeclaration(), getTypeDeclaration(), ilDBPdoMySQLFieldDefinition\getTypeDeclaration(), ilDBPdoPostgresFieldDefinition\getTypeDeclaration(), getValidTypes(), mapNativeDatatype(), mapPrepareDatatype(), matchPattern(), quote(), quoteDate(), quoteText(), quoteTime(), quoteTimestamp(), readFile(), and writeLOBToFile().
Here is the caller graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1586 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
Here is the call graph for this function:| ilDBPdoFieldDefinition::getDeclaration | ( | $type, | |
| $name, | |||
| $field | |||
| ) |
| $type | |
| $name | |
| $field |
Definition at line 1323 of file class.ilDBPdoFieldDefinition.php.
References $name, $type, and getDBInstance().
Here is the call graph for this function:
|
protected |
| $field |
Definition at line 1405 of file class.ilDBPdoFieldDefinition.php.
References $default, $valid_default_values, getCharsetFieldDeclaration(), getCollationFieldDeclaration(), getDBInstance(), getValidTypes(), and quote().
Here is the call graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1575 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
Here is the call graph for this function:
|
protected |
| $name | |
| $field |
Reimplemented in ilDBPdoMySQLFieldDefinition, and ilDBPdoPostgresFieldDefinition.
Definition at line 1470 of file class.ilDBPdoFieldDefinition.php.
References $name, getDBInstance(), and getInternalDeclaration().
Here is the call graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1389 of file class.ilDBPdoFieldDefinition.php.
References $name, getDBInstance(), and getTypeDeclaration().
Referenced by getBooleanDeclaration(), getDateDeclaration(), getDecimalDeclaration(), getFloatDeclaration(), getIntegerDeclaration(), getTextDeclaration(), getTimeDeclaration(), and getTimestampDeclaration().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDBPdoFieldDefinition::getMaxLength | ( | ) |
Definition at line 1101 of file class.ilDBPdoFieldDefinition.php.
References $max_length.
Referenced by checkColumnDefinition().
Here is the caller graph for this function:
|
protected |
Definition at line 830 of file class.ilDBPdoFieldDefinition.php.
References $query_utils.
| ilDBPdoFieldDefinition::getReservedMysql | ( | ) |
Definition at line 906 of file class.ilDBPdoFieldDefinition.php.
References $reserved_mysql.
Referenced by getAllReserved().
Here is the caller graph for this function:| ilDBPdoFieldDefinition::getReservedPostgres | ( | ) |
Definition at line 924 of file class.ilDBPdoFieldDefinition.php.
References $reserved_postgres.
Referenced by getAllReserved().
Here is the caller graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1488 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
Here is the call graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1564 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
Here is the call graph for this function:
|
protected |
| $name | |
| $field |
Definition at line 1553 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
Here is the call graph for this function:| ilDBPdoFieldDefinition::getTypeDeclaration | ( | $field | ) |
| $field |
Reimplemented in ilDBPdoMySQLFieldDefinition, and ilDBPdoPostgresFieldDefinition.
Definition at line 1349 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance().
Referenced by getBLOBDeclaration(), getCLOBDeclaration(), and getInternalDeclaration().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDBPdoFieldDefinition::getValidTypes | ( | ) |
Definition at line 1128 of file class.ilDBPdoFieldDefinition.php.
References $default, $type, $valid_default_values, and getDBInstance().
Referenced by getDeclarationOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDBPdoFieldDefinition::implodeArray | ( | $array, | |
$type = false |
|||
| ) |
| $array | ||
| bool | $type |
Definition at line 2187 of file class.ilDBPdoFieldDefinition.php.
References $type, and quote().
Here is the call graph for this function:| ilDBPdoFieldDefinition::isAllowedAttribute | ( | $attribute, | |
| $type | |||
| ) |
| $attribute | |
| $type |
Definition at line 1056 of file class.ilDBPdoFieldDefinition.php.
References $type.
| ilDBPdoFieldDefinition::isReserved | ( | $table_name | ) |
| $table_name |
Definition at line 888 of file class.ilDBPdoFieldDefinition.php.
Referenced by checkColumnName(), checkIndexName(), and checkTableName().
Here is the caller graph for this function:| ilDBPdoFieldDefinition::mapNativeDatatype | ( | $field | ) |
| $field |
Definition at line 2267 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and mapNativeDatatypeInternal().
Here is the call graph for this function:
|
abstractprotected |
| $field |
Reimplemented in ilDBPdoMySQLFieldDefinition, and ilDBPdoPostgresFieldDefinition.
Referenced by mapNativeDatatype().
Here is the caller graph for this function:| ilDBPdoFieldDefinition::mapPrepareDatatype | ( | $type | ) |
| $type |
Definition at line 2291 of file class.ilDBPdoFieldDefinition.php.
References $type, and getDBInstance().
Here is the call graph for this function:| ilDBPdoFieldDefinition::matchPattern | ( | $pattern, | |
$operator = null, |
|||
$field = null |
|||
| ) |
| $pattern | ||
| null | $operator | |
| null | $field |
Definition at line 2211 of file class.ilDBPdoFieldDefinition.php.
References $key, getDBInstance(), and patternEscapeString().
Here is the call graph for this function:| ilDBPdoFieldDefinition::patternEscapeString | ( | ) |
Definition at line 2257 of file class.ilDBPdoFieldDefinition.php.
Referenced by matchPattern(), and quote().
Here is the caller graph for this function:| ilDBPdoFieldDefinition::quote | ( | $value, | |
$type = null, |
|||
$quote = true, |
|||
$escape_wildcards = false |
|||
| ) |
| $value | ||
| null | $type | |
| bool | $quote | |
| bool | $escape_wildcards |
Definition at line 1783 of file class.ilDBPdoFieldDefinition.php.
References $type, getDBInstance(), and patternEscapeString().
Referenced by getDeclarationOptions(), ilDBPdoMySQLFieldDefinition\getIntegerDeclaration(), ilDBPdoPostgresFieldDefinition\getIntegerDeclaration(), and implodeArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1950 of file class.ilDBPdoFieldDefinition.php.
References quoteLOB().
Here is the call graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1962 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1938 of file class.ilDBPdoFieldDefinition.php.
References quoteLOB().
Here is the call graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1974 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and quoteText().
Here is the call graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 2059 of file class.ilDBPdoFieldDefinition.php.
Referenced by quoteFloat().
Here is the caller graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 2038 of file class.ilDBPdoFieldDefinition.php.
References quoteDecimal().
Here is the call graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1859 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1924 of file class.ilDBPdoFieldDefinition.php.
References quoteText(), and readFile().
Referenced by quoteBLOB(), and quoteCLOB().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1871 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance().
Referenced by quoteDate(), quoteLOB(), quoteTime(), and quoteTimestamp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 2015 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and quoteText().
Here is the call graph for this function:
|
protected |
| $value | |
| $quote | |
| $escape_wildcards |
Definition at line 1992 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and quoteText().
Here is the call graph for this function:
|
protected |
| $value |
Definition at line 1889 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance().
Referenced by quoteLOB().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $lob | |
| $length |
Definition at line 2137 of file class.ilDBPdoFieldDefinition.php.
|
protected |
| $lob |
Definition at line 2121 of file class.ilDBPdoFieldDefinition.php.
| ilDBPdoFieldDefinition::setAllowedAttributes | ( | $allowed_attributes | ) |
| array | $allowed_attributes |
Definition at line 1092 of file class.ilDBPdoFieldDefinition.php.
References $allowed_attributes.
| ilDBPdoFieldDefinition::setAvailableTypes | ( | $available_types | ) |
| array | $available_types |
Definition at line 1074 of file class.ilDBPdoFieldDefinition.php.
References $available_types.
| ilDBPdoFieldDefinition::setMaxLength | ( | $max_length | ) |
| array | $max_length |
Definition at line 1110 of file class.ilDBPdoFieldDefinition.php.
References $max_length.
| ilDBPdoFieldDefinition::setReservedMysql | ( | $reserved_mysql | ) |
| array | $reserved_mysql |
Definition at line 915 of file class.ilDBPdoFieldDefinition.php.
References $reserved_mysql.
| ilDBPdoFieldDefinition::setReservedPostgres | ( | $reserved_postgres | ) |
| array | $reserved_postgres |
Definition at line 933 of file class.ilDBPdoFieldDefinition.php.
References $reserved_postgres.
|
protected |
| $columns | |
| $types |
Definition at line 1281 of file class.ilDBPdoFieldDefinition.php.
References $columns, $i, $name, and $type.
Referenced by convertResultRow().
Here is the caller graph for this function:| ilDBPdoFieldDefinition::writeLOBToFile | ( | $lob, | |
| $file | |||
| ) |
| $lob | |
| $file |
Definition at line 2091 of file class.ilDBPdoFieldDefinition.php.
References $result, and getDBInstance().
Here is the call graph for this function:| ilDBPdoFieldDefinition::$allowed_attributes |
Definition at line 46 of file class.ilDBPdoFieldDefinition.php.
Referenced by checkColumnDefinition(), getAllowedAttributes(), and setAllowedAttributes().
| ilDBPdoFieldDefinition::$allowed_attributes_old |
Definition at line 33 of file class.ilDBPdoFieldDefinition.php.
|
protected |
Definition at line 70 of file class.ilDBPdoFieldDefinition.php.
Referenced by getAvailableTypes(), and setAvailableTypes().
|
protected |
Definition at line 59 of file class.ilDBPdoFieldDefinition.php.
Referenced by getDBInstance().
|
staticprotected |
Definition at line 29 of file class.ilDBPdoFieldDefinition.php.
|
protected |
Definition at line 63 of file class.ilDBPdoFieldDefinition.php.
Referenced by checkColumnDefinition(), getMaxLength(), and setMaxLength().
|
protected |
Definition at line 813 of file class.ilDBPdoFieldDefinition.php.
Referenced by getQueryUtils().
|
protected |
Definition at line 83 of file class.ilDBPdoFieldDefinition.php.
Referenced by getReservedMysql(), and setReservedMysql().
|
protected |
Definition at line 713 of file class.ilDBPdoFieldDefinition.php.
Referenced by getReservedPostgres(), and setReservedPostgres().
|
protected |
Definition at line 843 of file class.ilDBPdoFieldDefinition.php.
Referenced by getDeclarationOptions(), and getValidTypes().
| const ilDBPdoFieldDefinition::DEFAULT_DECIMAL_PLACES = 2 |
Definition at line 10 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::DEFAULT_TEXT_LENGTH = 4000 |
Definition at line 11 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::DEFINITION_COLUMN_NAME = "/^[a-z]+[_a-z0-9]*$/" |
Definition at line 12 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::DEFINITION_TABLE_NAME = "/^[a-z]+[_a-z0-9]*$/" |
Definition at line 13 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::INDEX_FORMAT = '%s_idx' |
Definition at line 14 of file class.ilDBPdoFieldDefinition.php.
Referenced by ilDBPdoManager\fixIndexName(), ilDBPdoManagerPostgres\fixIndexName(), and ilDBPdo\getIndexName().
| const ilDBPdoFieldDefinition::SEQUENCE_COLUMNS_NAME = 'sequence' |
Definition at line 15 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::SEQUENCE_FORMAT = '%s_seq' |
Definition at line 16 of file class.ilDBPdoFieldDefinition.php.
Referenced by ilDBPdo\getSequenceName().
| const ilDBPdoFieldDefinition::T_BLOB = 'blob' |
Definition at line 17 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::T_CLOB = 'clob' |
Definition at line 18 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::T_DATE = 'date' |
Definition at line 19 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::T_DATETIME = 'datetime' |
Definition at line 20 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::T_FLOAT = 'float' |
Definition at line 21 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::T_INTEGER = 'integer' |
Definition at line 22 of file class.ilDBPdoFieldDefinition.php.
Referenced by checkColumnDefinition(), and ilDatabaseImplementationBaseTest\testSelectUsrData().
| const ilDBPdoFieldDefinition::T_TEXT = 'text' |
Definition at line 23 of file class.ilDBPdoFieldDefinition.php.
Referenced by checkColumnDefinition().
| const ilDBPdoFieldDefinition::T_TIME = 'time' |
Definition at line 24 of file class.ilDBPdoFieldDefinition.php.
| const ilDBPdoFieldDefinition::T_TIMESTAMP = 'timestamp' |
Definition at line 25 of file class.ilDBPdoFieldDefinition.php.