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. More...

This is help function for searching for extension code. It will read ini variables defined in $parameters, search trough the specified directories for specific files and set the result in $out.

The $parameters parameter must contain the following entries.

ini-name - The name of the ini file which has the settings, must include the .ini suffix.

repository-group - The INI group which has the basic repository settings.

repository-variable - The INI variable which has the basic repository settings.

extension-group - The INI group which has the extension settings.

extension-variable - The INI variable which has the extension settings.

subdir - A subdir which will be appended to all repositories searched for, can be left out.

extension-subdir - A subdir which will be appended to all extension repositories searched for, can be left out.

suffix-name - A suffix which will be appended after the file searched for.

type-directory - Whether the type has a directory for it's file or not. Default is true.

type - The type to look for, it will try to find a file named repository/subdir/type/type-suffix or if type-directory is false repository/subdir/type-suffix. If type is not specified the type-group and type-variable may be used for fetching the current type.

type-group - The INI group which has the type setting.

type-variable - The INI variable which has the type setting.

alias-group - The INI group which defines type aliases, see below.

alias-variable - The INI variable which defines type aliases.

Type aliases allows overriding a specific type to use another type handler, this is useful when extensions want to take control of some specific types or you want multiple names (aliases) for one type.

On success the $out parameter will contain:

type - The current type used.

original-type - The original type, if aliasing was used it may differ from type.

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.

By setting to string "siteaccess" only one location is supported (identifier makes eZINI overwrite earlier prepends with same key) null(default) means "ext-siteaccess:$extension" is used to only have one pr extension

Member Data Documentation

eZExtension::$activeExtensionsCache = array()

staticprotected

const eZExtension::CACHE_DIR = 'var/cache/'

The documentation for this class was generated from the following file: