|
eZ Publish
[4.0]
|
The class eZExtension does. More...
Public Member Functions | |
| eZExtension () | |
Static Public Member Functions | |
| static | activateExtensions ($extensionType=false) |
| static | activeExtensions ($extensionType=false) |
| static | baseDirectory () |
| static | expandedPathList ($extensionList, $subdirectory=false) |
| static | extensionInfo ($extension) |
| static | findExtensionType ($parameters, &$out) |
| static | isExtension ($path) |
| static | nameFromPath ($path) |
| static | prependExtensionSiteAccesses ($accessName=false, $ini=false, $globalDir=true, $identifier=false, $order=true) |
| static | prependSiteAccess ($extension, $accessName=false, $ini=false, $globalDir=true, $identifier=false) |
The class eZExtension does.
Definition at line 42 of file ezextension.php.
| static eZExtension::activateExtensions | ( | $ | extensionType = false | ) | [static] |
Will make sure that all extensions that has settings directories are added to the eZINI override list.
Definition at line 100 of file ezextension.php.
Referenced by eZScript\initialize().
| static eZExtension::activeExtensions | ( | $ | extensionType = false | ) | [static] |
| $extensionType | Decides which extension to include in the list, the follow values are possible.
|
Default extensions are those who are loaded before a siteaccess are determined while access extensions are loaded after siteaccess is set.
Definition at line 73 of file ezextension.php.
Referenced by activateExtensions(), eZModule\activeModuleRepositories(), checkSiteaccess(), eZContentUpload\findHandler(), eZSiteAccess\findPathToSiteAccess(), eZDataType\getDBAExtensionFilePath(), eZDB\instance(), eZPaymentGatewayType\loadAndRegisterExtensionGateways(), and prependExtensionSiteAccesses().
| static eZExtension::baseDirectory | ( | ) | [static] |
Definition at line 55 of file ezextension.php.
Referenced by activateExtensions(), eZModule\activeModuleRepositories(), eZNotificationEventFilter\availableHandlers(), checkSiteaccess(), eZContentObjectEditHandler\executeInputHandlers(), eZContentObjectEditHandler\executePublish(), expandedPathList(), ext_activate(), ext_class(), ext_include(), extension_path(), extensionInfo(), eZRSSImport\fieldMap(), eZFilePackageHandler\fileExists(), findExtensionType(), eZContentUpload\findHandler(), eZSiteAccess\findPathToSiteAccess(), eZDataType\getDBAExtensionFilePath(), eZCollaborationItemHandler\handlerRepositories(), eZContentObjectEditHandler\initialize(), eZDB\instance(), eZNotificationEventType\loadAndRegisterType(), eZWorkflowType\loadAndRegisterType(), eZDataType\loadAndRegisterType(), eZShippingManager\loadBasketInfoHandler(), eZNotificationEventFilter\loadHandler(), eZShippingManager\loadShippingHandler(), eZTSTranslator\loadTranslationFile(), eZVATManager\loadVATHandler(), nameFromPath(), nameFromPath(), prependSiteAccess(), and eZClusterFileHandler\searchPathArray().
| static eZExtension::expandedPathList | ( | $ | extensionList, |
| $ | subdirectory = false |
||
| ) | [static] |
Generates a list with expanded paths and returns it. The paths are expanded to where the extensions are placed. Optionally a subdirectory of the extension may be set using $subdirectory.
Definition at line 182 of file ezextension.php.
Referenced by eZSearch\getEngine(), eZSimpleTagsOperator\initializeIncludes(), eZUserLoginHandler\instance(), eZUser\instance(), eZCodeMapper\loadTransformationFiles(), eZURLAliasFilter\processFilters(), and templateInit().
| static eZExtension::extensionInfo | ( | $ | extension | ) | [static] |
Read extension information. Returns extension information array specified in feature request 9371. ( http://issues.ez.no/9371 )
| extension | name |
Definition at line 332 of file ezextension.php.
| eZExtension::eZExtension | ( | ) |
Constructor
Definition at line 47 of file ezextension.php.
| static eZExtension::findExtensionType | ( | $ | parameters, |
| &$ | out | ||
| ) | [static] |
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.
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:
Definition at line 233 of file ezextension.php.
Referenced by eZImageAnalyzer\create(), eZImageManager\factoryFor(), eZXMLText\fetchHandler(), eZShopAccountHandler\instance(), eZConfirmOrderHandler\instance(), eZBinaryFileHandler\instance(), eZPackageInstallationHandler\instance(), eZPackageCreationHandler\instance(), eZBinaryFile\metaData(), and eZPackage\packageHandler().
| static eZExtension::isExtension | ( | $ | path | ) | [static] |
| $path | Path to check. |
Definition at line 379 of file ezextension.php.
| static eZExtension::nameFromPath | ( | $ | path | ) | [static] |
eZExtension::nameFromPath( __FILE__ ) executed in any file of an extension can help you to find the path to additional resources
| $path | Path to check. |
Definition at line 360 of file ezextension.php.
Referenced by isExtension(), and isExtension().
| static eZExtension::prependExtensionSiteAccesses | ( | $ | accessName = false, |
| $ | ini = false, |
||
| $ | globalDir = true, |
||
| $ | identifier = false, |
||
| $ | order = true |
||
| ) | [static] |
Prepend extension siteaccesses
| siteaccess | name ( default false ) |
Definition at line 135 of file ezextension.php.
Referenced by eZINI\findInputFiles().
| static eZExtension::prependSiteAccess | ( | $ | extension, |
| $ | accessName = false, |
||
| $ | ini = false, |
||
| $ | globalDir = true, |
||
| $ | identifier = false |
||
| ) | [static] |
Prepend siteaccess for specified extension.
| $extension | name |
Definition at line 157 of file ezextension.php.
Referenced by activateExtensions(), and prependExtensionSiteAccesses().