Documentation TYPO3 par Ameos |
Public Member Functions | |
init () | |
menuConfig () | |
main () | |
printContent () | |
main () | |
printContent () | |
exportData ($inData) | |
addRecordsForPid ($k, $tables, $maxNumber) | |
exec_listQueryPid ($table, $pid, $limit) | |
makeConfigurationForm ($inData, &$row) | |
makeAdvancedOptionsForm ($inData, &$row) | |
makeSaveForm ($inData, &$row) | |
importData ($inData) | |
processPresets (&$inData) | |
getPreset ($uid) | |
userTempFolder () | |
userSaveFolder () | |
checkUpload () | |
renderSelectBox ($prefix, $value, $optValues) | |
tableSelector ($prefix, $value, $excludeList='') | |
extensionSelector ($prefix, $value) | |
filterPageIds ($exclude) | |
Public Attributes | |
$MCONF = array() | |
$MOD_MENU = array() | |
$MOD_SETTINGS = array() | |
$doc | |
$content | |
$lF | |
$be_user_Array | |
$pageinfo |
Definition at line 56 of file index.php.
SC_mod_tools_log_index::init | ( | ) |
Initialize module
Reimplemented from t3lib_SCbase.
Definition at line 71 of file index.php.
References t3lib_BEfunc::getUserNames(), t3lib_div::makeInstance(), and menuConfig().
SC_mod_tools_log_index::menuConfig | ( | ) |
Menu configuration
Reimplemented from t3lib_SCbase.
Definition at line 112 of file index.php.
References t3lib_div::_GP(), t3lib_BEfunc::getGroupNames(), and t3lib_BEfunc::getModuleData().
Referenced by init().
SC_mod_tools_log_index::main | ( | ) |
Main function
Definition at line 167 of file index.php.
References t3lib_BEfunc::blindUserNames(), and t3lib_BEfunc::getFuncMenu().
SC_mod_tools_log_index::printContent | ( | ) |
SC_mod_tools_log_index::main | ( | ) |
Main module function
Definition at line 289 of file index.php.
References t3lib_div::_GP(), checkUpload(), exportData(), importData(), t3lib_div::inList(), and t3lib_div::makeInstance().
SC_mod_tools_log_index::printContent | ( | ) |
SC_mod_tools_log_index::exportData | ( | $ | inData | ) |
Export part of module
array | Content of POST VAR tx_impexp[].. |
Definition at line 387 of file index.php.
References $content, addRecordsForPid(), exec_listQueryPid(), filterPageIds(), t3lib_div::formatSize(), t3lib_div::getFilesInDir(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordWSOL(), t3lib_div::intInRange(), t3lib_div::isAllowedAbsPath(), makeAdvancedOptionsForm(), makeConfigurationForm(), t3lib_div::makeInstance(), makeSaveForm(), processPresets(), userSaveFolder(), userTempFolder(), and t3lib_div::writeFile().
Referenced by main().
SC_mod_tools_log_index::addRecordsForPid | ( | $ | k, | |
$ | tables, | |||
$ | maxNumber | |||
) |
Adds records to the export object for a specific page id.
integer | Page id for which to select records to add | |
array | Array of table names to select from | |
integer | Max amount of records to select |
Definition at line 661 of file index.php.
References exec_listQueryPid(), and t3lib_div::intInRange().
Referenced by exportData().
SC_mod_tools_log_index::exec_listQueryPid | ( | $ | table, | |
$ | pid, | |||
$ | limit | |||
) |
Selects records from table / pid
string | Table to select from | |
integer | Page ID to select from | |
integer | Max number of records to select |
Definition at line 687 of file index.php.
References t3lib_BEfunc::deleteClause(), and t3lib_BEfunc::versioningPlaceholderClause().
Referenced by addRecordsForPid(), and exportData().
SC_mod_tools_log_index::makeConfigurationForm | ( | $ | inData, | |
&$ | row | |||
) |
Create configuration form
array | Form configurat data | |
array | Table row accumulation variable. This is filled with table rows. |
Definition at line 717 of file index.php.
References t3lib_BEfunc::getRecordTitle(), and t3lib_BEfunc::getRecordWSOL().
Referenced by exportData().
SC_mod_tools_log_index::makeAdvancedOptionsForm | ( | $ | inData, | |
&$ | row | |||
) |
Create advanced options form
array | Form configurat data | |
array | Table row accumulation variable. This is filled with table rows. |
Definition at line 885 of file index.php.
Referenced by exportData().
SC_mod_tools_log_index::makeSaveForm | ( | $ | inData, | |
&$ | row | |||
) |
Create configuration form
array | Form configurat data | |
array | Table row accumulation variable. This is filled with table rows. |
Definition at line 933 of file index.php.
References t3lib_div::formatForTextarea(), t3lib_div::getFilesInDir(), userSaveFolder(), and userTempFolder().
Referenced by exportData().
SC_mod_tools_log_index::importData | ( | $ | inData | ) |
Import part of module
array | Content of POST VAR tx_impexp[].. |
Definition at line 1064 of file index.php.
References $content, t3lib_div::_POST(), t3lib_div::getFileAbsFileName(), t3lib_div::getFilesInDir(), t3lib_div::getIndpEnv(), t3lib_BEfunc::getSetUpdateSignal(), t3lib_div::inList(), t3lib_extMgm::isLoaded(), t3lib_div::locationHeaderUrl(), t3lib_div::makeInstance(), t3lib_BEfunc::readPageAccess(), renderSelectBox(), t3lib_div::unlink_tempfile(), userTempFolder(), and t3lib_div::writeFile().
Referenced by main().
SC_mod_tools_log_index::processPresets | ( | &$ | inData | ) |
Manipulate presets
array | In data array, passed by reference! |
Definition at line 1393 of file index.php.
References t3lib_div::_GP(), and getPreset().
Referenced by exportData().
SC_mod_tools_log_index::getPreset | ( | $ | uid | ) |
Get single preset record
integer | Preset record |
Definition at line 1488 of file index.php.
Referenced by processPresets().
SC_mod_tools_log_index::userTempFolder | ( | ) |
Returns first temporary folder of the user account (from $FILEMOUNTS)
Definition at line 1514 of file index.php.
Referenced by exportData(), importData(), and makeSaveForm().
SC_mod_tools_log_index::userSaveFolder | ( | ) |
Returns folder where user can save export files.
Definition at line 1530 of file index.php.
Referenced by exportData(), and makeSaveForm().
SC_mod_tools_log_index::checkUpload | ( | ) |
Check if a file has been uploaded
Definition at line 1553 of file index.php.
References t3lib_div::_GP(), t3lib_div::getIndpEnv(), and t3lib_div::makeInstance().
Referenced by main().
SC_mod_tools_log_index::renderSelectBox | ( | $ | prefix, | |
$ | value, | |||
$ | optValues | |||
) |
Makes a selector-box from optValues
string | Form element name | |
string | Current value | |
array | Options to display (key/value pairs) |
Definition at line 1583 of file index.php.
Referenced by importData().
SC_mod_tools_log_index::tableSelector | ( | $ | prefix, | |
$ | value, | |||
$ | excludeList = '' | |||
) |
Returns a selector-box with TCA tables
string | Form element name prefix | |
array | The current values selected | |
string | Table names (and the string "_ALL") to exclude. Comma list |
Definition at line 1606 of file index.php.
References t3lib_div::inList().
SC_mod_tools_log_index::extensionSelector | ( | $ | prefix, | |
$ | value | |||
) |
SC_mod_tools_log_index::filterPageIds | ( | $ | exclude | ) |
Filter page IDs by traversing exclude array, finding all excluded pages (if any) and making an AND NOT IN statement for the select clause.
array | Exclude array from import/export object. |
Definition at line 1667 of file index.php.
Referenced by exportData().
SC_mod_tools_log_index::$MCONF = array() |
Loaded with the global array $MCONF which holds some module configuration from the conf.php file of backend modules.
Reimplemented from t3lib_SCbase.
SC_mod_tools_log_index::$MOD_MENU = array() |
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.
SC_mod_tools_log_index::$MOD_SETTINGS = array() |
Current settings for the keys of the MOD_MENU array
Reimplemented from t3lib_SCbase.
SC_mod_tools_log_index::$doc |
Generally used to hold an instance of the 'template' class from typo3/template.php
Reimplemented from t3lib_SCbase.
SC_mod_tools_log_index::$content |
Generally used for accumulating the output content of backend modules
Reimplemented from t3lib_SCbase.
Definition at line 62 of file index.php.
Referenced by exportData(), and importData().