SC_mod_tools_log_index Class Reference

Inheritance diagram for SC_mod_tools_log_index:

Inheritance graph
[legend]
Collaboration diagram for SC_mod_tools_log_index:

Collaboration graph
[legend]
List of all members.

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 ()

Detailed Description

Definition at line 52 of file index.php.


Member Function Documentation

SC_mod_tools_log_index::addRecordsForPid ( k,
tables,
maxNumber 
)

Adds records to the export object for a specific page id.

Parameters:
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
Returns:
void

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

Returns:
void

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

Parameters:
string Table to select from
integer Page ID to select from
integer Max number of records to select
Returns:
pointer SQL resource pointer

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

Parameters:
array Content of POST VAR tx_impexp[]..
Returns:
void Setting content in $this->content

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 
)

Returns a selector-box with loaded extension keys

Parameters:
string Form element name prefix
array The current values selected
Returns:
string HTML select element

Definition at line 1679 of file index.php.

References $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.

Parameters:
array Exclude array from import/export object.
Returns:
string AND where clause part to filter out page uids.

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.

Returns:
array all available buttons as an associated array

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]

Create the panel of buttons for submitting the form or otherwise perform operations.

Returns:
array all available buttons as an assoc. array

Definition at line 325 of file index.php.

References $GLOBALS.

Referenced by main().

SC_mod_tools_log_index::getPreset ( uid  ) 

Get single preset record

Parameters:
integer Preset record
Returns:
array Preset record, if any (otherwise false)

Definition at line 1525 of file index.php.

References $GLOBALS.

Referenced by processPresets().

SC_mod_tools_log_index::importData ( inData  ) 

Import part of module

Parameters:
array Content of POST VAR tx_impexp[]..
Returns:
void Setting content in $this->content

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

Returns:
void

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

Returns:
void

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

Returns:
void

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 
)

Create advanced options form

Parameters:
array Form configurat data
array Table row accumulation variable. This is filled with table rows.
Returns:
void Sets content in $this->content

Definition at line 921 of file index.php.

References $GLOBALS, $row, and nbsp.

Referenced by exportData().

SC_mod_tools_log_index::makeConfigurationForm ( inData,
&$  row 
)

Create configuration form

Parameters:
array Form configurat data
array Table row accumulation variable. This is filled with table rows.
Returns:
void Sets content in $this->content

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

Parameters:
array Form configurat data
array Table row accumulation variable. This is filled with table rows.
Returns:
void Sets content in $this->content

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

Returns:
void

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 (  ) 

Print the content

Returns:
void

Definition at line 367 of file index.php.

SC_mod_tools_log_index::printContent (  ) 

Output content

Returns:
string HTML

Definition at line 316 of file index.php.

SC_mod_tools_log_index::processPresets ( &$  inData  ) 

Manipulate presets

Parameters:
array In data array, passed by reference!
Returns:
void

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

Parameters:
string Form element name
string Current value
array Options to display (key/value pairs)
Returns:
string HTML select element

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

Parameters:
string Form element name prefix
array The current values selected
string Table names (and the string "_ALL") to exclude. Comma list
Returns:
string HTML select element

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.

Returns:
string Absolute path to folder where export files can be saved.

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)

Returns:
string Absolute path to first "_temp_" folder of the current user, otherwise blank.

Definition at line 1551 of file index.php.

References $FILEMOUNTS.

Referenced by exportData(), importData(), and makeSaveForm().


Member Data Documentation

SC_mod_tools_log_index::$be_user_Array

Definition at line 66 of file index.php.

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

Reimplemented from t3lib_SCbase.

Definition at line 62 of file index.php.

SC_mod_tools_log_index::$lF

Definition at line 65 of file index.php.

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.

See also:
init()

Reimplemented from t3lib_SCbase.

Definition at line 53 of file index.php.

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.

See also:
init()

Reimplemented from t3lib_SCbase.

Definition at line 54 of file index.php.

SC_mod_tools_log_index::$MOD_SETTINGS = array()

Current settings for the keys of the MOD_MENU array

See also:
$MOD_MENU

Reimplemented from t3lib_SCbase.

Definition at line 55 of file index.php.

SC_mod_tools_log_index::$pageinfo

Definition at line 278 of file index.php.


The documentation for this class was generated from the following files:
Generated on Sat Nov 29 04:23:33 2008 for TYPO3 API by  doxygen 1.4.7