TYPO3 API  SVNRelease
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
tx_recycler_module1 Class Reference
Inheritance diagram for tx_recycler_module1:
Inheritance graph
[legend]
Collaboration diagram for tx_recycler_module1:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 initialize ()
 render ()
 flush ()

Public Attributes

 $doc

Protected Member Functions

 isCurrentUserAdmin ()
 loadHeaderData ()
 getJavaScriptConfiguration ()
 getJavaScriptLabels ()
 getJavaScriptLabelsFromLocallang ($selectionPrefix= 'js.', $stripFromSelectionName= '')
 getDocHeaderButtons ()
 getShortcutButton ()
 getTemplateMarkers ()
 getFunctionMenu ()
 getDataFromSession ($identifier, $default=NULL)

Protected Attributes

 $relativePath
 $pageRecord = array()
 $isAccessibleForCurrentUser = false
 $allowDelete = false
 $recordsPageLimit = 50
 $pageRenderer

Detailed Description

Definition at line 36 of file index.php.


Member Function Documentation

tx_recycler_module1::flush ( )

Flushes the rendered content to browser.

Returns:
void

Definition at line 115 of file index.php.

References t3lib_SCbase\$content, $GLOBALS, getDocHeaderButtons(), and getTemplateMarkers().

tx_recycler_module1::getDataFromSession ( identifier,
default = NULL 
) [protected]

Gets data from the session of the current backend user.

Parameters:
string$identifier,:The identifier to be used to get the data
string$default,:The default date to be used if nothing was found in the session
Returns:
string The accordant data in the session of the current backend user

Definition at line 320 of file index.php.

References $GLOBALS.

Referenced by getJavaScriptConfiguration().

tx_recycler_module1::getDocHeaderButtons ( ) [protected]

Gets the buttons that shall be rendered in the docHeader.

Returns:
array Available buttons for the docHeader

Definition at line 259 of file index.php.

References $GLOBALS, t3lib_BEfunc\cshItem(), and getShortcutButton().

Referenced by flush().

tx_recycler_module1::getFunctionMenu ( ) [protected]

Gets the function menu selector for this backend module.

Returns:
string The HTML representation of the function menu selector

Definition at line 304 of file index.php.

References t3lib_BEfunc\getFuncMenu().

Referenced by getTemplateMarkers().

tx_recycler_module1::getJavaScriptConfiguration ( ) [protected]

Gets the JavaScript configuration for the Ext JS interface.

Returns:
array The JavaScript configuration

Definition at line 181 of file index.php.

References $GLOBALS, getDataFromSession(), and t3lib_div\getIndpEnv().

Referenced by loadHeaderData().

tx_recycler_module1::getJavaScriptLabels ( ) [protected]

Gets the labels to be used in JavaScript in the Ext JS interface.

Returns:
array The labels to be used in JavaScript

Definition at line 203 of file index.php.

References $GLOBALS, and getJavaScriptLabelsFromLocallang().

Referenced by loadHeaderData().

tx_recycler_module1::getJavaScriptLabelsFromLocallang ( selectionPrefix = 'js.',
stripFromSelectionName = '' 
) [protected]

Gets labels to be used in JavaScript fetched from the current locallang file.

Parameters:
string$selectionPrefix,:Prefix to select the correct labels (default: 'js.')
string$stripFromSelectionName,:Sub-prefix to be removed from label names in the result (default: '')
Returns:
array Lables to be used in JavaScript of the current locallang file
Todo:
Check, whether this method can be moved in a generic way to $GLOBALS['LANG']

Definition at line 236 of file index.php.

References $GLOBALS, and $value.

Referenced by getJavaScriptLabels().

tx_recycler_module1::getShortcutButton ( ) [protected]

Gets the button to set a new shortcut in the backend (if current user is allowed to).

Returns:
string HTML representiation of the shortcut button

Definition at line 277 of file index.php.

References $GLOBALS.

Referenced by getDocHeaderButtons().

tx_recycler_module1::getTemplateMarkers ( ) [protected]

Gets the filled markers that are used in the HTML template.

Returns:
array The filled marker array

Definition at line 290 of file index.php.

References $GLOBALS, and getFunctionMenu().

Referenced by flush().

tx_recycler_module1::initialize ( )
tx_recycler_module1::isCurrentUserAdmin ( ) [protected]

Determines whether the current user is admin.

Returns:
boolean Whether the current user is admin

Definition at line 138 of file index.php.

References $GLOBALS.

Referenced by initialize().

tx_recycler_module1::loadHeaderData ( ) [protected]

Loads data in the HTML head section (e.g. JavaScript or stylesheet information).

Returns:
void

Definition at line 147 of file index.php.

References getJavaScriptConfiguration(), and getJavaScriptLabels().

Referenced by render().

tx_recycler_module1::render ( )

Renders the contente of the module.

Returns:
void

Definition at line 96 of file index.php.

References $BACK_PATH, $BE_USER, $CLIENT, $GLOBALS, $TCA, $TYPO3_CONF_VARS, and loadHeaderData().


Member Data Documentation

tx_recycler_module1::$allowDelete = false [protected]

Definition at line 46 of file index.php.

tx_recycler_module1::$doc

Reimplemented from t3lib_SCbase.

Definition at line 40 of file index.php.

tx_recycler_module1::$isAccessibleForCurrentUser = false [protected]

Definition at line 44 of file index.php.

tx_recycler_module1::$pageRecord = array() [protected]

Definition at line 43 of file index.php.

tx_recycler_module1::$pageRenderer [protected]

Definition at line 52 of file index.php.

tx_recycler_module1::$recordsPageLimit = 50 [protected]

Definition at line 47 of file index.php.

tx_recycler_module1::$relativePath [protected]

Definition at line 42 of file index.php.


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