TYPO3backend Klassenreferenz

Aufstellung aller Elemente

Öffentliche Methoden

 __construct ()
 render ()
 addJavascript ($javascript)
 addJavascriptFile ($javascriptFile)
 addCss ($css)
 addCssFile ($cssFileName, $cssFile)
 addToolbarItem ($toolbarItemName, $toolbarItemClassName)

Geschützte Methoden

 initializeCoreToolbarItems ()
 renderToolbar ()
 getLoggedInUserLabel ()
 generateJavascript ()
 handlePageEditing ()
 setStartupModule ()
 getLogo ()

Geschützte Attribute

 $content
 $css
 $cssFiles
 $js
 $jsFiles
 $toolbarItems
 $menuWidth
 $moduleLoader
 $moduleMenu

Beschreibung der Konstruktoren und Destruktoren

TYPO3backend::__construct (  ) 

constructor

Rückgabe:
void

Dokumentation der Elementfunktionen

TYPO3backend::addCss ( css  ) 

adds a css snippet to the backend

Parameter:
string css snippet
Rückgabe:
void
TYPO3backend::addCssFile ( cssFileName,
cssFile 
)

adds a css file to the backend after it has been checked that it exists

Parameter:
string the css file's name with out the .css ending
string css file reference
Rückgabe:
boolean true if the css file was added, false otherwise
TYPO3backend::addJavascript ( javascript  ) 

adds a javascript snippet to the backend

Parameter:
string javascript snippet
Rückgabe:
void
TYPO3backend::addJavascriptFile ( javascriptFile  ) 

adds a javscript file to the backend after it has been checked that it exists

Parameter:
string javascript file reference
Rückgabe:
boolean true if the javascript file was successfully added, false otherwise
TYPO3backend::addToolbarItem ( toolbarItemName,
toolbarItemClassName 
)

adds an item to the toolbar, the class file for the toolbar item must be loaded at this point

Parameter:
string toolbar item name, f.e. tx_toolbarExtension_coolItem
string toolbar item class name, f.e. tx_toolbarExtension_coolItem
Rückgabe:
void
TYPO3backend::generateJavascript (  )  [protected]

Generates the JavaScript code for the backend.

Rückgabe:
void
TYPO3backend::getLoggedInUserLabel (  )  [protected]

gets the label of the currently loged in BE user

Rückgabe:
string html code snippet displaying the currently logged in user
TYPO3backend::getLogo (  )  [protected]

generates the code for the TYPO3 logo, either the default TYPO3 logo or a custom one

Rückgabe:
string HTML code snippet to display the TYPO3 logo
TYPO3backend::handlePageEditing (  )  [protected]

Checking if the "&edit" variable was sent so we can open it for editing the page. Code based on code from "alt_shortcut.php"

Rückgabe:
void
TYPO3backend::initializeCoreToolbarItems (  )  [protected]

initializes the core toolbar items

Rückgabe:
void
TYPO3backend::render (  ) 

main function generating the BE scaffolding

Rückgabe:
void
TYPO3backend::renderToolbar (  )  [protected]

renders the items in the top toolbar

Rückgabe:
string top toolbar elements as HTML
TYPO3backend::setStartupModule (  )  [protected]

Sets the startup module from either GETvars module and mpdParams or user configuration.

Rückgabe:
void

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
 Alle Klassen Namensbereiche Funktionen Variablen

Erzeugt am Wed Oct 28 16:40:25 2009 für Typo3 von  doxygen 1.6.1