TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\View\LogoView Class Reference
Inheritance diagram for TYPO3\CMS\Backend\View\LogoView:
TYPO3Logo

Public Member Functions

 __construct ()
 
 render ()
 
 setLogo ($logo)
 

Protected Attributes

 $logo = ''
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! class to render the TYPO3 logo in the backend

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 21 of file LogoView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\LogoView::__construct ( )

Constructor

Definition at line 31 of file LogoView.php.

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 40 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 69 of file LogoView.php.

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

Member Data Documentation

◆ $logo

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