SelfTest
in package
SelfTest is a helper class which checks all dependencies of the application.
Tags
Table of Contents
Methods
- getDatabaseDriverInfo() : array<string|int, mixed>|false
- getDatabaseResults() : array<string|int, mixed>
- Get Results of the Application SelfTest for Database part.
- getLegancyConfigSettings() : array<string|int, mixed>
- Returns an array with legacy HumHub configuration options.
- getMarketplaceResults() : array<string|int, mixed>
- Get Results of the Application SelfTest for Marketplace part.
- getResults() : array<string|int, mixed>
- Get Results of the Application SelfTest.
- getSupportedDatabaseDrivers() : array<string|int, mixed>
Methods
getDatabaseDriverInfo()
public
static getDatabaseDriverInfo() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|falsegetDatabaseResults()
Get Results of the Application SelfTest for Database part.
public
static getDatabaseResults([mixed $checks = [] ]) : array<string|int, mixed>
Fields
- title
- state (OK, WARNING or ERROR)
- hint
Parameters
- $checks : mixed = []
Return values
array<string|int, mixed>getLegancyConfigSettings()
Returns an array with legacy HumHub configuration options.
public
static getLegancyConfigSettings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getMarketplaceResults()
Get Results of the Application SelfTest for Marketplace part.
public
static getMarketplaceResults([mixed $checks = [] ]) : array<string|int, mixed>
Fields
- title
- state (OK, WARNING or ERROR)
- hint
Parameters
- $checks : mixed = []
Return values
array<string|int, mixed>getResults()
Get Results of the Application SelfTest.
public
static getResults() : array<string|int, mixed>
Fields
- title
- state (OK, WARNING or ERROR)
- hint
Return values
array<string|int, mixed>getSupportedDatabaseDrivers()
public
static getSupportedDatabaseDrivers() : array<string|int, mixed>