![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
renderMenuAction (ServerRequestInterface $request, ResponseInterface $response) | |
checkAccess () | |
getItem () | |
getDropDown () | |
getAdditionalAttributes () | |
hasDropDown () | |
getIndex () | |
Public Attributes | |
const | TOOLBAR_MENU_TEMPLATE = 'SystemInformation.html' |
Protected Member Functions | |
collectInformation () | |
getPhpVersion () | |
getDatabase () | |
getApplicationContext () | |
getComposerMode () | |
getGitRevision () | |
getOperatingSystem () | |
getWebServer () | |
emitGetSystemInformation () | |
getBackendUserAuthentication () | |
getDatabaseConnection () | |
getPageRenderer () | |
getLanguageService () | |
getSignalSlotDispatcher () | |
Protected Attributes | |
$standaloneView = null | |
$totalCount = 0 | |
$highestSeverity | |
$severityBadgeClass = '' | |
$systemInformation = array() | |
$systemMessages = array() | |
$signalSlotDispatcher = null | |
$iconFactory | |
Render system info toolbar item
Definition at line 35 of file SystemInformationToolbarItem.php.
__construct | ( | ) |
Constructor
Definition at line 91 of file SystemInformationToolbarItem.php.
References Enumeration\cast(), SystemInformationToolbarItem\checkAccess(), ExtensionManagementUtility\extPath(), SystemInformationToolbarItem\getPageRenderer(), GeneralUtility\makeInstance(), and InformationStatus\STATUS_INFO.
checkAccess | ( | ) |
Checks whether the user has access to this toolbar item
Implements ToolbarItemInterface.
Definition at line 316 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\getBackendUserAuthentication().
Referenced by SystemInformationToolbarItem\__construct(), and SystemInformationToolbarItem\getDropDown().
|
protected |
Collect the information for the menu
Definition at line 111 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\emitGetSystemInformation(), SystemInformationToolbarItem\getApplicationContext(), SystemInformationToolbarItem\getComposerMode(), SystemInformationToolbarItem\getDatabase(), SystemInformationToolbarItem\getGitRevision(), SystemInformationToolbarItem\getOperatingSystem(), SystemInformationToolbarItem\getPhpVersion(), SystemInformationToolbarItem\getWebServer(), and InformationStatus\STATUS_NOTICE.
Referenced by SystemInformationToolbarItem\renderMenuAction().
|
protected |
Emits the "getSystemInformation" signal
Definition at line 274 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\$systemInformation, and SystemInformationToolbarItem\getSignalSlotDispatcher().
Referenced by SystemInformationToolbarItem\collectInformation().
getAdditionalAttributes | ( | ) |
No additional attributes needed.
Implements ToolbarItemInterface.
Definition at line 361 of file SystemInformationToolbarItem.php.
|
protected |
Gets the application context
Definition at line 176 of file SystemInformationToolbarItem.php.
References GeneralUtility\getApplicationContext(), SystemInformationToolbarItem\getLanguageService(), InformationStatus\STATUS_OK, and InformationStatus\STATUS_WARNING.
Referenced by SystemInformationToolbarItem\collectInformation().
|
protected |
Returns the current BE user.
Definition at line 391 of file SystemInformationToolbarItem.php.
References $GLOBALS.
Referenced by SystemInformationToolbarItem\checkAccess().
|
protected |
Adds the information if the Composer mode is enabled or disabled to the displayed system information
Definition at line 190 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\getLanguageService(), and Bootstrap\usesComposerClassLoading().
Referenced by SystemInformationToolbarItem\collectInformation().
|
protected |
Get the database info
Definition at line 162 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\getDatabaseConnection(), and SystemInformationToolbarItem\getLanguageService().
Referenced by SystemInformationToolbarItem\collectInformation().
|
protected |
Returns DatabaseConnection
Definition at line 401 of file SystemInformationToolbarItem.php.
References $GLOBALS.
Referenced by SystemInformationToolbarItem\getDatabase().
getDropDown | ( | ) |
Render drop down
Implements ToolbarItemInterface.
Definition at line 338 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\checkAccess().
Referenced by SystemInformationToolbarItem\renderMenuAction().
|
protected |
Gets the current GIT revision and branch
Definition at line 209 of file SystemInformationToolbarItem.php.
References StringUtility\endsWith(), CommandUtility\exec(), and SystemInformationToolbarItem\getLanguageService().
Referenced by SystemInformationToolbarItem\collectInformation().
getIndex | ( | ) |
Position relative to others
Implements ToolbarItemInterface.
Definition at line 381 of file SystemInformationToolbarItem.php.
getItem | ( | ) |
Render system information dropdown
Implements ToolbarItemInterface.
Definition at line 326 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\getLanguageService(), and Icon\SIZE_SMALL.
|
protected |
Returns LanguageService
Definition at line 421 of file SystemInformationToolbarItem.php.
References $GLOBALS.
Referenced by SystemInformationToolbarItem\getApplicationContext(), SystemInformationToolbarItem\getComposerMode(), SystemInformationToolbarItem\getDatabase(), SystemInformationToolbarItem\getGitRevision(), SystemInformationToolbarItem\getItem(), SystemInformationToolbarItem\getOperatingSystem(), SystemInformationToolbarItem\getPhpVersion(), and SystemInformationToolbarItem\getWebServer().
|
protected |
Gets the system kernel and version
Definition at line 237 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\getLanguageService().
Referenced by SystemInformationToolbarItem\collectInformation().
|
protected |
Returns current PageRenderer
Definition at line 411 of file SystemInformationToolbarItem.php.
References GeneralUtility\makeInstance().
Referenced by SystemInformationToolbarItem\__construct().
|
protected |
Gets the PHP version
Definition at line 148 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\getLanguageService().
Referenced by SystemInformationToolbarItem\collectInformation().
|
protected |
Get the SignalSlot dispatcher
Definition at line 431 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\$signalSlotDispatcher, and GeneralUtility\makeInstance().
Referenced by SystemInformationToolbarItem\emitGetSystemInformation().
|
protected |
Gets the webserver software
Definition at line 260 of file SystemInformationToolbarItem.php.
References SystemInformationToolbarItem\getLanguageService().
Referenced by SystemInformationToolbarItem\collectInformation().
hasDropDown | ( | ) |
This item has a drop down
Implements ToolbarItemInterface.
Definition at line 371 of file SystemInformationToolbarItem.php.
renderMenuAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Renders the menu for AJAX calls
ServerRequestInterface | $request | |
ResponseInterface | $response |
Definition at line 134 of file SystemInformationToolbarItem.php.
References $response, SystemInformationToolbarItem\collectInformation(), MessageInterface\getBody(), SystemInformationToolbarItem\getDropDown(), and MessageInterface\withHeader().
|
protected |
Definition at line 59 of file SystemInformationToolbarItem.php.
|
protected |
Definition at line 86 of file SystemInformationToolbarItem.php.
|
protected |
Definition at line 66 of file SystemInformationToolbarItem.php.
|
protected |
Definition at line 81 of file SystemInformationToolbarItem.php.
Referenced by SystemInformationToolbarItem\getSignalSlotDispatcher().
|
protected |
Definition at line 40 of file SystemInformationToolbarItem.php.
|
protected |
Definition at line 71 of file SystemInformationToolbarItem.php.
Referenced by SystemInformationToolbarItem\emitGetSystemInformation().
|
protected |
Definition at line 76 of file SystemInformationToolbarItem.php.
|
protected |
Definition at line 52 of file SystemInformationToolbarItem.php.
const TOOLBAR_MENU_TEMPLATE = 'SystemInformation.html' |
Template file for the dropdown menu
Definition at line 45 of file SystemInformationToolbarItem.php.