Property | Type | Description | |
---|---|---|---|
$Paths | The valid paths to search for applications. |
Method | Description | |
---|---|---|
__construct ( |
||
availableApplications ( ) | Get a list of the available applications. | |
availableVisibleApplications ( ) : array | Get a list of applications that are not marked as invisible. | |
checkApplication ( string $applicationName ) : boolean | Check to see if an application is enabled. | |
checkRequirements ( string $applicationName ) | Check that the requirements for an application have been enabled. | |
disableApplication ( string $applicationName ) | Disable an application. | |
enableApplication ( string $applicationName ) : boolean | Enable an application. | |
enabledApplicationFolders ( ) : array | Get an list of enabled application folders. | |
enabledApplications ( ) : array | Gets an array of all of the enabled applications. | |
enabledVisibleApplications ( ) : array | Get a list of applications that are enabled and not marked as invisible. | |
getApplicationInfo ( string $applicationName, string $key = null ) : boolean | mixed | Get the information about an application. | |
isEnabled ( string $Name ) : boolean | Check whether or not an application is enabled. | |
registerPermissions ( string $applicationName ) | Define the permissions for an application. | |
testApplication ( string $applicationName ) : boolean | Test if an application can be enabled. |
public __construct ( |
||
$addonManager |
public availableApplications ( ) |
public availableVisibleApplications ( ) : array | ||
return | array | Returns an array of application info arrays. |
public checkApplication ( string $applicationName ) : boolean | ||
$applicationName | string | The name of the application to check. |
return | boolean | Returns true if the application is enabled, otherwise false. |
public checkRequirements ( string $applicationName ) | ||
$applicationName | string | The name of the application to check. |
public disableApplication ( string $applicationName ) | ||
$applicationName | string | The name of the application to disable. |
public enableApplication ( string $applicationName ) : boolean | ||
$applicationName | string | The name of the application to enable. |
return | boolean | Returns true if the application was enabled or false otherwise. |
public enabledApplicationFolders ( ) : array | ||
return | array | Returns an array of all of the enabled application folders. |
public enabledApplications ( ) : array | ||
return | array |
public enabledVisibleApplications ( ) : array | ||
return | array | Returns an array of application info arrays. |
public getApplicationInfo ( string $applicationName, string $key = null ) : boolean | mixed | ||
$applicationName | string | The name of the application to lookup. |
$key | string | The key of a field in the application info to return. |
return | boolean | mixed | Returns the application's info, a specific value, or false if the application cannot be found. |
public registerPermissions ( string $applicationName ) | ||
$applicationName | string | The name of the application. |
public testApplication ( string $applicationName ) : boolean | ||
$applicationName | string | The name of the application to test. |
return | boolean | Returns true if the application can be enabled or false otherwise. |