‪TYPO3CMS  10.4
TYPO3\CMS\Core\Information\Typo3Information Class Reference

Public Member Functions

 __construct (LanguageService $languageService=null)
 
 getCopyrightYear ()
 
string getHtmlGeneratorTagContent ()
 
string getInlineHeaderComment ()
 
string getCopyrightNotice ()
 

Public Attributes

const URL_COMMUNITY = 'https://typo3.org/'
 
const URL_LICENSE = 'https://typo3.org/project/licenses/'
 
const URL_EXCEPTION = 'https://typo3.org/go/exception/CMS/'
 
const URL_DONATE = 'https://typo3.org/community/contribute/donate/'
 
const URL_OPCACHE = 'https://docs.typo3.org/m/typo3/guide-installation/master/en-us/Troubleshooting/Index.html#opcode-cache-messages'
 

Protected Attributes

LanguageService $languageService
 

Detailed Description

Contains information and links, or copyright information for the project.

Definition at line 25 of file Typo3Information.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Information\Typo3Information::__construct ( LanguageService  $languageService = null)

Member Function Documentation

◆ getCopyrightNotice()

string TYPO3\CMS\Core\Information\Typo3Information::getCopyrightNotice ( )

Prints TYPO3 Copyright notice for About Modules etc. modules.

Warning: DO NOT prevent this notice from being shown in ANY WAY. According to the GPL license an interactive application must show such a notice on start-up ('If the program is interactive, make it output a short notice... ' - see GPL.txt) Therefore preventing this notice from being properly shown is a violation of the license, regardless of whether you remove it or use a stylesheet to obstruct the display.

Returns
‪string Text/Image (HTML) for copyright notice.

Definition at line 89 of file Typo3Information.php.

References $GLOBALS, and TYPO3\CMS\Core\Information\Typo3Information\getCopyrightYear().

◆ getCopyrightYear()

◆ getHtmlGeneratorTagContent()

string TYPO3\CMS\Core\Information\Typo3Information::getHtmlGeneratorTagContent ( )

Used for any backend rendering in the <meta generator> tag when rendering HTML.

Returns
‪string

Definition at line 58 of file Typo3Information.php.

References TYPO3\CMS\Core\Information\Typo3Information\getCopyrightYear().

◆ getInlineHeaderComment()

string TYPO3\CMS\Core\Information\Typo3Information::getInlineHeaderComment ( )

Used for any frontend rendering in the <head> tag when rendering HTML.

Returns
‪string

Definition at line 68 of file Typo3Information.php.

References TYPO3\CMS\Core\Information\Typo3Information\getCopyrightYear().

Member Data Documentation

◆ $languageService

LanguageService TYPO3\CMS\Core\Information\Typo3Information::$languageService
protected

◆ URL_COMMUNITY

const TYPO3\CMS\Core\Information\Typo3Information::URL_COMMUNITY = 'https://typo3.org/'

◆ URL_DONATE

const TYPO3\CMS\Core\Information\Typo3Information::URL_DONATE = 'https://typo3.org/community/contribute/donate/'

Definition at line 30 of file Typo3Information.php.

◆ URL_EXCEPTION

const TYPO3\CMS\Core\Information\Typo3Information::URL_EXCEPTION = 'https://typo3.org/go/exception/CMS/'

◆ URL_LICENSE

const TYPO3\CMS\Core\Information\Typo3Information::URL_LICENSE = 'https://typo3.org/project/licenses/'

Definition at line 28 of file Typo3Information.php.

◆ URL_OPCACHE

const TYPO3\CMS\Core\Information\Typo3Information::URL_OPCACHE = 'https://docs.typo3.org/m/typo3/guide-installation/master/en-us/Troubleshooting/Index.html#opcode-cache-messages'