|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilDBPdoMySQLFieldDefinition. More...
Inheritance diagram for ilDBPdoMySQLFieldDefinition:
Collaboration diagram for ilDBPdoMySQLFieldDefinition:Public Member Functions | |
| getTypeDeclaration ($field) | |
Public Member Functions inherited from ilDBPdoFieldDefinition | |
| __construct (\ilDBInterface $ilDBInterface) | |
| ilDBPdoFieldDefinition constructor. More... | |
| checkTableName ($table_name) | |
| isReserved ($table_name) | |
| getAllReserved () | |
| getReservedMysql () | |
| setReservedMysql ($reserved_mysql) | |
| getReservedPostgres () | |
| setReservedPostgres ($reserved_postgres) | |
| getReservedOracle () | |
| setReservedOracle ($reserved_oracle) | |
| 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) | |
Protected Member Functions | |
| getIntegerDeclaration ($name, $field) | |
| mapNativeDatatypeInternal ($field) | |
Protected Member Functions inherited from ilDBPdoFieldDefinition | |
| 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) | |
Additional Inherited Members | |
Data Fields inherited from ilDBPdoFieldDefinition | |
| 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 Attributes inherited from ilDBPdoFieldDefinition | |
| $db_instance | |
| $max_length | |
| $available_types | |
| $reserved_mysql | |
| $reserved_postgres | |
| $reserved_oracle | |
| $query_utils | |
| $valid_default_values | |
Static Protected Attributes inherited from ilDBPdoFieldDefinition | |
| static | $instance |
Class ilDBPdoMySQLFieldDefinition.
Definition at line 9 of file class.ilDBPdoMySQLFieldDefinition.php.
|
protected |
| $name | |
| $field |
Reimplemented from ilDBPdoFieldDefinition.
Definition at line 99 of file class.ilDBPdoMySQLFieldDefinition.php.
References $name, ilDBPdoFieldDefinition\getDBInstance(), getTypeDeclaration(), and ilDBPdoFieldDefinition\quote().
Here is the call graph for this function:| ilDBPdoMySQLFieldDefinition::getTypeDeclaration | ( | $field | ) |
| $field |
Reimplemented from ilDBPdoFieldDefinition.
Definition at line 16 of file class.ilDBPdoMySQLFieldDefinition.php.
References ilDBPdoFieldDefinition\getDBInstance().
Referenced by getIntegerDeclaration().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $field |
Reimplemented from ilDBPdoFieldDefinition.
Definition at line 128 of file class.ilDBPdoMySQLFieldDefinition.php.
References $type.