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 () | |
| translationHandling () | |
| updateTranslation ($extKey, $lang, $mirrorURL) | |
| installTranslationsForExtension ($extKey, $mirrorURL) | |
| unzip ($file, $path) | |
| importExtInfo ($extKey, $version='') | |
| fetchMetaData ($metaType) | |
| getMirrorURL () | |
| installExtension ($extKey, $version=null, $mode=EM_INSTALL_VERSION_MIN) | |
| refreshGlobalExtList () | |
| importExtFromRep ($extKey, $version, $loc, $uploadFlag=0, $dontDelete=0, $directInput='') | |
| showExtDetails ($extKey) | |
| requestInstallExtensions ($extList) | |
| 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 () | |
| depToString ($dep, $type='depends') | |
| stringToDep ($dep) | |
| getInstalledExtensions () | |
| getInstExtList ($path, &$list, &$cat, $type) | |
| fixEMCONF ($emConf) | |
| splitVersionRange ($ver) | |
| prepareImportExtList () | |
| 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) | |
| arrayToCode ($array, $level=0) | |
| makeUploadArray ($extKey, $conf) | |
| getSerializedLocalLang ($file, $content) | |
| addExtToList ($extKey, $instExtInfo) | |
| checkDependencies ($extKey, $conf, $instExtInfo) | |
| removeExtFromList ($extKey, $instExtInfo) | |
| removeRequiredExtFromListArr ($listArr) | |
| managesPriorities ($listArr, $instExtInfo) | |
| checkClearCache ($extInfo) | |
| checkUploadFolder ($extKey, $extInfo) | |
| checkDBupdates ($extKey, $extInfo, $infoOnly=0) | |
| forceDBupdates ($extKey, $extInfo) | |
| tsStyleConfigForm ($extKey, $extInfo, $output=0, $script='', $addFields='') | |
| dumpTableAndFieldStructure ($arr) | |
| dumpStaticTables ($tableList) | |
| dumpHeader () | |
| dumpTableHeader ($table, $fieldKeyInfo, $dropTableIfExists=0) | |
| dumpTableContent ($table, $fieldStructure) | |
| getTableAndFieldStructure ($parts) | |
| uploadExtensionToTER ($em) | |
| listOrderTitle ($listOrder, $key) | |
| makeVersion ($v, $mode) | |
| renderVersion ($v, $raise='') | |
| ulFolder ($extKey) | |
| importAtAll () | |
| importAsType ($type, $lockType='') | |
| deleteAsType ($type) | |
| versionDifference ($v1, $v2, $div=1) | |
| first_in_array ($str, $array, $caseInsensitive=FALSE) | |
| includeEMCONF ($path, $_EXTKEY) | |
| searchExtension ($extKey, $row) | |
Public Attributes | |
| $versionDiffFactor = 1 | |
| $systemInstall = 0 | |
| $requiredExt = '' | |
| $maxUploadSize = 31457280 | |
| $kbMax = 500 | |
| $doPrintContent = true | |
| $defaultCategories | |
| $categories | |
| $states | |
| $stateColors | |
| $typeLabels | |
| $typeDescr | |
| $typePaths = Array() | |
| $typeBackPaths = Array() | |
| $typeRelPaths | |
| $detailCols | |
| $fe_user | |
| $privacyNotice = 'When you interact with the online repository, server information may be sent and stored in the repository for statistics.' | |
| $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,adodb' | |
| $MCONF = array() | |
| $MOD_MENU = array() | |
| $MOD_SETTINGS = array() | |
| $doc | |
| $content | |
| $inst_keys = array() | |
| $gzcompress = 0 | |
| $terConnection | |
| $CMD = array() | |
| $listRemote | |
| $lookUpStr | |
Definition at line 195 of file class.em_index.php.
|
||||||||||||
|
Adds extension to extension list and returns new list. If -1 is returned, an error happend. Checks dependencies etc.
Definition at line 3949 of file class.em_index.php. Referenced by installExtension(), and showExtDetails(). |
|
|
Allows changing of settings
Definition at line 920 of file class.em_index.php. References $content, and fetchMetaData(). Referenced by main(). |
|
||||||||||||
|
Enter description here...
Definition at line 3822 of file class.em_index.php. |
|
|
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 4224 of file class.em_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 4336 of file class.em_index.php. References t3lib_div::_GP(). |
|
||||||||||||||||
|
Enter description here...
Definition at line 3980 of file class.em_index.php. Referenced by importExtFromRep(), and showExtDetails(). |
|
||||||||||||
|
Check if upload folder / "createDir" directories should be created.
Definition at line 4251 of file class.em_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 3541 of file class.em_index.php. References t3lib_div::mkdir(). Referenced by importExtFromRep(). |
|
||||||||||||
|
Compiles the ext_emconf.php file
Definition at line 3791 of file class.em_index.php. Referenced by importExtFromRep(). |
|
||||||||||||
|
Creates directories in $extDirPath
Definition at line 3460 of file class.em_index.php. References t3lib_div::mkdir_deep(). Referenced by importExtFromRep(). |
|
|
Returns true if extensions in scope, $type, can be deleted (or installed for that sake)
Definition at line 4938 of file class.em_index.php. |
|
||||||||||||
|
Checks whether the passed dependency is TER2-style (array) and returns a single string for displaying the dependencies. It leaves out all version numbers and the "php" and "typo3" dependencies, as they are implicit and of no interest without the version number.
Definition at line 2861 of file class.em_index.php. |
|
|
Header comments of the SQL dump file
Definition at line 4640 of file class.em_index.php. |
|
|
Dump content for static tables
Definition at line 4611 of file class.em_index.php. References t3lib_div::trimExplode(). |
|
|
Makes a dump of the tables/fields definitions for an extension
Definition at line 4586 of file class.em_index.php. |
|
||||||||||||
|
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.
Definition at line 4699 of file class.em_index.php. |
|
||||||||||||||||
|
Dump CREATE TABLE definition
Definition at line 4657 of file class.em_index.php. |
|
||||||||||||
|
Download extension as file / make backup
Definition at line 2347 of file class.em_index.php. Referenced by showExtDetails(). |
|
||||||||||||
|
Link to dump of database tables
Definition at line 2394 of file class.em_index.php. |
|
||||||||||||
|
Delete extension from the file system
Definition at line 2296 of file class.em_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 2175 of file class.em_index.php. References t3lib_div::formatSize(), and t3lib_div::writeFile(). Referenced by showExtDetails(). |
|
|
Listing remote extensions from online repository
Definition at line 752 of file class.em_index.php. References $content, t3lib_BEfunc::cshItem(), extensionListRow(), extensionListRowHeader(), fetchMetaData(), getInstalledExtensions(), importAsType(), importAtAll(), importExtInfo(), t3lib_extMgm::isLoaded(), noImportMsg(), prepareImportExtList(), and versionDifference(). Referenced by main(). |
|
|
Listing of available (installed) extensions
Definition at line 680 of file class.em_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 625 of file class.em_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 2658 of file class.em_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 2597 of file class.em_index.php. Referenced by extensionList_import(), extensionList_installed(), and extensionList_loaded(). |
|
||||||||||||||||
|
Returns a header for an extensions including icon if any
Definition at line 2815 of file class.em_index.php. References t3lib_div::fixed_lgd(). Referenced by showExtDetails(). |
|
||||||||||||||||
|
Prints a table with extension information in it.
Definition at line 2422 of file class.em_index.php. References t3lib_div::inList(), t3lib_extMgm::isLoaded(), and t3lib_div::view_array(). Referenced by importExtInfo(), and showExtDetails(). |
|
||||||||||||
|
Double install warning.
Definition at line 2517 of file class.em_index.php. |
|
||||||||||||
|
Returns HTML with information about database requirements
Definition at line 2504 of file class.em_index.php. |
|
|
Extracts the directories in the $files array
Definition at line 3605 of file class.em_index.php. Referenced by importExtFromRep(). |
|
||||||||||||
|
Update extension EM_CONF...
Definition at line 2327 of file class.em_index.php. Referenced by showExtDetails(). |
|
|
Fetches metadata and stores it to the corresponding place. This includes the mirror list, extension XML files.
Definition at line 1380 of file class.em_index.php. References $content, getMirrorURL(), t3lib_BEfunc::getModuleData(), t3lib_div::getURL(), t3lib_div::tempnam(), t3lib_div::unlink_tempfile(), and t3lib_div::writeFile(). Referenced by alterSettings(), extensionList_import(), getMirrorURL(), and installExtension(). |
|
||||||||||||
|
Compares two arrays with MD5-hash values for analysis of which files has changed.
Definition at line 3428 of file class.em_index.php. |
|
||||||||||||||||
|
Returns true if the $str is found as the first part of a string in $array
Definition at line 4971 of file class.em_index.php. References t3lib_div::isFirstPartOfStr(). |
|
|
Fixes an old style ext_emconf.php array by adding constraints if needed and removing deprecated keys
Definition at line 2968 of file class.em_index.php. Referenced by importExtFromRep(). |
|
||||||||||||
|
Updates the database according to extension requirements DBAL compliant (based on Install Tool code)
Definition at line 4433 of file class.em_index.php. Referenced by installExtension(). |
|
||||||||||||||||
|
Analyses the php-scripts of an available extension on server
Definition at line 3305 of file class.em_index.php. References t3lib_div::getAllFilesAndFoldersInPath(), t3lib_div::isFirstPartOfStr(), and t3lib_div::removePrefixPathFromList(). |
|
||||||||||||
|
Returns the absolute path where the extension $extKey is installed (based on 'type' (SGL))
Definition at line 3631 of file class.em_index.php. Referenced by showExtDetails(). |
|
||||||||||||
|
Returns file-listing of an extension
Definition at line 2242 of file class.em_index.php. References t3lib_div::getAllFilesAndFoldersInPath(), t3lib_div::inList(), and t3lib_div::split_fileref(). Referenced by showExtDetails(). |
|
|
Returns the list of available (installed) extensions
Definition at line 2910 of file class.em_index.php. Referenced by extensionList_import(), extensionList_installed(), extensionList_loaded(), importExtFromRep(), installExtension(), and showExtDetails(). |
|
||||||||||||||||||||
|
Gathers all extensions in $path
Definition at line 2937 of file class.em_index.php. References t3lib_div::get_dirs(), and t3lib_div::getFilesInDir(). |
|
|
Returns the base URL for the slected or a random mirror.
Definition at line 1439 of file |