ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDBPdoFieldDefinition. More...
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().
ilDBPdoFieldDefinition::checkColumnDefinition | ( | $a_def | ) |
$a_def |
Definition at line 995 of file class.ilDBPdoFieldDefinition.php.
References $allowed_attributes, $max_length, getAllowedAttributes(), getAvailableTypes(), and getMaxLength().
ilDBPdoFieldDefinition::checkColumnName | ( | $column_name | ) |
$column_name |
Definition at line 944 of file class.ilDBPdoFieldDefinition.php.
References isReserved().
ilDBPdoFieldDefinition::checkIndexName | ( | $a_name | ) |
$a_name |
Definition at line 972 of file class.ilDBPdoFieldDefinition.php.
References isReserved().
|
protected |
$types |
Definition at line 1154 of file class.ilDBPdoFieldDefinition.php.
References $key, $type, and getDBInstance().
ilDBPdoFieldDefinition::checkTableName | ( | $table_name | ) |
$table_name |
Definition at line 862 of file class.ilDBPdoFieldDefinition.php.
References isReserved().
|
protected |
$current | |
$previous |
Definition at line 1703 of file class.ilDBPdoFieldDefinition.php.
References $current, and compareTextDefinition().
|
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().
|
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().
|
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().
|
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().
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().
ilDBPdoFieldDefinition::destroyLOB | ( | $lob | ) |
$lob |
Definition at line 2157 of file class.ilDBPdoFieldDefinition.php.
References destroyLOBInternal().
|
protected |
$lob |
Definition at line 2175 of file class.ilDBPdoFieldDefinition.php.
Referenced by destroyLOB().
|
protected |
ilDBPdoFieldDefinition::getAllowedAttributes | ( | ) |
Definition at line 1083 of file class.ilDBPdoFieldDefinition.php.
References $allowed_attributes.
Referenced by checkColumnDefinition().
ilDBPdoFieldDefinition::getAllReserved | ( | ) |
Definition at line 897 of file class.ilDBPdoFieldDefinition.php.
References getReservedMysql(), and getReservedPostgres().
ilDBPdoFieldDefinition::getAvailableTypes | ( | ) |
Definition at line 1065 of file class.ilDBPdoFieldDefinition.php.
References $available_types.
Referenced by checkColumnDefinition().
|
protected |
$name | |
$field |
Definition at line 1515 of file class.ilDBPdoFieldDefinition.php.
References $name, getDBInstance(), and getTypeDeclaration().
|
protected |
$name | |
$field |
Definition at line 1531 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
|
protected |
$charset |
Definition at line 1448 of file class.ilDBPdoFieldDefinition.php.
Referenced by getDeclarationOptions().
|
protected |
$name | |
$field |
Definition at line 1499 of file class.ilDBPdoFieldDefinition.php.
References $name, getDBInstance(), and getTypeDeclaration().
|
protected |
$collation |
Definition at line 1458 of file class.ilDBPdoFieldDefinition.php.
Referenced by getDeclarationOptions().
|
protected |
$name | |
$field |
Definition at line 1542 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
|
protected |
Definition at line 1119 of file class.ilDBPdoFieldDefinition.php.
References $db_instance.
Referenced by checkResultTypes(), compareDefinition(), convertResult(), getBLOBDeclaration(), getCLOBDeclaration(), getDeclaration(), getDeclarationOptions(), ilDBPdoPostgresFieldDefinition\getIntegerDeclaration(), ilDBPdoMySQLFieldDefinition\getIntegerDeclaration(), getIntegerDeclaration(), getInternalDeclaration(), ilDBPdoMySQLFieldDefinition\getTypeDeclaration(), ilDBPdoPostgresFieldDefinition\getTypeDeclaration(), getTypeDeclaration(), getValidTypes(), mapNativeDatatype(), mapPrepareDatatype(), matchPattern(), quote(), quoteDate(), quoteText(), quoteTime(), quoteTimestamp(), readFile(), and writeLOBToFile().
|
protected |
$name | |
$field |
Definition at line 1586 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
ilDBPdoFieldDefinition::getDeclaration | ( | $type, | |
$name, | |||
$field | |||
) |
$type | |
$name | |
$field |
Definition at line 1323 of file class.ilDBPdoFieldDefinition.php.
References $name, $type, and getDBInstance().
|
protected |
$field |
Definition at line 1405 of file class.ilDBPdoFieldDefinition.php.
References $default, $valid_default_values, getCharsetFieldDeclaration(), getCollationFieldDeclaration(), getDBInstance(), getValidTypes(), and quote().
|
protected |
$name | |
$field |
Definition at line 1575 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
|
protected |
$name | |
$field |
Definition at line 1470 of file class.ilDBPdoFieldDefinition.php.
References $name, getDBInstance(), and getInternalDeclaration().
|
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().
ilDBPdoFieldDefinition::getMaxLength | ( | ) |
Definition at line 1101 of file class.ilDBPdoFieldDefinition.php.
References $max_length.
Referenced by checkColumnDefinition().
|
protected |
ilDBPdoFieldDefinition::getReservedMysql | ( | ) |
Definition at line 906 of file class.ilDBPdoFieldDefinition.php.
References $reserved_mysql.
Referenced by getAllReserved().
ilDBPdoFieldDefinition::getReservedPostgres | ( | ) |
Definition at line 924 of file class.ilDBPdoFieldDefinition.php.
References $reserved_postgres.
Referenced by getAllReserved().
|
protected |
$name | |
$field |
Definition at line 1488 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
|
protected |
$name | |
$field |
Definition at line 1564 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
|
protected |
$name | |
$field |
Definition at line 1553 of file class.ilDBPdoFieldDefinition.php.
References $name, and getInternalDeclaration().
ilDBPdoFieldDefinition::getTypeDeclaration | ( | $field | ) |
$field |
Definition at line 1349 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance().
Referenced by getBLOBDeclaration(), getCLOBDeclaration(), and getInternalDeclaration().
ilDBPdoFieldDefinition::getValidTypes | ( | ) |
Definition at line 1128 of file class.ilDBPdoFieldDefinition.php.
References $default, $type, $valid_default_values, and getDBInstance().
Referenced by getDeclarationOptions().
ilDBPdoFieldDefinition::implodeArray | ( | $array, | |
$type = false |
|||
) |
$array | ||
bool | $type |
Definition at line 2187 of file class.ilDBPdoFieldDefinition.php.
References $type, and quote().
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(), checkTableName(), and ilDBPdo\isReservedWord().
ilDBPdoFieldDefinition::mapNativeDatatype | ( | $field | ) |
$field |
Definition at line 2267 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and mapNativeDatatypeInternal().
|
abstractprotected |
$field |
Referenced by mapNativeDatatype().
ilDBPdoFieldDefinition::mapPrepareDatatype | ( | $type | ) |
$type |
Definition at line 2291 of file class.ilDBPdoFieldDefinition.php.
References $type, and getDBInstance().
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().
ilDBPdoFieldDefinition::patternEscapeString | ( | ) |
Definition at line 2257 of file class.ilDBPdoFieldDefinition.php.
Referenced by matchPattern(), and quote().
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(), ilDBPdoPostgresFieldDefinition\getIntegerDeclaration(), ilDBPdoMySQLFieldDefinition\getIntegerDeclaration(), and implodeArray().
|
protected |
$value | |
$quote | |
$escape_wildcards |
Definition at line 1950 of file class.ilDBPdoFieldDefinition.php.
References quoteLOB().
|
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().
|
protected |
$value | |
$quote | |
$escape_wildcards |
Definition at line 1974 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and quoteText().
|
protected |
$value | |
$quote | |
$escape_wildcards |
Definition at line 2059 of file class.ilDBPdoFieldDefinition.php.
Referenced by quoteFloat().
|
protected |
$value | |
$quote | |
$escape_wildcards |
Definition at line 2038 of file class.ilDBPdoFieldDefinition.php.
References quoteDecimal().
|
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().
|
protected |
$value | |
$quote | |
$escape_wildcards |
Definition at line 1871 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance().
Referenced by quoteDate(), quoteLOB(), quoteTime(), and quoteTimestamp().
|
protected |
$value | |
$quote | |
$escape_wildcards |
Definition at line 2015 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and quoteText().
|
protected |
$value | |
$quote | |
$escape_wildcards |
Definition at line 1992 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance(), and quoteText().
|
protected |
$value |
Definition at line 1889 of file class.ilDBPdoFieldDefinition.php.
References getDBInstance().
Referenced by quoteLOB().
|
protected |
$lob | |
$length |
Definition at line 2137 of file class.ilDBPdoFieldDefinition.php.
|
protected |
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().
ilDBPdoFieldDefinition::writeLOBToFile | ( | $lob, | |
$file | |||
) |
$lob | |
$file |
Definition at line 2091 of file class.ilDBPdoFieldDefinition.php.
References $result, and getDBInstance().
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 ilDBPdoManagerPostgres\fixIndexName(), ilDBPdoManager\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 ilDatabaseImplementationBaseTest\testSelectUsrData().
const ilDBPdoFieldDefinition::T_TEXT = 'text' |
Definition at line 23 of file class.ilDBPdoFieldDefinition.php.
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.