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.

References $GLOBALS.

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 $BACK_PATH, $GLOBALS, enctype, getRealScriptUserObj(), t3lib_div::makeInstance(), table, and td.

SC_mod_user_setup_index::main  ) 
 

Generate the main settings formular:

Returns:
void

Definition at line 247 of file index.php.

References $BACK_PATH, $GLOBALS, $LANG, $val, t3lib_BEfunc::cshItem(), input, t3lib_extMgm::isLoaded(), lang, t3lib_div::makeInstance(), nbsp, select, selected, setLabel(), table, td, t3lib_div::trimExplode(), and value.

SC_mod_user_setup_index::printContent  ) 
 

Prints the content / ends page

Returns:
void

Definition at line 402 of file index.php.

References exit.

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 $GLOBALS, t3lib_BEfunc::cshItem(), margin, and style.

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 $BACK_PATH, $GLOBALS, $LANG, t3lib_div::_GP(), t3lib_BEfunc::getUserNames(), t3lib_div::makeInstance(), select, selected, and value.

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(), lang, and t3lib_div::makeInstance().


Member Data Documentation

SC_mod_user_setup_index::$content
 

Definition at line 94 of file index.php.

SC_mod_user_setup_index::$doc
 

Definition at line 92 of file index.php.

SC_mod_user_setup_index::$MCONF = array()
 

Definition at line 89 of file index.php.

SC_mod_user_setup_index::$MOD_MENU = array()
 

Definition at line 90 of file index.php.

SC_mod_user_setup_index::$MOD_SETTINGS = array()
 

Definition at line 91 of file index.php.

SC_mod_user_setup_index::$OLD_BE_USER
 

Definition at line 96 of file index.php.

SC_mod_user_setup_index::$overrideConf
 

Definition at line 95 of file index.php.


The documentation for this class was generated from the following file:
Generated on Wed Aug 10 07:57:18 2005 for TYPO3 3.8.0 by  doxygen 1.4.3-20050530