"TYPO3 4.0.1: t3lib_install Class Reference", "datetime" => "Sat Dec 2 19:26:00 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
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='', $ignoreNotNullWhenComparing=true) | |
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 594 of file class.t3lib_install.php. Referenced by getFieldDefinitions_database(). |
|
Checking for linebreaks in the string
Definition at line 253 of file class.t3lib_install.php. Referenced by setValueInLocalconfFile(). |
|
Creates a table which checkboxes for updating database.
Definition at line 741 of file class.t3lib_install.php. |
|
Returns tables to create and how many records in each
Definition at line 654 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 455 of file class.t3lib_install.php. References t3lib_div::inList(). |
|
Reads the field definitions for the current database
Definition at line 410 of file class.t3lib_install.php. References assembleFieldDefinition(). |
|
Reads the field definitions for the input sql-file string
Definition at line 293 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 361 of file class.t3lib_install.php. References t3lib_div::makeInstance(). Referenced by getFieldDefinitions_sqlContent(). |
|
Returns list of tables in the database
Definition at line 725 of file class.t3lib_install.php. Referenced by 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 616 of file class.t3lib_install.php. |
|
Extracts all insert statements from $statement array where content is inserted into $table
Definition at line 688 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 501 of file class.t3lib_install.php. |
|
Performs the queries passed from the input array.
Definition at line 709 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(). |
|
Replaces ' with \' and \ with \
Definition at line 264 of file class.t3lib_install.php. Referenced by setValueInLocalconfFile(). |
|
Writes or returns lines from localconf.php
Reimplemented in tx_install. Definition at line 183 of file class.t3lib_install.php. References t3lib_div::sysLog(), and t3lib_div::writeFile(). |