TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\View\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()

TYPO3\CMS\Backend\View\LogoView::__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.

References TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

Member Function Documentation

◆ render()

TYPO3\CMS\Backend\View\LogoView::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, TYPO3\CMS\Backend\View\LogoView\$logo, and TYPO3\CMS\Core\Utility\GeneralUtility\resolveBackPath().

◆ setLogo()

TYPO3\CMS\Backend\View\LogoView::setLogo (   $logo)

Sets the logo

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

Definition at line 73 of file LogoView.php.

References TYPO3\CMS\Backend\View\LogoView\$logo.

Member Data Documentation

◆ $logo

TYPO3\CMS\Backend\View\LogoView::$logo = ''
protected