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

Public Member Functions

 __construct ()
 
 getCopyrightYear ()
 
 getHtmlGeneratorTagContent ()
 
 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/tutorial-getting-started/main/en-us/Troubleshooting/PHP.html#opcode-cache-messages'
 

Protected Attributes

LanguageService $languageService
 

Detailed Description

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

Definition at line 27 of file Typo3Information.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Information\Typo3Information::__construct ( )

Definition at line 37 of file Typo3Information.php.

References $GLOBALS.

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 83 of file Typo3Information.php.

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

◆ getCopyrightYear()

◆ getHtmlGeneratorTagContent()

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

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

Definition at line 54 of file Typo3Information.php.

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

◆ getInlineHeaderComment()

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

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

Definition at line 62 of file Typo3Information.php.

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

Member Data Documentation

◆ $languageService

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

Definition at line 35 of file Typo3Information.php.

◆ 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/'

◆ 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 30 of file Typo3Information.php.

◆ URL_OPCACHE

const TYPO3\CMS\Core\Information\Typo3Information::URL_OPCACHE = 'https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/Troubleshooting/PHP.html#opcode-cache-messages'