Documentation TYPO3 par Ameos |
Public Member Functions | |
t3lib_install () | |
setValueInLocalconfFile (&$line_array, $variable, $value) | |
writeToLocalconf_control ($inlines='', $absFullPath='') | |
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]' | |
$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 108 of file class.t3lib_install.php. |
|
Converts a result row with field information into the SQL field definition string
Definition at line 565 of file class.t3lib_install.php. Referenced by getFieldDefinitions_database(). |
|
Checking for linebreaks in the string
Definition at line 235 of file class.t3lib_install.php. Referenced by tx_install::generateConfigForm(), and setValueInLocalconfFile(). |
|
Creates a table which checkboxes for updating database.
Definition at line 708 of file class.t3lib_install.php. |
|
Returns tables to create and how many records in each
Definition at line 625 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 423 of file class.t3lib_install.php. References t3lib_div::inList(). |
|
Reads the field definitions for the current database
Definition at line 379 of file class.t3lib_install.php. References assembleFieldDefinition(). |
|
Reads the field definitions for the input sql-file string
Definition at line 273 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 332 of file class.t3lib_install.php. References t3lib_div::makeInstance(). Referenced by getFieldDefinitions_sqlContent(). |
|
Returns list of tables in the database
Definition at line 692 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 587 of file class.t3lib_install.php. |
|
Extracts all insert statements from $statement array where content is inserted into $table
Definition at line 656 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 468 of file class.t3lib_install.php. |
|
Performs the queries passed from the input array.
Definition at line 676 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 132 of file class.t3lib_install.php. References checkForBadString(), and slashValueForSingleDashes(). Referenced by tx_install::generateConfigForm(). |
|
Replaces ' with \' and \ with \
Definition at line 248 of file class.t3lib_install.php. Referenced by setValueInLocalconfFile(). |
|
Writes or returns lines from localconf.php
Definition at line 183 of file class.t3lib_install.php. References t3lib_div::writeFile(). |