

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 | |
Protected Member Functions | |
| getButtons () | |
| getButtons () | |
Definition at line 52 of file index.php.
| 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 697 of file index.php.
References $GLOBALS, $res, $TCA, exec_listQueryPid(), and t3lib_div::intInRange().
Referenced by exportData().
| SC_mod_tools_log_index::checkUpload | ( | ) |
Check if a file has been uploaded
Definition at line 1590 of file index.php.
References $FILEMOUNTS, $TYPO3_CONF_VARS, t3lib_div::_GP(), t3lib_div::getIndpEnv(), and t3lib_div::makeInstance().
Referenced by main().
| 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 723 of file index.php.
References $GLOBALS, $pid, $res, $TCA, t3lib_BEfunc::deleteClause(), and t3lib_BEfunc::versioningPlaceholderClause().
Referenced by addRecordsForPid(), and exportData().
| SC_mod_tools_log_index::exportData | ( | $ | inData | ) |
Export part of module
| array | Content of POST VAR tx_impexp[].. |
Definition at line 427 of file index.php.
References $content, $GLOBALS, $pid, $res, $row, $TCA, addRecordsForPid(), exec_listQueryPid(), exit, 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::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 1704 of file index.php.
Referenced by exportData().
| SC_mod_tools_log_index::getButtons | ( | ) | [protected] |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 376 of file index.php.
References $GLOBALS, t3lib_div::_GP(), t3lib_div::getIndpEnv(), and t3lib_iconWorks::skinImg().
| SC_mod_tools_log_index::getButtons | ( | ) | [protected] |
| SC_mod_tools_log_index::getPreset | ( | $ | uid | ) |
Get single preset record
| integer | Preset record |
Definition at line 1525 of file index.php.
References $GLOBALS.
Referenced by processPresets().
| SC_mod_tools_log_index::importData | ( | $ | inData | ) |
Import part of module
| array | Content of POST VAR tx_impexp[].. |
Definition at line 1100 of file index.php.
References $content, $GLOBALS, $row, $TCA, t3lib_div::_POST(), exit, t3lib_div::getFileAbsFileName(), t3lib_div::getFilesInDir(), t3lib_div::getIndpEnv(), t3lib_BEfunc::getSetUpdateSignal(), t3lib_div::inList(), t3lib_extMgm::isLoaded(), t3lib_div::locationHeaderUrl(), t3lib_div::makeInstance(), renderSelectBox(), t3lib_div::unlink_tempfile(), userSaveFolder(), userTempFolder(), and t3lib_div::writeFile().
Referenced by main().
| SC_mod_tools_log_index::init | ( | ) |
Initialize module
Reimplemented from t3lib_SCbase.
Definition at line 73 of file index.php.
References $BACK_PATH, $CLIENT, $GLOBALS, $TCA, $TYPO3_CONF_VARS, t3lib_BEfunc::getUserNames(), t3lib_div::makeInstance(), and menuConfig().
| SC_mod_tools_log_index::main | ( | ) |
Main module function
Definition at line 285 of file index.php.
References $BACK_PATH, t3lib_div::_GP(), checkUpload(), exportData(), t3lib_extMgm::extRelPath(), getButtons(), importData(), t3lib_div::inList(), t3lib_div::makeInstance(), and t3lib_BEfunc::readPageAccess().
| SC_mod_tools_log_index::main | ( | ) |
Main function
Definition at line 170 of file index.php.
References $BACK_PATH, $CLIENT, $GLOBALS, $row, $TCA, $TYPO3_CONF_VARS, $val, t3lib_BEfunc::blindUserNames(), getButtons(), and t3lib_BEfunc::getFuncMenu().
| SC_mod_tools_log_index::makeAdvancedOptionsForm | ( | $ | inData, | |
| &$ | row | |||
| ) |
| 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 753 of file index.php.
References $GLOBALS, $key, $row, $value, t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::getRecordWSOL(), and nbsp.
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 969 of file index.php.
References $GLOBALS, $row, t3lib_div::formatForTextarea(), t3lib_div::getFilesInDir(), nbsp, userSaveFolder(), and userTempFolder().
Referenced by exportData().
| SC_mod_tools_log_index::menuConfig | ( | ) |
Menu configuration
Reimplemented from t3lib_SCbase.
Definition at line 115 of file index.php.
References $BACK_PATH, $CLIENT, $GLOBALS, $TCA, $TYPO3_CONF_VARS, t3lib_div::_GP(), t3lib_BEfunc::getGroupNames(), and t3lib_BEfunc::getModuleData().
Referenced by init().
| SC_mod_tools_log_index::printContent | ( | ) |
| SC_mod_tools_log_index::printContent | ( | ) |
| SC_mod_tools_log_index::processPresets | ( | &$ | inData | ) |
Manipulate presets
| array | In data array, passed by reference! |
Definition at line 1430 of file index.php.
References $GLOBALS, t3lib_div::_GP(), and getPreset().
Referenced by exportData().
| 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 1620 of file index.php.
References $value.
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 1643 of file index.php.
References $GLOBALS, $TCA, $value, and t3lib_div::inList().
| SC_mod_tools_log_index::userSaveFolder | ( | ) |
Returns folder where user can save export files.
Definition at line 1567 of file index.php.
References $FILEMOUNTS.
Referenced by exportData(), importData(), and makeSaveForm().
| SC_mod_tools_log_index::userTempFolder | ( | ) |
Returns first temporary folder of the user account (from $FILEMOUNTS)
Definition at line 1551 of file index.php.
References $FILEMOUNTS.
Referenced by exportData(), importData(), and makeSaveForm().
| SC_mod_tools_log_index::$content |
Generally used for accumulating the output content of backend modules
Reimplemented from t3lib_SCbase.
Definition at line 64 of file index.php.
Referenced by exportData(), and importData().
| SC_mod_tools_log_index::$doc |
| 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.
1.4.7