Documentation TYPO3 par Ameos |
Public Member Functions | |
t3lib_install () | |
setValueInLocalconfFile (&$line_array, $variable, $value) | |
writeToLocalconf_control ($inlines='') | |
checkForBadString ($string) | |
slashValueForSingleDashes ($value) | |
getFieldDefinitions_sqlContent ($sqlContent) | |
getFieldDefinitions_sqlContent_parseTypes (&$total) | |
getFieldDefinitions_database () | |
getDatabaseExtra ($FDsrc, $FDcomp, $onlyTableList='') | |
getUpdateSuggestions ($diffArr, $keyList='extra, diff') | |
assembleFieldDefinition ($row) | |
getStatementArray ($sqlcode, $removeNonSQL=0, $query_regex='') | |
getCreateTables ($statements, $insertCountFlag=0) | |
getTableInsertStatements ($statements, $table) | |
performUpdateQueries ($arr, $keyArr) | |
getListOfTables () | |
generateUpdateDatabaseForm_checkboxes ($arr, $label, $checked=1, $iconDis=0, $currentValue=array(), $cVfullMsg=0) | |
t3lib_install () | |
setValueInLocalconfFile (&$line_array, $variable, $value) | |
writeToLocalconf_control ($inlines='') | |
checkForBadString ($string) | |
slashValueForSingleDashes ($value) | |
getFieldDefinitions_sqlContent ($sqlContent) | |
getFieldDefinitions_sqlContent_parseTypes (&$total) | |
getFieldDefinitions_database () | |
getDatabaseExtra ($FDsrc, $FDcomp, $onlyTableList='') | |
getUpdateSuggestions ($diffArr, $keyList='extra, diff') | |
assembleFieldDefinition ($row) | |
getStatementArray ($sqlcode, $removeNonSQL=0, $query_regex='') | |
getCreateTables ($statements, $insertCountFlag=0) | |
getTableInsertStatements ($statements, $table) | |
performUpdateQueries ($arr, $keyArr) | |
getListOfTables () | |
generateUpdateDatabaseForm_checkboxes ($arr, $label, $checked=1, $iconDis=0, $currentValue=array(), $cVfullMsg=0) | |
Public Attributes | |
$updateIdentity = '' | |
$deletedPrefixKey = 'zzz_deleted_' | |
$dbUpdateCheckboxPrefix = 'TYPO3_INSTALL[database_update]' | |
$mysqlVersion = '3.22' | |
$localconf_addLinesOnly = 0 | |
$localconf_editPointToken = 'INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!' | |
$allowUpdateLocalConf = 0 | |
$backPath = '../' | |
$multiplySize = 1 | |
$setLocalconf = 0 | |
$messages = array() | |
$touchedLine = 0 |
Definition at line 83 of file class.t3lib_install.php.
|
Constructor function
Definition at line 111 of file class.t3lib_install.php. |
|
Constructor function
Definition at line 111 of file class.t3lib_install.php. |
|
Converts a result row with field information into the SQL field definition string
Definition at line 550 of file class.t3lib_install.php. |
|
Converts a result row with field information into the SQL field definition string
Definition at line 550 of file class.t3lib_install.php. Referenced by getFieldDefinitions_database(). |
|
Checking for linebreaks in the string
Definition at line 236 of file class.t3lib_install.php. |
|
Checking for linebreaks in the string
Definition at line 236 of file class.t3lib_install.php. Referenced by tx_install::generateConfigForm(), and setValueInLocalconfFile(). |
|
Creates a table which checkboxes for updating database.
Definition at line 695 of file class.t3lib_install.php. |
|
Creates a table which checkboxes for updating database.
Definition at line 695 of file class.t3lib_install.php. |
|
Returns tables to create and how many records in each
Definition at line 619 of file class.t3lib_install.php. |
|
Returns tables to create and how many records in each
Definition at line 619 of file class.t3lib_install.php. |
|
Compares two arrays with field information and returns information about fields that are MISSING and fields that have CHANGED. FDsrc and FDcomp can be switched if you want the list of stuff to remove rather than update.
Definition at line 409 of file class.t3lib_install.php. References t3lib_div::inList(). |
|
Compares two arrays with field information and returns information about fields that are MISSING and fields that have CHANGED. FDsrc and FDcomp can be switched if you want the list of stuff to remove rather than update.
Definition at line 409 of file class.t3lib_install.php. References t3lib_div::inList(). |
|
Reads the field definitions for the current database
Definition at line 365 of file class.t3lib_install.php. References assembleFieldDefinition(). |
|
Reads the field definitions for the current database
Definition at line 365 of file class.t3lib_install.php. References assembleFieldDefinition(). |
|
Reads the field definitions for the input sql-file string
Definition at line 274 of file class.t3lib_install.php. References getFieldDefinitions_sqlContent_parseTypes(), and t3lib_div::trimExplode(). |
|
Reads the field definitions for the input sql-file string
Definition at line 274 of file class.t3lib_install.php. References getFieldDefinitions_sqlContent_parseTypes(), and t3lib_div::trimExplode(). |
|
Multiplies varchars/tinytext fields in size according to $this->multiplySize Useful if you want to use UTF-8 in the database and needs to extend the field sizes in the database so UTF-8 chars are not discarded. For most charsets available as single byte sets, multiplication with 2 should be enough. For chinese, use 3.
Definition at line 318 of file class.t3lib_install.php. References t3lib_div::makeInstance(). |
|
Multiplies varchars/tinytext fields in size according to $this->multiplySize Useful if you want to use UTF-8 in the database and needs to extend the field sizes in the database so UTF-8 chars are not discarded. For most charsets available as single byte sets, multiplication with 2 should be enough. For chinese, use 3.
Definition at line 318 of file class.t3lib_install.php. References t3lib_div::makeInstance(). Referenced by getFieldDefinitions_sqlContent(). |
|
Returns list of tables in the database
Definition at line 679 of file class.t3lib_install.php. |
|
Returns list of tables in the database
Definition at line 679 of file class.t3lib_install.php. Referenced by tx_install::cleanupManager(), and tx_install::stepOutput(). |
|
Returns an array where every entry is a single sql-statement. Input must be formatted like an ordinary MySQL-dump files
Definition at line 579 of file class.t3lib_install.php. |
|
Returns an array where every entry is a single sql-statement. Input must be formatted like an ordinary MySQL-dump files
Definition at line 579 of file class.t3lib_install.php. |
|
Extracts all insert statements from $statement array where content is inserted into $table
Definition at line 643 of file class.t3lib_install.php. |
|
Extracts all insert statements from $statement array where content is inserted into $table
Definition at line 643 of file class.t3lib_install.php. |
|
Returns an array with SQL-statements that is needed to update according to the diff-array
Definition at line 454 of file class.t3lib_install.php. |
|
Returns an array with SQL-statements that is needed to update according to the diff-array
Definition at line 454 of file class.t3lib_install.php. |
|
Performs the queries passed from the input array.
Definition at line 663 of file class.t3lib_install.php. |
|
Performs the queries passed from the input array.
Definition at line 663 of file class.t3lib_install.php. |
|
This functions takes an array with lines from localconf.php, finds a variable and inserts the new value.
Definition at line 134 of file class.t3lib_install.php. References checkForBadString(), and slashValueForSingleDashes(). |
|
This functions takes an array with lines from localconf.php, finds a variable and inserts the new value.
Definition at line 134 of file class.t3lib_install.php. References checkForBadString(), and slashValueForSingleDashes(). Referenced by tx_install::generateConfigForm(). |
|
Replaces ' with \' and \ with \
Definition at line 249 of file class.t3lib_install.php. |
|
Replaces ' with \' and \ with \
Definition at line 249 of file class.t3lib_install.php. Referenced by setValueInLocalconfFile(). |
|
Writes or returns lines from localconf.php
Reimplemented in tx_install. Definition at line 184 of file class.t3lib_install.php. References t3lib_div::writeFile(). |
|
Writes or returns lines from localconf.php
Reimplemented in tx_install. Definition at line 184 of file class.t3lib_install.php. References t3lib_div::writeFile(). |