Documentation TYPO3 par Ameos

SC_mod_tools_log_index Class Reference

Inheritance diagram for SC_mod_tools_log_index:
[legend]
Collaboration diagram for SC_mod_tools_log_index:
[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

Detailed Description

Definition at line 56 of file index.php.


Member Function Documentation

SC_mod_tools_log_index::init (  ) 

Initialize module

Returns:
void

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

Returns:
void

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

Returns:
void

Definition at line 167 of file index.php.

References t3lib_BEfunc::blindUserNames(), and t3lib_BEfunc::getFuncMenu().

SC_mod_tools_log_index::printContent (  ) 

Output content

Returns:
string HTML

Definition at line 307 of file index.php.

SC_mod_tools_log_index::main (  ) 

Main module function

Returns:
void

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

Print the content

Returns:
void

Definition at line 359 of file index.php.

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

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

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

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

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 885 of file index.php.

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

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

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

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

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

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

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)

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

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.

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

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

Returns:
void

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

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

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

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 1606 of file index.php.

References t3lib_div::inList().

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 1642 of file index.php.

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 1667 of file index.php.

Referenced by exportData().


Member Data Documentation

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 57 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 58 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 59 of file index.php.

SC_mod_tools_log_index::$doc

Generally used to hold an instance of the 'template' class from typo3/template.php

Reimplemented from t3lib_SCbase.

Definition at line 60 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 62 of file index.php.

Referenced by exportData(), and importData().


The documentation for this class was generated from the following files:


Généré par Les experts TYPO3 avec  doxygen 1.4.6