Class

eZExtension

class eZExtension

Constants

CACHE_DIR

Constant path to directory for extensions ordering cache

Methods

static array activeExtensions(bool|string $extensionType = false, eZINI $siteINI = null)

Return an array with activated extensions.

static  extensionOrdering(array $activeExtensions)

Returns the provided array reordered with loading order information taken into account.

static null|false|object getHandlerClass(ezpExtensionOptions $options)

Returns the correct handler defined in $iniFile configuration file A correct class name for the handler needs to be specified in the ini settings, and the class needs to be present for the autoload system.

static void clearActiveExtensionsMemoryCache()

Clears the active extensions in-memory cache

static void clearActiveExtensionsCache()

Clears (removes) active extension cache files from the cache folder.

Details

at line 60
static public array activeExtensions(bool|string $extensionType = false, eZINI $siteINI = null)

Return an array with activated extensions.

Parameters

bool|string $extensionType Decides which extension to include in the list, the follow values are possible: - false - Means add both default and access extensions - 'default' - Add only default extensions - 'access' - Add only access extensions
eZINI $siteINI Optional parameter to be able to only do change on specific instance of site.ini

Return Value

array

at line 143
static public extensionOrdering(array $activeExtensions)

Returns the provided array reordered with loading order information taken into account.

Parameters

array $activeExtensions Array of extensions.

See also

activeExtensions

at line 479
static public null|false|object getHandlerClass(ezpExtensionOptions $options)

Returns the correct handler defined in $iniFile configuration file A correct class name for the handler needs to be specified in the ini settings, and the class needs to be present for the autoload system.

Parameters

ezpExtensionOptions $options

Return Value

null|false|object Returns a valid handler object, null if setting did not exists and false if no handler was found

at line 586
static public void clearActiveExtensionsMemoryCache()

Clears the active extensions in-memory cache

Return Value

void

at line 595
static public void clearActiveExtensionsCache()

Clears (removes) active extension cache files from the cache folder.

Return Value

void