Documentation TYPO3 par Ameos

SC_mod_user_setup_index Class Reference

List of all members.

Public Member Functions

 storeIncomingData ()
 init ()
 main ()
 printContent ()
 getRealScriptUserObj ()
 simulateUser ()
 setLabel ($str, $key='')

Public Attributes

 $MCONF = array()
 $MOD_MENU = array()
 $MOD_SETTINGS = array()
 $doc
 $content
 $overrideConf
 $OLD_BE_USER

Detailed Description

Definition at line 86 of file index.php.


Member Function Documentation

SC_mod_user_setup_index::getRealScriptUserObj  ) 
 

Returns the backend user object, either the global OR the $this->OLD_BE_USER which is set during simulate-user operation. Anyway: The REAL user is returned - the one logged in.

Returns:
object The REAL user is returned - the one logged in.

Definition at line 431 of file index.php.

Referenced by init().

SC_mod_user_setup_index::init  ) 
 

Initializes the module for display of the settings form.

Returns:
void

Definition at line 215 of file index.php.

References getRealScriptUserObj(), and t3lib_div::makeInstance().

SC_mod_user_setup_index::main  ) 
 

Generate the main settings formular:

Returns:
void

Definition at line 247 of file index.php.

References t3lib_BEfunc::cshItem(), t3lib_extMgm::isLoaded(), t3lib_div::makeInstance(), setLabel(), and t3lib_div::trimExplode().

SC_mod_user_setup_index::printContent  ) 
 

Prints the content / ends page

Returns:
void

Definition at line 402 of file index.php.

SC_mod_user_setup_index::setLabel str,
key = ''
 

Returns the label $str from getLL() and grays out the value if the $str/$key is found in $this->overrideConf array Adds CSH as well if applicable.

Parameters:
string Locallang key
string Alternative override-config key
Returns:
string HTML output.

Definition at line 487 of file index.php.

References t3lib_BEfunc::cshItem().

Referenced by main().

SC_mod_user_setup_index::simulateUser  ) 
 

Will make the simulate-user selector if the logged in user is administrator. It will also set the GLOBAL(!) BE_USER to the simulated user selected if any (and set $this->OLD_BE_USER to logged in user)

Returns:
void

Definition at line 441 of file index.php.

References t3lib_div::_GP(), t3lib_BEfunc::getUserNames(), and t3lib_div::makeInstance().

SC_mod_user_setup_index::storeIncomingData  ) 
 

If settings are submitted to _POST[DATA], store them NOTICE: This method is called before the template.php is included. See buttom of document

Returns:
void

Definition at line 114 of file index.php.

References t3lib_div::_GP(), t3lib_div::_POST(), t3lib_div::intInRange(), t3lib_extMgm::isLoaded(), and t3lib_div::makeInstance().


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


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6