Documentation TYPO3 par Ameos |
Public Member Functions | |
init () | |
handleExternalFunctionValue ($MM_key='function', $MS_value=NULL) | |
menuConfig () | |
main () | |
printContent () | |
extensionList_loaded () | |
extensionList_installed () | |
extensionList_import () | |
alterSettings () | |
importExtInfo ($extRepUid) | |
importExtFromRep ($extRepUid, $loc, $uploadFlag=0, $directInput='', $recentTranslations=0, $incManual=0, $dontDelete=0) | |
showExtDetails ($extKey) | |
updatesForm ($extKey, $extInfo, $notSilent=0, $script='', $addFields='') | |
extDumpTables ($extKey, $extInfo) | |
getFileListOfExtension ($extKey, $conf) | |
extDelete ($extKey, $extInfo) | |
extUpdateEMCONF ($extKey, $extInfo) | |
extBackup ($extKey, $extInfo) | |
extBackup_dumpDataTablesLine ($tablesArray, $extKey) | |
extInformationArray ($extKey, $extInfo, $remote=0) | |
extInformationArray_dbReq ($techInfo, $tableHeader=0) | |
extInformationArray_dbInst ($dbInst, $current) | |
getRepositoryUploadForm ($extKey, $extInfo) | |
extensionListRowHeader ($trAttrib, $cells, $import=0) | |
extensionListRow ($extKey, $extInfo, $cells, $bgColorClass='', $inst_list=array(), $import=0, $altLinkUrl='') | |
wrapEmail ($str, $email) | |
helpCol ($key) | |
labelInfo ($str) | |
extensionTitleIconHeader ($extKey, $extInfo, $align='top') | |
removeButton () | |
installButton () | |
noImportMsg () | |
getInstalledExtensions () | |
getInstExtList ($path, &$list, &$cat, $type) | |
getImportExtList ($listArr) | |
setCat (&$cat, $listArrayPart, $extKey) | |
makeDetailedExtensionAnalysis ($extKey, $extInfo, $validity=0) | |
getClassIndexLocallangFiles ($absPath, $table_class_prefix, $extKey) | |
modConfFileAnalysis ($confFilePath) | |
serverExtensionMD5Array ($extKey, $conf) | |
findMD5ArrayDiff ($current, $past) | |
createDirsInPath ($dirs, $extDirPath) | |
removeExtDirectory ($removePath, $removeContentOnly=0) | |
clearAndMakeExtensionDir ($importedData, $type, $dontDelete=0) | |
removeCacheFiles () | |
extractDirsFromFileList ($files) | |
getExtPath ($extKey, $type) | |
writeTYPO3_MOD_PATH ($confFilePath, $type, $mP) | |
writeNewExtensionList ($newExtList) | |
writeTsStyleConfig ($extKey, $arr) | |
updateLocalEM_CONF ($extKey, $extInfo) | |
construct_ext_emconf_file ($extKey, $EM_CONF) | |
makeUploadArray ($extKey, $conf) | |
getSerializedLocalLang ($file, $content) | |
addExtToList ($extKey, $instExtInfo) | |
removeExtFromList ($extKey, $instExtInfo) | |
removeRequiredExtFromListArr ($listArr) | |
managesPriorities ($listArr, $instExtInfo) | |
checkClearCache ($extKey, $extInfo) | |
checkUploadFolder ($extKey, $extInfo) | |
checkDBupdates ($extKey, $extInfo, $infoOnly=0) | |
tsStyleConfigForm ($extKey, $extInfo, $output=0, $script='', $addFields='') | |
dumpTableAndFieldStructure ($arr) | |
dumpStaticTables ($tableList) | |
dumpHeader () | |
dumpTableHeader ($table, $fieldKeyInfo, $dropTableIfExists=0) | |
dumpTableContent ($table, $fieldStructure) | |
getTableAndFieldStructure ($parts) | |
fetchServerData ($repositoryUrl) | |
decodeServerData ($externalData, $stat=array()) | |
decodeExchangeData ($str) | |
makeUploadDataFromArray ($uploadArray, $local_gzcompress=-1) | |
repTransferParams () | |
makeReturnUrl () | |
T3instID () | |
processRepositoryReturnData ($TER_CMD) | |
listOrderTitle ($listOrder, $key) | |
makeVersion ($v, $mode) | |
renderVersion ($v, $raise='') | |
ulFolder ($extKey) | |
importAtAll () | |
importAsType ($type, $lockType='') | |
deleteAsType ($type) | |
getDocManual ($extension_key, $loc='') | |
versionDifference ($v1, $v2, $div=1) | |
first_in_array ($str, $array, $caseInsensitive=FALSE) | |
includeEMCONF ($path, $_EXTKEY) | |
searchExtension ($extKey, $row) | |
Public Attributes | |
$versionDiffFactor = 1000 | |
$systemInstall = 0 | |
$repositoryUrl = '' | |
$requiredExt = '' | |
$maxUploadSize = 6024000 | |
$kbMax = 100 | |
$defaultCategories | |
$categories | |
$states | |
$typeLabels | |
$typeDescr | |
$typePaths = Array() | |
$typeBackPaths = Array() | |
$typeRelPaths | |
$remoteAccess | |
$detailCols | |
$fe_user | |
$privacyNotice = 'When ever you interact with the online repository, server information is sent and stored in the repository for statistics. No personal information is sent, only identification of this TYPO3 install. If you want know exactly what is sent, look in typo3/mod/tools/em/index.php, function repTransferParams()' | |
$editTextExtensions = 'html,htm,txt,css,tmpl,inc,php,sql,conf,cnf,pl,pm,sh,xml,ChangeLog' | |
$nameSpaceExceptions = 'beuser_tracking,design_components,impexp,static_file_edit,cms,freesite,quickhelp,classic_welcome,indexed_search,sys_action,sys_workflows,sys_todos,sys_messages,direct_mail,sys_stat,tt_address,tt_board,tt_calender,tt_guest,tt_links,tt_news,tt_poll,tt_rating,tt_products,setup,taskcenter,tsconfig_help,context_help,sys_note,tstemplate,lowlevel,install,belog,beuser,phpmyadmin,aboutmodules,imagelist,setup,taskcenter,sys_notepad,viewpage' | |
$MCONF = array() | |
$MOD_MENU = array() | |
$MOD_SETTINGS = array() | |
$doc | |
$content | |
$inst_keys = array() | |
$gzcompress = 0 | |
$CMD = array() | |
$listRemote | |
$lookUpStr |
Definition at line 191 of file index.php.
|
Adds extension to extension list and returns new list. If -1 is returned, an error happend. Checks dependencies etc.
Definition at line 3300 of file index.php. References t3lib_extMgm::isLoaded(), and t3lib_div::trimExplode(). Referenced by showExtDetails(). |
|
Allows changing of settings
Definition at line 877 of file index.php. References $content, and t3lib_BEfunc::cshItem(). Referenced by main(). |
|
Check if clear-cache should be performed, otherwise show form (for installation of extension) Shown only if the extension has the clearCacheOnLoad flag set.
Definition at line 3466 of file index.php. References t3lib_div::_POST(), and t3lib_div::makeInstance(). Referenced by showExtDetails(). |
|
Validates the database according to extension requirements Prints form for changes if any. If none, returns blank. If an update is ordered, empty is returned as well. DBAL compliant (based on Install Tool code)
Definition at line 3578 of file index.php. References t3lib_div::_GP(). |
|
Check if upload folder / "createDir" directories should be created.
Definition at line 3493 of file index.php. References t3lib_div::_POST(), t3lib_div::mkdir(), t3lib_div::trimExplode(), and t3lib_div::writeFile(). |
|
Removes the current extension of $type and creates the base folder for the new one (which is going to be imported)
Definition at line 2902 of file index.php. References t3lib_div::mkdir(). Referenced by importExtFromRep(). |
|
Compiles the ext_emconf.php file
Definition at line 3154 of file index.php. References t3lib_div::testInt(). Referenced by importExtFromRep(). |
|
Creates directories in $extDirPath
Definition at line 2814 of file index.php. References t3lib_div::mkdir(), and t3lib_div::trimExplode(). Referenced by importExtFromRep(). |
|
Decodes extension upload array. This kind of data is when an extension is uploaded to TER
Definition at line 4022 of file index.php. Referenced by importExtFromRep(). |
|
Decode server data This is information like the extension list, extension information etc., return data after uploads (new em_conf)
|
|
Returns true if extensions in scope, $type, can be deleted (or installed for that sake)
|
|
Header comments of the SQL dump file
|
|
Dump content for static tables
Definition at line 3797 of file index.php. References t3lib_div::trimExplode(). |
|
Makes a dump of the tables/fields definitions for an extension
|
|
Dump table content Is DBAL compliant, but the dump format is written as MySQL standard. If the INSERT statements should be imported in a DBMS using other quoting than MySQL they must first be translated. t3lib_sqlengine can parse these queries correctly and translate them somehow.
|
|
Dump CREATE TABLE definition
|
|
Download extension as file / make backup
Definition at line 1687 of file index.php. Referenced by showExtDetails(). |
|
Link to dump of database tables
|
|
Delete extension from the file system
Definition at line 1636 of file index.php. References t3lib_div::inList(), and t3lib_extMgm::isLoaded(). Referenced by showExtDetails(). |
|
Creates view for dumping static tables and table/fields structures...
Definition at line 1518 of file index.php. References t3lib_div::formatSize(), and t3lib_div::writeFile(). Referenced by showExtDetails(). |
|
Listing remote extensions from online repository
Definition at line 715 of file index.php. References $content, $repositoryUrl, t3lib_BEfunc::cshItem(), extensionListRow(), extensionListRowHeader(), fetchServerData(), getImportExtList(), getInstalledExtensions(), importAsType(), importAtAll(), importExtInfo(), t3lib_extMgm::isLoaded(), noImportMsg(), repTransferParams(), and versionDifference(). Referenced by main(). |
|
Listing of available (installed) extensions
Definition at line 642 of file index.php. References $content, t3lib_BEfunc::cshItem(), extensionListRow(), extensionListRowHeader(), getInstalledExtensions(), t3lib_extMgm::isLoaded(), and searchExtension(). Referenced by main(). |
|
Listing of loaded (installed) extensions
Definition at line 600 of file index.php. References $content, t3lib_BEfunc::cshItem(), extensionListRow(), extensionListRowHeader(), getInstalledExtensions(), and searchExtension(). Referenced by main(). |
|
Prints a row with data for the various extension listings
tag class
content Definition at line 2076 of file index.php. References t3lib_div::fixed_lgd(), t3lib_div::inList(), t3lib_extMgm::isLoaded(), t3lib_div::trimExplode(), and t3lib_div::view_array(). Referenced by extensionList_import(), extensionList_installed(), and extensionList_loaded(). |
|
Prints the header row for the various listings
tag
table row Definition at line 2010 of file index.php. Referenced by extensionList_import(), extensionList_installed(), and extensionList_loaded(). |
|
Returns a header for an extensions including icon if any
Definition at line 2243 of file index.php. References t3lib_div::fixed_lgd(). Referenced by showExtDetails(). |
|
Prints a table with extension information in it.
Definition at line 1783 of file index.php. References t3lib_div::inList(), t3lib_extMgm::isLoaded(), and t3lib_div::view_array(). Referenced by importExtInfo(), and showExtDetails(). |
|
Double install warning.
|
|
Returns HTML with information about database requirements
|
|
Extracts the directories in the $files array
Definition at line 2976 of file index.php. Referenced by importExtFromRep(). |
|
Update extension EM_CONF...
Definition at line 1667 of file index.php. Referenced by showExtDetails(). |
|
Fetches data from the $repositoryUrl, un-compresses it, unserializes array and returns an array with the content if success.
Definition at line 3965 of file index.php. References t3lib_div::milliseconds(). Referenced by extensionList_import(), importExtFromRep(), and importExtInfo(). |
|
Compares two arrays with MD5-hash values for analysis of which files has changed.
|
|
Returns true if the $str is found as the first part of a string in $array
|
|
Analyses the php-scripts of an available extension on server
Definition at line 2658 of file index.php. References t3lib_div::getAllFilesAndFoldersInPath(), t3lib_div::isFirstPartOfStr(), and t3lib_div::removePrefixPathFromList(). |
|
Returns true if the doc/manual.sxw should be returned
|
|
Returns the absolute path where the extension $extKey is installed (based on 'type' (SGL))
Definition at line 3002 of file index.php. Referenced by showExtDetails(). |
|
Returns file-listing of an extension
Definition at line 1585 of file index.php. References t3lib_div::getAllFilesAndFoldersInPath(), t3lib_div::inList(), and t3lib_div::split_fileref(). Referenced by showExtDetails(). |
|
Maps remote extensions information into $cat/$list arrays for listing
Definition at line 2362 of file index.php. References t3lib_div::formatSize(). Referenced by extensionList_import(), and importExtInfo(). |
|
Returns the list of available (installed) extensions
Definition at line 2301 of file index.php. Referenced by extensionList_import(), extensionList_installed(), extensionList_loaded(), importExtFromRep(), and showExtDetails(). |
|
Gathers all extensions in $path
Definition at line 2328 of file index.php. References t3lib_div::get_dirs(), and t3lib_div::getFilesInDir(). |
|
Prints the upload form for extensions
Definition at line 1912 of file index.php. Referenced by showExtDetails(). |
|
Include a locallang file and return the $LOCAL_LANG array serialized.
|
|
Gets the table and field structure from database. Which fields and which tables are determined from the ext_tables.sql file
|
|
This function is a copy of the same function in t3lib_SCbase with one modification: In contrast to t3lib_SCbase::handleExternalFunctionValue() this function merges the $this->extClassConf array instead of overwriting it. That was necessary for including the Kickstarter as a submodule into the 'singleDetails' selectorbox as well as in the main 'function' selectorbox.
Reimplemented from t3lib_SCbase. Definition at line 415 of file index.php. References t3lib_SCbase::getExternalItemConfig(). Referenced by init(). |
|
Returns help text if applicable.
Definition at line 2217 of file index.php. References t3lib_BEfunc::helpText(), and t3lib_BEfunc::helpTextIcon(). |
|
Reports back if installation in a certain scope is possible.
Definition at line 4250 of file index.php. Referenced by extensionList_import(), importExtFromRep(), and importExtInfo(). |
|
Returns true if global OR local installation of extensions is allowed/possible.
Definition at line 4239 of file index.php. Referenced by extensionList_import(), and importExtInfo(). |
|
Imports an extensions from the online repository
Definition at line 1026 of file index.php. References $content, $repositoryUrl, clearAndMakeExtensionDir(), construct_ext_emconf_file(), createDirsInPath(), decodeExchangeData(), extractDirsFromFileList(), fetchServerData(), getInstalledExtensions(), importAsType(), t3lib_extMgm::isLoaded(), removeCacheFiles(), repTransferParams(), serverExtensionMD5Array(), t3lib_div::trimExplode(), t3lib_div::unlink_tempfile(), updatesForm(), t3lib_div::upload_to_tempfile(), t3lib_div::writeFile(), and writeTYPO3_MOD_PATH(). Referenced by main(). |
|
Returns detailed info about an extension in the online repository
Definition at line 924 of file index.php. References $content, $repositoryUrl, extInformationArray(), fetchServerData(), getImportExtList(), importAsType(), importAtAll(), noImportMsg(), repTransferParams(), and t3lib_div::trimExplode(). Referenced by extensionList_import(), and main(). |
|
Returns the $EM_CONF array from an extensions ext_emconf.php file
|
|
Standard init function of a module.
Reimplemented from t3lib_SCbase. Definition at line 341 of file index.php. References t3lib_div::_GP(), handleExternalFunctionValue(), t3lib_div::makeInstance(), menuConfig(), and t3lib_div::trimExplode(). |
|
Returns image for "install"
|
|
Returns title and style attribute for mouseover help text.
|
|
Returns subtitles for the extension listings
|
|
Main function for Extension Manager module.
Definition at line 501 of file index.php. References alterSettings(), extensionList_import(), extensionList_installed(), extensionList_loaded(), t3lib_SCbase::extObjContent(), t3lib_BEfunc::getFuncCheck(), t3lib_BEfunc::getFuncMenu(), importExtFromRep(), importExtInfo(), t3lib_div::inList(), and showExtDetails(). Referenced by showExtDetails(). |
|
Perform a detailed, technical analysis of the available extension on server! Includes all kinds of verifications Takes some time to process, therfore use with care, in particular in listings.
Definition at line 2476 of file index.php. References t3lib_extMgm::addModule(), t3lib_extMgm::addPageTSConfig(), t3lib_extMgm::addPItoST43(), t3lib_extMgm::addPlugin(), t3lib_extMgm::addTypoScriptConstants(), t3lib_extMgm::addTypoScriptSetup(), t3lib_extMgm::addUserTSConfig(), t3lib_div::get_dirs(), t3lib_extMgm::insertModuleFunction(), t3lib_div::isFirstPartOfStr(), t3lib_extMgm::isLoaded(), t3lib_div::loadTCA(), and t3lib_div::trimExplode(). |
|
Returns the return Url of the current script (for repository exchange)
Definition at line 4085 of file index.php. References t3lib_div::getIndpEnv(). |
|
Make upload array out of extension
Definition at line 3199 of file index.php. References t3lib_div::getAllFilesAndFoldersInPath(), and t3lib_div::inList(). |
|
Encodes extension upload array
|
|
Returns version information
|
|
Traverse the array of installed extensions keys and arranges extensions in the priority order they should be in
|
|
Configuration of which mod-menu items can be used
Reimplemented from t3lib_SCbase. Definition at line 429 of file index.php. References t3lib_div::_GP(), t3lib_BEfunc::getModuleData(), and t3lib_SCbase::mergeExternalItems(). Referenced by init(). |
|
Reads $confFilePath (a module $conf-file) and returns information on the existence of TYPO3_MOD_PATH definition and MCONF_name
|
|
Warning ( + text string) message about the impossibility to import extensions (both local and global locations are disabled...)
Definition at line 2276 of file index.php. Referenced by extensionList_import(), and importExtInfo(). |
|
Print module content. Called as last thing in the global scope.
|
|
Processes return-data from online repository. Currently only the returned emconf array is written to extension.
Definition at line 4106 of file index.php. References t3lib_div::writeFile(). Referenced by showExtDetails(). |
|
Returns image tag for "uninstall"
|
|
Unlink (delete) cache files
Definition at line 2956 of file index.php. References t3lib_extMgm::currentCacheFiles(). Referenced by importExtFromRep(). |
|
Removes the extension directory (including content)
Definition at line 2839 of file index.php. References t3lib_div::getAllFilesAndFoldersInPath(), t3lib_div::isFirstPartOfStr(), and t3lib_div::removePrefixPathFromList(). |
|
Remove extension key from the list of currently installed extensions and return list. If -1 is returned, an error happend. Checks dependencies etc.
Definition at line 3362 of file index.php. References t3lib_div::trimExplode(). Referenced by showExtDetails(). |
|
This removes any required extensions from the $listArr - they should NOT be added to the common extension list, because they are found already in "requiredExt" list
|
|
Parses the version number x.x.x and returns an array with the various parts.
|
|
Compiles the additional GET-parameters sent to the repository during requests for information.
Definition at line 4069 of file index.php. Referenced by extensionList_import(), importExtFromRep(), and importExtInfo(). |
|
Searches for ->lookUpStr in extension and returns true if found (or if no search string is set)
Definition at line 4346 of file index.php. Referenced by extensionList_installed(), and extensionList_loaded(). |
|
Creates a MD5-hash array over the current files in the extension
Definition at line 2757 of file index.php. Referenced by importExtFromRep(). |
|
Set category array entries for extension
Definition at line 2414 of file index.php. References t3lib_div::trimExplode(). |
|
Display extensions details.
Definition at line 1194 of file index.php. References $content, t3lib_div::_GP(), t3lib_div::_POST(), addExtToList(), checkClearCache(), t3lib_BEfunc::cshItem(), extBackup(), extDelete(), extDumpTables(), extensionTitleIconHeader(), extInformationArray(), t3lib_SCbase::extObjContent(), extUpdateEMCONF(), t3lib_div::formatForTextarea(), getExtPath(), getFileListOfExtension(), t3lib_BEfunc::getFuncMenu(), getInstalledExtensions(), getRepositoryUploadForm(), t3lib_div::inList(), t3lib_div::isFirstPartOfStr(), t3lib_extMgm::isLoaded(), t3lib_extMgm::isLocalconfWritable(), t3lib_div::linkThisScript(), main(), processRepositoryReturnData(), removeExtFromList(), t3lib_div::split_fileref(), tsStyleConfigForm(), updatesForm(), t3lib_div::writeFile(), and writeNewExtensionList(). Referenced by main(). |
|
Returns the unique TYPO3 Install Identification (sent to repository for statistics)
|
|
Produces the config form for an extension (if any template file, ext_conf_template.txt is found)
Definition at line 3677 of file index.php. References t3lib_div::_GP(), t3lib_div::_POST(), t3lib_div::callUserFunction(), t3lib_BEfunc::getModuleData(), and t3lib_div::makeInstance(). Referenced by showExtDetails(). |
|
Returns upload folder for extension
|
|
Forces update of local EM_CONF. This will renew the information of changed files.
Definition at line 3116 of file index.php. References t3lib_div::writeFile(). |
|
Creates a form for an extension which contains all options for configuration, updates of database, clearing of cache etc. This form is shown when
Definition at line 1487 of file index.php. References t3lib_div::linkThisScript(). Referenced by importExtFromRep(), and showExtDetails(). |
|
Evaluates differences in version numbers with three parts, x.x.x. Returns true if $v1 is greater than $v2
Definition at line 4304 of file index.php. Referenced by extensionList_import(). |
|
Wrapping input string in a link tag with link to email address
|
|
Writes the extension list to "localconf.php" file Removes the temp_CACHED* files before return.
Definition at line 3071 of file index.php. Referenced by showExtDetails(). |
|
Writes the TSstyleconf values to "localconf.php" Removes the temp_CACHED* files before return.
|
|
Write new TYPO3_MOD_PATH to "conf.php" file.
Definition at line 3034 of file index.php. Referenced by importExtFromRep(). |
|
Initial value: Array( 'be' => 'Backend', 'module' => 'Backend Modules', 'fe' => 'Frontend', 'plugin' => 'Frontend Plugins', 'misc' => 'Miscellaneous', 'services' => 'Services', 'templates' => 'Templates', 'example' => 'Examples', 'doc' => 'Documentation' ) |
|
The value of GET/POST var, 'CMD'
Reimplemented from t3lib_SCbase. |
|
Generally used for accumulating the output content of backend modules Reimplemented from t3lib_SCbase. Definition at line 308 of file index.php. Referenced by alterSettings(), extensionList_import(), extensionList_installed(), extensionList_loaded(), importExtFromRep(), importExtInfo(), and showExtDetails(). |
|
Initial value: Array( 'cat' => Array ( 'be' => array(), 'module' => array(), 'fe' => array(), 'plugin' => array(), 'misc' => array(), 'services' => array(), 'templates' => array(), 'example' => array(), 'doc' => array() ) ) |
|
Initial value: Array ( 0 => 2, 1 => 5, 2 => 6, 3 => 6, 4 => 4, 5 => 1 ) |
|
Generally used to hold an instance of the 'template' class from typo3/template.php Reimplemented from t3lib_SCbase. |
|
Initial value: array( 'username' => '', 'password' => '', 'uploadPass' => '', ) |
|
Loaded with the global array $MCONF which holds some module configuration from the conf.php file of backend modules.
Reimplemented from t3lib_SCbase. |
|
The module menu items array. Each key represents a key for which values can range between the items in the array of that key.
Reimplemented from t3lib_SCbase. |
|
Current settings for the keys of the MOD_MENU array
Reimplemented from t3lib_SCbase. |
|
Initial value: Array ( 'all' => '', 'owner' => 'Owner', 'selected' => 'Selected', 'member' => 'Member', ) |
|
Initial value: Array ( 'alpha' => 'Alpha', 'beta' => 'Beta', 'stable' => 'Stable', 'experimental' => 'Experimental', 'test' => 'Test', 'obsolete' => 'Obsolete', ) |
|
Initial value: Array ( 'S' => 'System extension (typo3/sysext/) - Always distributed with source code (Static).', 'G' => 'Global extensions (typo3/ext/) - Available for shared source on server (Dynamic).', 'L' => 'Local extensions (typo3conf/ext/) - Local for this TYPO3 installation only (Dynamic).', ) |
|
Initial value: Array ( 'S' => 'System', 'G' => 'Global', 'L' => 'Local', ) |
|
Initial value: Array ( 'S' => 'sysext/', 'G' => 'ext/', 'L' => '../typo3conf/ext/', ) |