

Definition at line 167 of file class.tx_install.php.
| tx_install::_checkImageMagick_getVersion | ( | $ | file, | |
| $ | path | |||
| ) |
Extracts the version number for ImageMagick
| string | $file The program name to execute in order to find out the version number | |
| string | $path Path for the above program |
Definition at line 3063 of file class.tx_install.php.
Referenced by checkImageMagick().
| tx_install::_checkImageMagickGifCapability | ( | $ | path | ) |
Checking GIF-compression capabilities of ImageMagick install
| string | $path Path of ImageMagick installation |
Definition at line 3018 of file class.tx_install.php.
| tx_install::alterPasswordForm | ( | ) |
Generates the form to alter the password of the Install Tool
Definition at line 7878 of file class.tx_install.php.
References $content, $markers, $template, t3lib_parsehtml::getSubpart(), and t3lib_parsehtml::substituteMarkerArray().
Referenced by init(), and isBasicComplete().
| tx_install::check_mail | ( | $ | cmd = '' |
) |
Check if PHP function mail() works
| string | $cmd If "get_form" then a formfield for the mail-address is shown. If not, it's checked if "check_mail" was in the INSTALL array and if so a test mail is sent to the recipient given. |
Definition at line 2584 of file class.tx_install.php.
References $markers, $template, t3lib_parsehtml::getSubpart(), t3lib_div::makeInstance(), message(), t3lib_div::plainMailEncoded(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkConfiguration(), and init().
| tx_install::checkConfiguration | ( | ) |
Checking php.ini configuration and set appropriate messages and flags.
Definition at line 2172 of file class.tx_install.php.
References $TCA, $TYPO3_CONF_VARS, check_mail(), t3lib_div::getBytesFromSizeMeasurement(), message(), t3lib_div::testInt(), t3lib_div::trimExplode(), and t3lib_div::validIP().
Referenced by checkTheConfig().
| tx_install::checkDatabase | ( | ) |
Checks database username/password/host/database
Definition at line 3101 of file class.tx_install.php.
Referenced by checkTheConfig(), and init().
| tx_install::checkDirs | ( | ) |
Checking and testing that the required writable directories are writable.
Definition at line 2787 of file class.tx_install.php.
References $GLOBALS, message(), and t3lib_div::mkdir().
Referenced by checkTheConfig().
| tx_install::checkExtensions | ( | ) |
Checking php extensions, specifically GDLib and Freetype
Definition at line 2665 of file class.tx_install.php.
References getGDSoftwareInfo(), isGD(), isGIF(), isJPG(), isPNG(), isTTF(), and message().
Referenced by checkTheConfig().
| tx_install::checkImageMagick | ( | $ | paths | ) |
Checking for existing ImageMagick installs.
This tries to find available ImageMagick installations and tries to find the version numbers by executing "convert" without parameters. If the ->checkIMlzw is set, LZW capabilities of the IM installs are check also.
| array | $paths Possible ImageMagick paths |
Definition at line 2900 of file class.tx_install.php.
References _checkImageMagick_getVersion(), t3lib_parsehtml::getSubpart(), message(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheConfig().
| tx_install::checkPassword | ( | ) |
Returns true if submitted password is ok.
If password is ok, set session as "authorized".
Definition at line 361 of file class.tx_install.php.
References $GLOBALS, t3lib_div::_GP(), and t3lib_div::getIndpEnv().
Referenced by tx_install().
| tx_install::checkTheConfig | ( | ) |
Calling the functions that checks the system
Definition at line 1242 of file class.tx_install.php.
References $GLOBALS, checkConfiguration(), checkDatabase(), checkDirs(), checkExtensions(), and checkImageMagick().
Referenced by init(), and stepOutput().
| tx_install::checkTheDatabase | ( | ) |
The Database Analyzer
Definition at line 5372 of file class.tx_install.php.
References $content, $GLOBALS, $res, $TCA, t3lib_div::_GP(), compareDatabaseAndTCA(), compareTCAandDatabase(), displayFieldComp(), displayFields(), displaySuggestions(), t3lib_div::fixed_lgd_cs(), t3lib_div::formatSize(), generateUpdateDatabaseForm(), t3lib_install::getCreateTables(), t3lib_install::getDatabaseExtra(), t3lib_install::getFieldDefinitions_database(), t3lib_install::getFieldDefinitions_fileContent(), t3lib_div::getFilesInDir(), t3lib_install::getListOfTables(), t3lib_install::getStatementArray(), t3lib_parsehtml::getSubpart(), t3lib_install::getTableInsertStatements(), getUpdateDbFormWrap(), t3lib_install::getUpdateSuggestions(), includeTCA(), t3lib_div::inList(), t3lib_div::intInRange(), isBasicComplete(), t3lib_extMgm::isLoaded(), menu(), message(), output(), outputWrapper(), t3lib_install::performUpdateQueries(), printAll(), t3lib_utility_Http::redirect(), t3lib_parsehtml::substituteMarkerArray(), t3lib_parsehtml::substituteSubpart(), and t3lib_div::testInt().
Referenced by init().
| tx_install::checkTheImageProcessing | ( | ) |
jesus.TIF: IBM/LZW jesus.GIF: Save for web, 32 colors jesus.JPG: Save for web, 30 quality jesus.PNG: Save for web, PNG-24 jesus.tga 24 bit TGA file jesus.pcx jesus.bmp 24 bit BMP file jesus_ps6.PDF: PDF w/layers and vector data typo3logo.ai: Illustrator 8 file pdf_from_imagemagick.PDF PDF-file made by Acrobat Distiller from InDesign PS-file
Imagemagick
Problems may arise from the use of safe_mode (eg. png) In safemode you will automatically execute the program convert in the safe_mode_exec_path no matter what other path you specify check fileexist before anything...
GDlib:
From TypoScript: (GD only, GD+IM, IM)
Definition at line 4287 of file class.tx_install.php.
References $GLOBALS, displayTwinImage(), t3lib_extMgm::extPath(), t3lib_div::formatSize(), t3lib_div::gif_compress(), imagemenu(), isExtensionEnabled(), t3lib_div::makeInstance(), menu(), message(), t3lib_div::milliseconds(), output(), outputWrapper(), and printAll().
Referenced by init().
| tx_install::cleanupManager | ( | ) |
Provides a tool cleaning up various tables in the database
Definition at line 1602 of file class.tx_install.php.
References $action, $content, $GLOBALS, $markers, $template, t3lib_div::getFilesInDir(), t3lib_install::getListOfTables(), t3lib_parsehtml::getSubpart(), message(), output(), outputWrapper(), printAll(), t3lib_parsehtml::substituteMarkerArray(), t3lib_parsehtml::substituteSubpart(), and t3lib_div::testInt().
Referenced by init().
| tx_install::compareDatabaseAndTCA | ( | $ | FDsrc, | |
| $ | TCA, | |||
| $ | onlyFields = 0 | |||
| ) |
Compares an array with field definitions with $TCA array
| array | $FDsrc Field definition source | |
| array | $TCA The TCA array | |
| boolean | $onlyFields |
Definition at line 7037 of file class.tx_install.php.
References $TCA, and suggestTCAFieldDefinition().
Referenced by checkTheDatabase().
| tx_install::compareTCAandDatabase | ( | $ | TCA, | |
| $ | FDcomp | |||
| ) |
Compares the $TCA array with a field definition array
| array | $TCA The TCA | |
| array | $FDcomp Field definition comparison |
Definition at line 7096 of file class.tx_install.php.
References $TCA, and suggestFieldDefinition().
Referenced by checkTheDatabase().
| tx_install::copyright | ( | ) |
Generate HTML for the copyright
Definition at line 7907 of file class.tx_install.php.
References $content.
Referenced by outputWrapper().
| tx_install::createEncryptionKey | ( | $ | keyLength = 96 |
) |
Returns a newly created TYPO3 encryption key with a given length.
| integer | $keyLength Desired key length |
Definition at line 8238 of file class.tx_install.php.
References t3lib_div::generateRandomBytes().
Referenced by stepOutput().
| tx_install::displayFieldComp | ( | $ | arr, | |
| $ | arr_db | |||
| ) |
Generates an HTML table with comparison between database and $TCA Used in 'Database analyzer > Compare with $TCA'
| array | $arr Description of the table with fieldname and fieldcontent | |
| array | $arr_db The actual content of a field in the database |
Definition at line 6885 of file class.tx_install.php.
References $TCA, $template, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheDatabase().
| tx_install::displayFields | ( | $ | arr, | |
| $ | pre = 0, |
|||
| $ | label = '' | |||
| ) |
Generates an HTML table for the setup of database tables Used in 'Database analyzer > Compare with $TCA'
| array | $arr Description of the table with fieldname and fieldcontent | |
| boolean | $pre TRUE if the field content needs to be wrapped with atag | |
| string | $label The header label |
string HTML of the table
Definition at line 6827 of file class.tx_install.php.
References $template, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheDatabase().
| tx_install::displaySuggestions | ( | $ | arr, | |
| $ | excludeList = '' | |||
| ) |
Generates an HTML table with $TCA suggestions looking at the type of field Used in 'Database analyzer > Compare with $TCA'
| array | $arr Description of the table with fieldname and fieldcontent | |
| string | $excludeList Comma separated list of fields which should be excluded from this table |
Definition at line 6956 of file class.tx_install.php.
References $row, $template, t3lib_parsehtml::getSubpart(), t3lib_div::inList(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheDatabase().
| tx_install::displayTwinImage | ( | $ | imageFile, | |
| $ | IMcommands = array(), |
|||
| $ | note = '' | |||
| ) |
Generate the HTML after reading and converting images Displays the verification and the converted image if succeeded Adds error messages if needed
| string | $imageFile The file name of the converted image | |
| array | $IMcommands The ImageMagick commands used | |
| string | $note Additional note for image operation |
Definition at line 5075 of file class.tx_install.php.
References $content, $template, t3lib_extMgm::extPath(), t3lib_extMgm::extRelPath(), formatImCmds(), t3lib_div::formatSize(), t3lib_parsehtml::getSubpart(), t3lib_div::intInRange(), message(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheImageProcessing().
| tx_install::formatImCmds | ( | $ | arr | ) |
Format ImageMagick commands for use in HTML
| array | $arr The ImageMagick commands |
Definition at line 5288 of file class.tx_install.php.
Referenced by displayTwinImage().
| tx_install::generallyAboutConfiguration | ( | ) |
Returns general information about configuration of TYPO3.
Definition at line 4217 of file class.tx_install.php.
Referenced by init().
| tx_install::generateConfigForm | ( | $ | type = '' |
) |
Creating the form for editing the TYPO3_CONF_VARS options.
| string | $type If get_form, display form, otherwise checks and store in localconf.php |
Definition at line 1942 of file class.tx_install.php.
References $content, $GLOBALS, $markers, $template, $TYPO3_CONF_VARS, $value, t3lib_div::_GP(), t3lib_install::checkForBadString(), t3lib_div::fixed_lgd_cs(), getDefaultConfigArrayComments(), t3lib_parsehtml::getSubpart(), message(), t3lib_install::setValueInLocalconfFile(), t3lib_parsehtml::substituteMarkerArray(), t3lib_parsehtml::substituteSubpart(), and writeToLocalconf_control().
Referenced by init().
| tx_install::generateUpdateDatabaseForm | ( | $ | type, | |
| $ | arr_update, | |||
| $ | arr_remove, | |||
| $ | action_type | |||
| ) |
Generate the contents for the form for 'Database Analyzer' when the 'COMPARE' still contains errors
| string | $type get_form if the form needs to be generated | |
| array | $arr_update The tables/fields which needs an update | |
| array | $arr_remove The tables/fields which needs to be removed | |
| string | $action_type The action type |
Definition at line 6761 of file class.tx_install.php.
References $content, generateUpdateDatabaseForm_checkboxes(), getUpdateDbFormWrap(), and t3lib_extMgm::isLoaded().
Referenced by checkTheDatabase().
| tx_install::generateUpdateDatabaseForm_checkboxes | ( | $ | arr, | |
| $ | label, | |||
| $ | checked = 1, |
|||
| $ | iconDis = 0, |
|||
| $ | currentValue = array(), |
|||
| $ | cVfullMsg = 0 | |||
| ) |
Creates a table which checkboxes for updating database.
| array | $arr Array of statements (key / value pairs where key is used for the checkboxes) | |
| string | $label Label for the table. | |
| boolean | $checked If set, then checkboxes are set by default. | |
| boolean | $iconDis If set, then icons are shown. | |
| array | $currentValue Array of "current values" for each key/value pair in $arr. Shown if given. | |
| boolean | $cVfullMsg If set, will show the prefix "Current value" if $currentValue is given. |
Reimplemented from t3lib_install.
Definition at line 8002 of file class.tx_install.php.
References $content, $key, t3lib_parsehtml::getSubpart(), message(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by generateUpdateDatabaseForm().
| tx_install::getBackupFilename | ( | $ | filename | ) |
Return the filename that will be used for the backup. It is important that backups of PHP files still stay as a PHP file, otherwise they could be viewed un-parsed in clear-text.
| string | $filename Full path to a file |
Definition at line 7981 of file class.tx_install.php.
Referenced by typo3conf_edit().
| tx_install::getDatabaseList | ( | ) |
Returns the list of available databases (with access-check based on username/password)
Definition at line 3979 of file class.tx_install.php.
Referenced by tx_dbal_installtool::createDatabaseForm(), and stepOutput().
| tx_install::getDefaultConfigArrayComments | ( | $ | string, | |
| $ | mainArray = array(), |
|||
| $ | commentArray = array() | |||
| ) |
Make an array of the comments in the t3lib/config_default.php file
| string | $string The contents of the config_default.php file | |
| array | $mainArray | |
| array | $commentArray |
Definition at line 2120 of file class.tx_install.php.
References $TYPO3_CONF_VARS.
Referenced by generateConfigForm().
| tx_install::getGDSoftwareInfo | ( | ) |
Returns general information about GDlib
Definition at line 4197 of file class.tx_install.php.
Referenced by checkExtensions().
| tx_install::getItemArrayType | ( | $ | arr | ) |
Check if field needs to be varchar or int Private
| array | $arr |
Definition at line 7208 of file class.tx_install.php.
References t3lib_div::testInt().
Referenced by suggestFieldDefinition().
| tx_install::getItemBlobSize | ( | $ | len | ) |
Defines the blob size of an item by a given length Private
| integer | $len The length |
Definition at line 7235 of file class.tx_install.php.
Referenced by suggestFieldDefinition().
| tx_install::getUpdateDbFormWrap | ( | $ | action_type, | |
| $ | content, | |||
| $ | label = 'Write to database' | |||
| ) |
Form wrap for 'Database Analyzer' when the 'COMPARE' still contains errors
| string | $action_type The action type | |
| string | $content The form content | |
| string | $label The submit button label |
Definition at line 6794 of file class.tx_install.php.
References $content, t3lib_parsehtml::getSubpart(), and t3lib_parsehtml::substituteMarkerArray().
Referenced by checkTheDatabase(), and generateUpdateDatabaseForm().
| tx_install::getUpgradeObjInstance | ( | $ | className, | |
| $ | identifier | |||
| ) |
Creates instance of an upgrade object, setting the pObj, versionNumber and pObj
| string | $className The class name | |
| string | $identifier The identifier of upgrade object - needed to fetch user input |
Definition at line 6699 of file class.tx_install.php.
References t3lib_div::getUserObj(), and t3lib_div::int_from_ver().
Referenced by updateWizard_parts().
| tx_install::imagemenu | ( | ) |
Generate the menu for the test menu in 'image processing'
Definition at line 5307 of file class.tx_install.php.
References $markers, $menuitems, $template, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheImageProcessing().
| tx_install::ImageTypes | ( | ) |
Return the image types supported by this PHP build
Definition at line 4188 of file class.tx_install.php.
| tx_install::includeTCA | ( | ) |
Includes TCA
Definition at line 7389 of file class.tx_install.php.
References $GLOBALS, $TCA, and t3lib_div::loadTCA().
Referenced by checkTheDatabase().
| tx_install::init | ( | ) |
Calling function that checks system, IM, GD, dirs, database and lets you alter localconf.php
This method is called from init.php to start the Install Tool.
Definition at line 514 of file class.tx_install.php.
References $content, $enableInstallToolFile, $markers, $TCA, $template, alterPasswordForm(), check_mail(), checkDatabase(), checkTheConfig(), checkTheDatabase(), checkTheImageProcessing(), cleanupManager(), t3lib_div::debug(), exit, generallyAboutConfiguration(), generateConfigForm(), t3lib_parsehtml::getSubpart(), message(), OS, output(), outputWrapper(), phpinformation(), printAll(), t3lib_utility_Http::redirect(), securityRisk(), setupGeneral(), stepOutput(), t3lib_parsehtml::substituteMarkerArray(), typo3conf_edit(), and updateWizard().
| tx_install::isBackendAdminUser | ( | ) |
Check if at lease one backend admin user has been created
Definition at line 6712 of file class.tx_install.php.
References $GLOBALS.
Referenced by isBasicComplete().
| tx_install::isBasicComplete | ( | $ | tLabel | ) |
Check if the basic settings are complete Only used by 1-2-3 mode
| string | $tLabel The header for the message |
Definition at line 6723 of file class.tx_install.php.
References alterPasswordForm(), t3lib_install::getListOfTables(), isBackendAdminUser(), message(), messageBasicFinished(), and securityRisk().
Referenced by checkTheDatabase().
| tx_install::isExtensionEnabled | ( | $ | ext, | |
| $ | headCode, | |||
| $ | short | |||
| ) |
Check if image file extension is enabled Adds error message to the message array
| string | $ext The image file extension | |
| string | $headCode The header for the message | |
| string | $short The short description for the message |
Definition at line 5052 of file class.tx_install.php.
References $GLOBALS, t3lib_div::inList(), and message().
Referenced by checkTheImageProcessing().
| tx_install::isGD | ( | ) |
Check if GD module is available by checking the function imagecreate
Definition at line 4138 of file class.tx_install.php.
Referenced by checkExtensions().
| tx_install::isGIF | ( | ) |
Check if GIF functions are available
Definition at line 4152 of file class.tx_install.php.
Referenced by checkExtensions().
| tx_install::isJPG | ( | ) |
Check if JPG functions are available
Definition at line 4165 of file class.tx_install.php.
Referenced by checkExtensions().
| tx_install::isPNG | ( | ) |
Check if PNG functions are available
Definition at line 4176 of file class.tx_install.php.
Referenced by checkExtensions().
| tx_install::isTTF | ( | ) |
Returns true if TTF lib is installed.
Definition at line 4089 of file class.tx_install.php.
Referenced by checkExtensions().
| tx_install::loginForm | ( | ) |
Create the HTML for the login form
Reads and fills the template. Substitutes subparts when wrong password has been given or the session has expired
Definition at line 408 of file class.tx_install.php.
References $content, $GLOBALS, $markers, $template, $TYPO3_CONF_VARS, t3lib_div::_GP(), t3lib_parsehtml::getSubpart(), message(), output(), outputWrapper(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by tx_install().
| tx_install::menu | ( | ) |
Generates the main menu
Definition at line 7754 of file class.tx_install.php.
References $markers, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheDatabase(), checkTheImageProcessing(), and outputWrapper().
| tx_install::message | ( | $ | head, | |
| $ | short_string = '', |
|||
| $ | long_string = '', |
|||
| $ | type = 0, |
|||
| $ | force = 0 | |||
| ) |
Setting a message in the message-log and sets the fatalError flag if error type is 3.
| string | $head Section header | |
| string | $short_string A short description | |
| string | $long_string A long (more detailed) description | |
| integer | $type -1=OK sign, 0=message, 1=notification, 2=warning, 3=error | |
| boolean | $force Print message also in "Advanced" mode (not only in 1-2-3 mode) |
Definition at line 7433 of file class.tx_install.php.
References printSection().
Referenced by check_mail(), checkConfiguration(), checkDirs(), checkExtensions(), checkImageMagick(), checkTheDatabase(), checkTheImageProcessing(), cleanupManager(), displayTwinImage(), generateConfigForm(), generateUpdateDatabaseForm_checkboxes(), init(), isBasicComplete(), isExtensionEnabled(), loginForm(), outputWrapper(), phpinformation(), printSection(), typo3conf_edit(), and updateWizard_parts().
| tx_install::messageBasicFinished | ( | ) |
Generate HTML for the message that the basic setup has been finished
Definition at line 7933 of file class.tx_install.php.
Referenced by isBasicComplete(), and stepOutput().
| tx_install::output | ( | $ | content | ) |
Sends the page to the client.
| string | $content The HTML page |
Definition at line 7743 of file class.tx_install.php.
References $content, and $GLOBALS.
Referenced by checkTheDatabase(), checkTheImageProcessing(), cleanupManager(), init(), loginForm(), phpinformation(), typo3conf_edit(), and updateWizard().
| tx_install::outputExitBasedOnStep | ( | $ | content | ) |
If in 1-2-3 mode, send a redirect header response with the action and exit otherwise send output to output() function
| string | $content The HTML to output |
Definition at line 3926 of file class.tx_install.php.
| tx_install::outputWrapper | ( | $ | content | ) |
This wraps and returns the main content of the page into proper html-code.
| string | $content The page content |
Definition at line 7555 of file class.tx_install.php.
References $content, $GLOBALS, copyright(), t3lib_utility_Client::getBrowserInfo(), t3lib_div::getIndpEnv(), t3lib_parsehtml::getSubpart(), menu(), message(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheDatabase(), checkTheImageProcessing(), cleanupManager(), init(), loginForm(), phpinformation(), typo3conf_edit(), and updateWizard().
| tx_install::phpinformation | ( | ) |
Outputs system information
Definition at line 1490 of file class.tx_install.php.
References $content, $GLOBALS, $markers, $template, t3lib_div::formatForTextarea(), t3lib_div::getIndpEnv(), t3lib_parsehtml::getSubpart(), message(), output(), outputWrapper(), printAll(), t3lib_parsehtml::substituteMarkerArray(), and viewArray().
Referenced by init().
| tx_install::printAll | ( | ) |
This prints all the messages in the ->section array
Definition at line 7515 of file class.tx_install.php.
References $content, $sections, $template, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by checkTheDatabase(), checkTheImageProcessing(), cleanupManager(), init(), phpinformation(), typo3conf_edit(), and updateWizard().
| tx_install::printSection | ( | $ | head, | |
| $ | short_string, | |||
| $ | long_string, | |||
| $ | type | |||
| ) |
This "prints" a section with a message to the ->sections array
| string | $head Section header | |
| string | $short_string A short description | |
| string | $long_string A long (more detailed) description | |
| integer | $type -1=OK sign, 0=message, 1=notification, 2=warning , 3=error |
Definition at line 7455 of file class.tx_install.php.
References $content, $markers, $template, t3lib_parsehtml::getSubpart(), message(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by message().
| tx_install::securityRisk | ( | ) |
Generate HTML for the security risk message
Definition at line 7851 of file class.tx_install.php.
Referenced by init(), isBasicComplete(), and stepOutput().
| tx_install::setLabelValueArray | ( | $ | arr, | |
| $ | type | |||
| ) |
This appends something to value in the input array based on $type. Private.
| array | $arr | |
| integer | $type |
Definition at line 3942 of file class.tx_install.php.
| tx_install::setScriptName | ( | $ | type | ) |
Make the url of the script according to type, mode and step
| string | $type The type |
Definition at line 7969 of file class.tx_install.php.
References $value.
| tx_install::setupGeneral | ( | $ | cmd = '' |
) |
Prints form for updating localconf.php or updates localconf.php depending on $cmd
| string | $cmd If "get_form" it outputs the form. Default is to write "localconf.php" based on input in ->INSTALL[localconf.php] array and flag ->setLocalconf |
Definition at line 3204 of file class.tx_install.php.
Referenced by init().
| tx_install::setupGeneralCalculate | ( | ) |
Calculates the suggested setup that should be written to localconf.php
If safe_mode
if PNG/GIF/GD
Definition at line 4003 of file class.tx_install.php.
| tx_install::stepHeader | ( | ) |
Generates the step header for 1-2-3 mode, the numbers at the top
Definition at line 7803 of file class.tx_install.php.
References $content, $template, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by stepOutput().
| tx_install::stepOutput | ( | ) |
Controls the step 1-2-3-go process
Definition at line 888 of file class.tx_install.php.
References $content, $GLOBALS, $key, $markers, $template, checkTheConfig(), createEncryptionKey(), getDatabaseList(), t3lib_div::getFilesInDir(), t3lib_install::getListOfTables(), t3lib_parsehtml::getSubpart(), t3lib_div::getUserObj(), messageBasicFinished(), securityRisk(), stepHeader(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by init().
| tx_install::suggestFieldDefinition | ( | $ | fieldInfo | ) |
Suggests a field definition for a TCA config array.
| array | $fieldInfo Info of a field |
Definition at line 7127 of file class.tx_install.php.
References getItemArrayType(), getItemBlobSize(), and t3lib_div::intInRange().
Referenced by compareTCAandDatabase().
| tx_install::suggestTCAFieldDefinition | ( | $ | fieldName, | |
| $ | fieldInfo | |||
| ) |
Should suggest a TCA configuration for a specific field.
| string | $fieldName The field name | |
| string | $fieldInfo The field information |
Definition at line 7246 of file class.tx_install.php.
Referenced by compareDatabaseAndTCA().
| tx_install::tx_install | ( | ) |
Constructor
Definition at line 244 of file class.tx_install.php.
References $enableInstallToolFile, $GLOBALS, t3lib_div::_GP(), checkPassword(), t3lib_div::getUserObj(), loginForm(), t3lib_div::makeInstance(), t3lib_utility_Http::redirect(), and typo3conf_edit().
| tx_install::typo3conf_edit | ( | ) |
Editing files in typo3conf directory (or elsewhere if enabled)
Definition at line 1273 of file class.tx_install.php.
References $messages, $template, t3lib_div::formatForTextarea(), t3lib_div::formatSize(), getBackupFilename(), t3lib_div::getFilesInDir(), t3lib_parsehtml::getSubpart(), t3lib_div::isFirstPartOfStr(), message(), output(), outputWrapper(), printAll(), t3lib_parsehtml::substituteMarkerArray(), t3lib_parsehtml::substituteSubpart(), t3lib_div::validPathStr(), and t3lib_div::writeFile().
Referenced by init(), and tx_install().
| tx_install::updateWizard | ( | ) |
Generates update wizard
Definition at line 6353 of file class.tx_install.php.
References $action, $GLOBALS, $TYPO3_CONF_VARS, output(), outputWrapper(), printAll(), t3lib_extMgm::removeCacheFiles(), t3lib_extMgm::typo3_loadExtensions(), and updateWizard_parts().
Referenced by init().
| tx_install::updateWizard_parts | ( | $ | action | ) |
Implements the steps for the update wizard
| string | $action Which should be done. |
Definition at line 6378 of file class.tx_install.php.
References $action, $content, $GLOBALS, $markers, t3lib_parsehtml::getSubpart(), getUpgradeObjInstance(), message(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by updateWizard().
| tx_install::viewArray | ( | $ | incomingValue | ) |
Returns HTML-code, which is a visual representation of a multidimensional array Returns false if $array_in is not an array
| mixed | $incomingValue Array to view |
Definition at line 8183 of file class.tx_install.php.
References $content, $key, $value, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().
Referenced by phpinformation().
| tx_install::writeToLocalconf_control | ( | $ | lines = '', |
|
| $ | showOutput = TRUE | |||
| ) |
Writes or returns lines from localconf.php
| array | $lines Array of lines to write back to localconf.php. Possibly | |
| boolean | $showOutput If TRUE then print what has been done. |
Reimplemented from t3lib_install.
Definition at line 3844 of file class.tx_install.php.
Referenced by generateConfigForm().
| tx_install::$action = '' |
Definition at line 176 of file class.tx_install.php.
Referenced by cleanupManager(), updateWizard(), and updateWizard_parts().
| tx_install::$allowFileEditOutsite_typo3conf_dir = 0 |
Definition at line 182 of file class.tx_install.php.
| tx_install::$checkIM = 0 |
Definition at line 186 of file class.tx_install.php.
| tx_install::$checkIMlzw = 0 |
Definition at line 185 of file class.tx_install.php.
| tx_install::$config_array |
Initial value:
array( // Flags are set in this array if the options are available and checked ok.
'gd'=>0,
'gd_gif'=>0,
'gd_png'=>0,
'gd_jpg'=>0,
'freetype' => 0,
'safemode' => 0,
'dir_typo3temp' => 0,
'dir_temp' => 0,
'im_versions' => array(),
'im' => 0,
'sql.safe_mode_user' => '',
'mysqlConnect' => 0,
'no_database' => 0
)
Definition at line 198 of file class.tx_install.php.
| tx_install::$dumpImCommands = 1 |
Definition at line 187 of file class.tx_install.php.
| tx_install::$errorMessages = array() |
Definition at line 174 of file class.tx_install.php.
| tx_install::$fatalError = 0 |
Definition at line 196 of file class.tx_install.php.
| tx_install::$headerStyle = '' |
Definition at line 179 of file class.tx_install.php.
| tx_install::$INSTALL = array() |
Definition at line 184 of file class.tx_install.php.
| tx_install::$javascript |
Definition at line 170 of file class.tx_install.php.
| tx_install::$mailMessage = '' |
Definition at line 175 of file class.tx_install.php.
| tx_install::$markers = array() |
Definition at line 172 of file class.tx_install.php.
Referenced by alterPasswordForm(), check_mail(), cleanupManager(), generateConfigForm(), imagemenu(), init(), loginForm(), menu(), phpinformation(), printSection(), stepOutput(), and updateWizard_parts().
| tx_install::$menuitems |
Initial value:
array(
'config' => 'Basic Configuration',
'database' => 'Database Analyser',
'update' => 'Update Wizard',
'images' => 'Image Processing',
'extConfig' => 'All Configuration',
'cleanup' => 'Clean up',
'phpinfo' => 'phpinfo()',
'typo3conf_edit' => 'Edit files in typo3conf/',
'about' => 'About',
'logout' => 'Logout from Install Tool',
)
Definition at line 221 of file class.tx_install.php.
Referenced by imagemenu().
| tx_install::$messages = array() |
Reimplemented from t3lib_install.
Definition at line 173 of file class.tx_install.php.
Referenced by typo3conf_edit().
| tx_install::$mode = '' |
Definition at line 188 of file class.tx_install.php.
| tx_install::$passwordOK = 0 |
Definition at line 193 of file class.tx_install.php.
| tx_install::$scriptSelf = 'index.php' |
Definition at line 177 of file class.tx_install.php.
| tx_install::$sections = array() |
| tx_install::$sendNoCacheHeaders = 1 |
Definition at line 197 of file class.tx_install.php.
tx_install::$session = NULL [protected] |
Definition at line 219 of file class.tx_install.php.
| tx_install::$setAllCheckBoxesByDefault = 0 |
Definition at line 180 of file class.tx_install.php.
| tx_install::$silent = 1 |
Definition at line 194 of file class.tx_install.php.
| tx_install::$step = 0 |
Definition at line 189 of file class.tx_install.php.
| tx_install::$stylesheets |
Definition at line 171 of file class.tx_install.php.
| tx_install::$template |
Definition at line 169 of file class.tx_install.php.
Referenced by alterPasswordForm(), check_mail(), cleanupManager(), displayFieldComp(), displayFields(), displaySuggestions(), displayTwinImage(), generateConfigForm(), imagemenu(), init(), loginForm(), phpinformation(), printAll(), printSection(), stepHeader(), stepOutput(), and typo3conf_edit().
| tx_install::$templateFilePath = 'typo3/sysext/install/Resources/Private/Templates/' |
Definition at line 168 of file class.tx_install.php.
| tx_install::$totalSteps = 4 |
Definition at line 190 of file class.tx_install.php.
| tx_install::$typo3temp_path = '' |
Definition at line 213 of file class.tx_install.php.
| tx_install::$updateIdentity = 'TYPO3 Install Tool' |
1.4.7