TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
LogoView Class Reference

Public Member Functions

 __construct ()
 
 render ()
 
 setLogo ($logo)
 

Protected Attributes

 $logo = ''
 

Detailed Description

class to render the TYPO3 logo in the backend

Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - change the logic of the logo directly in the corresponding Fluid template

Definition at line 21 of file LogoView.php.

Constructor & Destructor Documentation

__construct ( )

Constructor

Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 - change the logic of the logo directly in the corresponding Fluid template

Definition at line 32 of file LogoView.php.

Member Function Documentation

render ( )

renders the actual logo code

Returns
string Logo html code snippet to use in the backend

Definition at line 43 of file LogoView.php.

References $GLOBALS, LogoView\$logo, and GeneralUtility\resolveBackPath().

setLogo (   $logo)

Sets the logo

Parameters
string$logoPath to logo file as seen from typo3/
Exceptions
\InvalidArgumentException

Definition at line 73 of file LogoView.php.

References LogoView\$logo.

Member Data Documentation

$logo = ''
protected

Definition at line 26 of file LogoView.php.

Referenced by LogoView\render(), and LogoView\setLogo().