| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilDBPdoMySQLFieldDefinition:
 Collaboration diagram for ilDBPdoMySQLFieldDefinition:Public Member Functions | |
| getTypeDeclaration (array $field) | |
  Public Member Functions inherited from ilDBPdoFieldDefinition | |
| __construct (\ilDBInterface $ilDBInterface) | |
| ilDBPdoFieldDefinition constructor.  More... | |
| array | checkTableName (string $table_name) | 
| isReserved (string $table_name) | |
| getAllReserved () | |
| getReservedMysql () | |
| setReservedMysql (array $reserved_mysql) | |
| checkColumnName (string $column_name) | |
| checkIndexName (string $a_name) | |
| checkColumnDefinition (array $a_def) | |
| isAllowedAttribute (string $attribute, string $type) | |
| getAvailableTypes () | |
| setAvailableTypes (array $available_types) | |
| getAllowedAttributes () | |
| setAllowedAttributes (array $allowed_attributes) | |
| getMaxLength () | |
| setMaxLength (array $max_length) | |
| getValidTypes () | |
| getDeclaration (string $type, string $name, $field) | |
| getTypeDeclaration (array $field) | |
| compareDefinition (array $current, array $previous) | |
| quote ($value, ?string $type=null, bool $quote=true, bool $escape_wildcards=false) | |
| writeLOBToFile ($lob, string $file) | |
| destroyLOB ($lob) | |
| matchPattern (array $pattern, $operator=null, $field=null) | |
| patternEscapeString () | |
| mapNativeDatatype (array $field) | |
| mapPrepareDatatype (string $type) | |
Protected Member Functions | |
| getIntegerDeclaration (string $name, array $field) | |
| mapNativeDatatypeInternal (array $field) | |
  Protected Member Functions inherited from ilDBPdoFieldDefinition | |
| getQueryUtils () | |
| getDBInstance () | |
| getInternalDeclaration (string $name, array $field) | |
| getDeclarationOptions (array $field) | |
| getCharsetFieldDeclaration (string $charset) | |
| getCollationFieldDeclaration (string $collation) | |
| getIntegerDeclaration (string $name, array $field) | |
| getTextDeclaration (string $name, array $field) | |
| getCLOBDeclaration (string $name, array $field) | |
| getBLOBDeclaration (string $name, array $field) | |
| getBooleanDeclaration (string $name, array $field) | |
| getDateDeclaration (string $name, array $field) | |
| getTimestampDeclaration (string $name, array $field) | |
| getTimeDeclaration (string $name, array $field) | |
| getFloatDeclaration (string $name, array $field) | |
| getDecimalDeclaration (string $name, array $field) | |
| compareIntegerDefinition (array $current, array $previous) | |
| compareTextDefinition (array $current, array $previous) | |
| compareCLOBDefinition (array $current, array $previous) | |
| compareBLOBDefinition (array $current, array $previous) | |
| compareDateDefinition (array $current, array $previous) | |
| compareTimeDefinition (array $current, array $previous) | |
| compareTimestampDefinition (array $current, array $previous) | |
| compareBooleanDefinition (array $current, array $previous) | |
| compareFloatDefinition (array $current, array $previous) | |
| compareDecimalDefinition (array $current, array $previous) | |
| quoteInteger ($value, bool $quote, bool $escape_wildcards) | |
| quoteText (string $value, bool $quote, bool $escape_wildcards) | |
| readFile ($value) | |
| quoteLOB ($value, bool $quote, bool $escape_wildcards) | |
| quoteCLOB ($value, bool $quote, bool $escape_wildcards) | |
| quoteBLOB ($value, bool $quote, bool $escape_wildcards) | |
| quoteBoolean (bool $value, bool $quote, bool $escape_wildcards) | |
| quoteDate (string $value, bool $quote, bool $escape_wildcards) | |
| quoteTimestamp (int $value, bool $quote, bool $escape_wildcards) | |
| quoteTime (int $value, bool $quote, bool $escape_wildcards) | |
| quoteFloat (string $value, bool $quote, bool $escape_wildcards) | |
| quoteDecimal (string $value, bool $quote, bool $escape_wildcards) | |
| retrieveLOB (array &$lob) | |
| readLOB (array $lob, int $length) | |
| endOfLOB (array $lob) | |
| mapNativeDatatypeInternal (array $field) | |
Additional Inherited Members | |
  Data Fields inherited from ilDBPdoFieldDefinition | |
| array | $lobs | 
| 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' | 
| array | $allowed_attributes_old | 
| array | $allowed_attributes | 
| array | integer => ["length" | 
| array | notnull | 
| array | default | 
| array | unsigned | 
| array | float => ["notnull" | 
| array | date => ["notnull" | 
| array | time => ["notnull" | 
| array | timestamp => ["notnull" | 
| array | clob => ["length" | 
| array | blob => ["length" | 
  Protected Attributes inherited from ilDBPdoFieldDefinition | |
| array ilDBInterface | $db_instance | 
| array | $max_length | 
| array | $available_types | 
| array | $reserved_mysql | 
| array | $reserved_postgres | 
| ilMySQLQueryUtils | $query_utils = null | 
| array | $valid_default_values | 
  Static Protected Attributes inherited from ilDBPdoFieldDefinition | |
| static ilDBPdoFieldDefinition | $instance | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilDBPdoMySQLFieldDefinition
Definition at line 26 of file class.ilDBPdoMySQLFieldDefinition.php.
      
  | 
  protected | 
Definition at line 127 of file class.ilDBPdoMySQLFieldDefinition.php.
References ilDBPdoFieldDefinition\getDBInstance(), getTypeDeclaration(), and ilDBPdoFieldDefinition\quote().
 Here is the call graph for this function:| ilDBPdoMySQLFieldDefinition::getTypeDeclaration | ( | array | $field | ) | 
Definition at line 28 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 |