TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Reports\Report\Status\ConfigurationStatus Class Reference
Inheritance diagram for TYPO3\CMS\Reports\Report\Status\ConfigurationStatus:
TYPO3\CMS\Reports\StatusProviderInterface tx_reports_reports_status_ConfigurationStatus

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

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

Definition at line 24 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 108 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 225 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 208 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 243 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 130 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 73 of file ConfigurationStatus.php.

References $GLOBALS, $registry, TYPO3\CMS\Backend\Utility\BackendUtility\getModuleUrl(), 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
boolean 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 45 of file ConfigurationStatus.php.

◆ $deprecationLogFileSizeErrorThreshold

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

Definition at line 38 of file ConfigurationStatus.php.

◆ $deprecationLogFileSizeWarningThreshold

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

Definition at line 31 of file ConfigurationStatus.php.