ExtensionHelper
Extension Helper class.
deprecated
since |
3.7.4 |
---|---|
deprecated |
4.0 Replace class with a non static methods for better testing |
Methods
checkIfCoreExtension
Check if an extension is core or not
checkIfCoreExtension(string $type, string $element, integer $clientId, string $folder = '') : boolean
static
since |
3.7.4 |
---|
Arguments
- $type
string
The extension's type.- $element
string
The extension's element name.- $clientId
integer
The extension's client ID. Default 0.- $folder
string
The extension's folder. Default ''.
Response
boolean
True if core, false if not.
getCoreExtensions
Gets the core extensions.
getCoreExtensions() : array
static
since |
3.7.4 |
---|
Response
array
Array with core extensions.
Each extension is an array with following format:
type
, element
, folder
, client_id
.
Properties
coreExtensions
Array of core extensions Each element is an array with elements "type", "element", "folder" and "client_id".
static
since |
3.7.4 |
---|
Type(s)
array