class ExtensionHelper

Extension Helper class.

Methods

static  array
getCoreExtensions()

Gets the core extensions.

static  boolean
checkIfCoreExtension( string $type, string $element, integer $client_id, string $folder = '')

Check if an extension is core or not

Details

static array getCoreExtensions()

Gets the core extensions.

Return Value

array Array with core extensions. Each extension is an array with following format: type, element, folder, client_id.

static boolean checkIfCoreExtension( string $type, string $element, integer $client_id, string $folder = '')

Check if an extension is core or not

Parameters

string $type The extension's type.
string $element The extension's element name.
integer $client_id The extension's client ID. Default 0.
string $folder The extension's folder. Default ''.

Return Value

boolean True if core, false if not.