TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Reports\Report\Status\ConfigurationStatus Class Reference
Inheritance diagram for TYPO3\CMS\Reports\Report\Status\ConfigurationStatus:
TYPO3\CMS\Reports\StatusProviderInterface

Public Member Functions

 getStatus ()
 

Protected Member Functions

 getReferenceIndexStatus ()
 
 isMemcachedUsed ()
 
 getConfiguredMemcachedServers ()
 
 getMemcachedConnectionStatus ()
 
 getDeprecationLogStatus ()
 
 getCreatedFilesWorldWritableStatus ()
 
 getCreatedDirectoriesWorldWritableStatus ()
 
 getDeprecationLogFileLink ()
 
 executeAdminCommand ()
 

Protected Attributes

 $deprecationLogFileSizeWarningThreshold = 10485760
 
 $deprecationLogFileSizeErrorThreshold = 104857600
 
 $backPath = '../'
 

Detailed Description

Performs some checks about the install tool protection status

Definition at line 22 of file ConfigurationStatus.php.

Member Function Documentation

◆ executeAdminCommand()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::executeAdminCommand ( )
protected

◆ getConfiguredMemcachedServers()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::getConfiguredMemcachedServers ( )
protected

Gets the configured memcached server connections.

Returns
array An array of configured memcached server connections.

Definition at line 109 of file ConfigurationStatus.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getMemcachedConnectionStatus(), and TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\isMemcachedUsed().

◆ getCreatedDirectoriesWorldWritableStatus()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::getCreatedDirectoriesWorldWritableStatus ( )
protected

Warning, if folderCreateMask has write bit for 'others' set.

Returns
The writable status for 'others'

Definition at line 230 of file ConfigurationStatus.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Reports\Status\OK, and TYPO3\CMS\Reports\Status\WARNING.

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getStatus().

◆ getCreatedFilesWorldWritableStatus()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::getCreatedFilesWorldWritableStatus ( )
protected

Warning, if fileCreateMask has write bit for 'others' set.

Returns
The writable status for 'others'

Definition at line 212 of file ConfigurationStatus.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Reports\Status\OK, and TYPO3\CMS\Reports\Status\WARNING.

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getStatus().

◆ getDeprecationLogFileLink()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::getDeprecationLogFileLink ( )
protected

Creates a link to the deprecation log file with the absolute path as the link text.

Returns
string Link to the deprecation log file

Definition at line 249 of file ConfigurationStatus.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\getDeprecationLogFileName(), and TYPO3\CMS\Core\Utility\GeneralUtility\resolveBackPath().

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getDeprecationLogStatus().

◆ getDeprecationLogStatus()

◆ getMemcachedConnectionStatus()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::getMemcachedConnectionStatus ( )
protected

Checks whether TYPO3 can connect to the configured memcached servers.

Returns
An object representing whether TYPO3 can connect to the configured memcached servers

Definition at line 132 of file ConfigurationStatus.php.

References $GLOBALS, $host, TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getConfiguredMemcachedServers(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Reports\Status\OK, and TYPO3\CMS\Reports\Status\WARNING.

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getStatus().

◆ getReferenceIndexStatus()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::getReferenceIndexStatus ( )
protected

Checks if sys_refindex is empty.

Returns
An object representing whether the reference index is empty or not

Definition at line 72 of file ConfigurationStatus.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Reports\Status\OK, and TYPO3\CMS\Reports\Status\WARNING.

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getStatus().

◆ getStatus()

◆ isMemcachedUsed()

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::isMemcachedUsed ( )
protected

Checks whether memcached is configured, if that's the case we assume it's also used.

Returns
bool TRUE if memcached is used, FALSE otherwise.

Definition at line 94 of file ConfigurationStatus.php.

References TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getConfiguredMemcachedServers().

Referenced by TYPO3\CMS\Reports\Report\Status\ConfigurationStatus\getStatus().

Member Data Documentation

◆ $backPath

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::$backPath = '../'
protected

Definition at line 43 of file ConfigurationStatus.php.

◆ $deprecationLogFileSizeErrorThreshold

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::$deprecationLogFileSizeErrorThreshold = 104857600
protected

Definition at line 36 of file ConfigurationStatus.php.

◆ $deprecationLogFileSizeWarningThreshold

TYPO3\CMS\Reports\Report\Status\ConfigurationStatus::$deprecationLogFileSizeWarningThreshold = 10485760
protected

Definition at line 29 of file ConfigurationStatus.php.