ExtensionHelper

Extension Helper class.

deprecated
since

3.7.4

deprecated

4.0 Replace class with a non static methods for better testing

package

Joomla CMS

Methods

checkIfCoreExtension

Check if an extension is core or not

checkIfCoreExtension(string type, string element, int clientId, string folder = '') : bool
static
since

3.7.4

Arguments

type

stringThe extension's type.

element

stringThe extension's element name.

clientId

intThe extension's client ID. Default 0.

folder

stringThe extension's folder. Default ''.

Response

boolTrue if core, false if not.

getCoreExtensions

Gets the core extensions.

getCoreExtensions() : array
static
since

3.7.4

Response

arrayArray 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