[ Index ] |
|
Code source de Typo3 4.1.3 |
[Code source] [Imprimer] [Statistiques]
Import / Export module
Author: | Kasper Skaarhoj <kasperYYYY@typo3.com> |
Poids: | 1709 lignes (60 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier typo3/sysext/impexp/app/conf.php |
localPageTree:: (6 méthodes):
localPageTree()
wrapTitle()
PM_ATagWrap()
wrapIcon()
permsC()
ext_tree()
SC_mod_tools_log_index:: (19 méthodes):
main()
jumpToUrl()
printContent()
exportData()
addRecordsForPid()
exec_listQueryPid()
makeConfigurationForm()
makeAdvancedOptionsForm()
makeSaveForm()
importData()
processPresets()
getPreset()
userTempFolder()
userSaveFolder()
checkUpload()
renderSelectBox()
tableSelector()
extensionSelector()
filterPageIds()
Classe: localPageTree - X-Ref
Extension of the page tree class. Used to get the tree of pages to export.localPageTree() X-Ref |
Initialization return: void |
wrapTitle($title,$v) X-Ref |
Wrapping title from page tree. param: string Title to wrap param: mixed (See parent class) return: string Wrapped title |
PM_ATagWrap($icon,$cmd,$bMark='') X-Ref |
Wrapping Plus/Minus icon param: string Icon HTML param: mixed (See parent class) param: mixed (See parent class) return: string Icon HTML |
wrapIcon($icon,$row) X-Ref |
Wrapping Icon param: string Icon HTML param: array Record row (page) return: string Icon HTML |
permsC() X-Ref |
Select permissions return: string SQL where clause |
ext_tree($pid, $clause='') X-Ref |
Tree rendering param: integer PID value param: string Additional where clause return: array Array of tree elements |
Classe: SC_mod_tools_log_index - X-Ref
Main script class for the Import / Export facilitymain() X-Ref |
Main module function return: void |
jumpToUrl(URL) X-Ref |
Pas de description |
printContent() X-Ref |
Print the content return: void |
exportData($inData) X-Ref |
Export part of module param: array Content of POST VAR tx_impexp[].. return: void Setting content in $this->content |
addRecordsForPid($k, $tables, $maxNumber) X-Ref |
Adds records to the export object for a specific page id. param: integer Page id for which to select records to add param: array Array of table names to select from param: integer Max amount of records to select return: void |
exec_listQueryPid($table,$pid,$limit) X-Ref |
Selects records from table / pid param: string Table to select from param: integer Page ID to select from param: integer Max number of records to select return: pointer SQL resource pointer |
makeConfigurationForm($inData, &$row) X-Ref |
Create configuration form param: array Form configurat data param: array Table row accumulation variable. This is filled with table rows. return: void Sets content in $this->content |
makeAdvancedOptionsForm($inData, &$row) X-Ref |
Create advanced options form param: array Form configurat data param: array Table row accumulation variable. This is filled with table rows. return: void Sets content in $this->content |
makeSaveForm($inData, &$row) X-Ref |
Create configuration form param: array Form configurat data param: array Table row accumulation variable. This is filled with table rows. return: void Sets content in $this->content |
importData($inData) X-Ref |
Import part of module param: array Content of POST VAR tx_impexp[].. return: void Setting content in $this->content |
processPresets(&$inData) X-Ref |
Manipulate presets param: array In data array, passed by reference! return: void |
getPreset($uid) X-Ref |
Get single preset record param: integer Preset record return: array Preset record, if any (otherwise false) |
userTempFolder() X-Ref |
Returns first temporary folder of the user account (from $FILEMOUNTS) return: string Absolute path to first "_temp_" folder of the current user, otherwise blank. |
userSaveFolder() X-Ref |
Returns folder where user can save export files. return: string Absolute path to folder where export files can be saved. |
checkUpload() X-Ref |
Check if a file has been uploaded return: void |
renderSelectBox($prefix,$value,$optValues) X-Ref |
Makes a selector-box from optValues param: string Form element name param: string Current value param: array Options to display (key/value pairs) return: string HTML select element |
tableSelector($prefix,$value,$excludeList='') X-Ref |
Returns a selector-box with TCA tables param: string Form element name prefix param: array The current values selected param: string Table names (and the string "_ALL") to exclude. Comma list return: string HTML select element |
extensionSelector($prefix,$value) X-Ref |
Returns a selector-box with loaded extension keys param: string Form element name prefix param: array The current values selected return: string HTML select element |
filterPageIds($exclude) X-Ref |
Filter page IDs by traversing exclude array, finding all excluded pages (if any) and making an AND NOT IN statement for the select clause. param: array Exclude array from import/export object. return: string AND where clause part to filter out page uids. |
Généré le : Sun Nov 25 17:13:16 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |