![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct (ReportController $reportsModule) | |
getReport () | |
Protected Member Functions | |
renderHelp () | |
renderServicesList () | |
renderServiceTypeList ($serviceType, $services) | |
renderServiceRow ($serviceKey, $serviceInformation) | |
renderExecutablesSearchPathList () | |
getInstalledServices () | |
sortServices (array $a, array $b) | |
getLanguageService () | |
Protected Attributes | |
$reportsModule | |
This class provides a report displaying a list of all installed services Code inspired by EXT:dam/lib/class.tx_dam_svlist.php by René Fritz
Definition at line 28 of file ServicesListReport.php.
__construct | ( | ReportController | $reportsModule | ) |
Constructor
ReportController | $reportsModule | Back-reference to the calling reports module |
Definition at line 42 of file ServicesListReport.php.
References ServicesListReport\$reportsModule, and ServicesListReport\getLanguageService().
|
protected |
This method filters the $T3_SERVICES global array to return a relevant, ordered list of installed services.
Every installed service appears twice in $T3_SERVICES: once as a service key for a given service type, and once a service type all by itself The list of services to display must avoid these duplicates
Furthermore, inside each service type, installed services must be ordered by priority and quality
Definition at line 222 of file ServicesListReport.php.
References $GLOBALS.
Referenced by ServicesListReport\renderServicesList().
|
protected |
Returns LanguageService
Definition at line 267 of file ServicesListReport.php.
References $GLOBALS.
Referenced by ServicesListReport\__construct(), ServicesListReport\renderExecutablesSearchPathList(), ServicesListReport\renderHelp(), ServicesListReport\renderServiceRow(), and ServicesListReport\renderServiceTypeList().
getReport | ( | ) |
This method renders the report
Implements ReportInterface.
Definition at line 53 of file ServicesListReport.php.
References ServicesListReport\renderExecutablesSearchPathList(), ServicesListReport\renderHelp(), and ServicesListReport\renderServicesList().
|
protected |
This method assembles a list of all defined executables search paths
Definition at line 173 of file ServicesListReport.php.
References GeneralUtility\fixWindowsFilePath(), ServicesListReport\getLanguageService(), and CommandUtility\getPaths().
Referenced by ServicesListReport\getReport().
|
protected |
Renders the help comments at the top of the module.
Definition at line 67 of file ServicesListReport.php.
References ServicesListReport\getLanguageService().
Referenced by ServicesListReport\getReport().
|
protected |
Renders a single service's row.
string | $serviceKey | The service key to access the service. |
array | $serviceInformation | registration information of the service. |
Definition at line 133 of file ServicesListReport.php.
References ExtensionManagementUtility\findServiceByKey(), and ServicesListReport\getLanguageService().
Referenced by ServicesListReport\renderServiceTypeList().
|
protected |
This method assembles a list of all installed services
Definition at line 79 of file ServicesListReport.php.
References ServicesListReport\getInstalledServices(), and ServicesListReport\renderServiceTypeList().
Referenced by ServicesListReport\getReport().
|
protected |
Renders the services list for a single service type.
string | $serviceType | The service type to render the installed services list for |
array | $services | List of services for the given type |
Definition at line 96 of file ServicesListReport.php.
References $lang, ServicesListReport\getLanguageService(), and ServicesListReport\renderServiceRow().
Referenced by ServicesListReport\renderServicesList().
|
protected |
Utility method used to sort services according to their priority and quality.
array | $a | First service to compare |
array | $b | Second service to compare |
Definition at line 244 of file ServicesListReport.php.
|
protected |
Definition at line 35 of file ServicesListReport.php.
Referenced by ServicesListReport\__construct().