SC_mod_user_setup_index Class Reference

List of all members.

Public Member Functions

 storeIncomingData ()
 init ()
 main ()
 printContent ()
 getRealScriptUserObj ()
 simulateUser ()
 setLabel ($str, $key='', $addLabelTag=true, $altLabelTagId='')
 getCSH ($str)

Public Attributes

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

Protected Member Functions

 getButtons ()

Detailed Description

Definition at line 87 of file index.php.


Member Function Documentation

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

References $BACK_PATH, and t3lib_BEfunc::cshItem().

Referenced by main().

SC_mod_user_setup_index::getCSH ( str  ) 

Returns the CSH Icon for given string

Parameters:
string Locallang key
Returns:
string HTML output.

Definition at line 714 of file index.php.

References $GLOBALS, and t3lib_BEfunc::cshItem().

Referenced by main().

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

References $BACK_PATH, $GLOBALS, getRealScriptUserObj(), and t3lib_div::makeInstance().

SC_mod_user_setup_index::main (  ) 

Generate the main settings formular:

Returns:
void

Definition at line 268 of file index.php.

References $BACK_PATH, $GLOBALS, $val, t3lib_BEfunc::cshItem(), getButtons(), getCSH(), t3lib_div::makeInstance(), nbsp, setLabel(), and t3lib_div::trimExplode().

SC_mod_user_setup_index::printContent (  ) 

Prints the content / ends page

Returns:
void

Definition at line 590 of file index.php.

SC_mod_user_setup_index::setLabel ( str,
key = '',
addLabelTag = true,
altLabelTagId = '' 
)

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

Parameters:
string Locallang key
string Alternative override-config key
boolean Defines whether the string should be wrapped in a <label> tag.
string Alternative id for use in "for" attribute of <label> tag. By default the $str key is used prepended with "field_".
Returns:
string HTML output.

Definition at line 697 of file index.php.

References $GLOBALS, and $key.

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

References $BACK_PATH, $GLOBALS, 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 128 of file index.php.

References $GLOBALS, t3lib_div::_GP(), t3lib_div::_POST(), t3lib_div::intInRange(), and t3lib_div::makeInstance().


Member Data Documentation

SC_mod_user_setup_index::$content

Definition at line 101 of file index.php.

SC_mod_user_setup_index::$doc

Definition at line 99 of file index.php.

SC_mod_user_setup_index::$languageUpdate

Definition at line 110 of file index.php.

SC_mod_user_setup_index::$MCONF = array()

Definition at line 90 of file index.php.

SC_mod_user_setup_index::$MOD_MENU = array()

Definition at line 91 of file index.php.

SC_mod_user_setup_index::$MOD_SETTINGS = array()

Definition at line 92 of file index.php.

SC_mod_user_setup_index::$OLD_BE_USER

Definition at line 109 of file index.php.

SC_mod_user_setup_index::$overrideConf

Definition at line 102 of file index.php.


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