kernel/private/classes/ezpextension.php
File containing the ezpExtension class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\ezpExtension
Package: Default
Object representing an eZ Publish extension
Properties

$instances= 'array()'
static
Array of multiton instances (Multiton pattern)
Default value
array()Details- Type
- n/a
- See
- \getInstance
Methods

__construct(
string $name
)
:
voidezpExtension constructor.
Parameters
| Name | Type | Description |
|---|---|---|
| $name | string | Name of the extension |

getInfo(
)
:
array | nullReturns the extension informations Uses extension.xml by default, then tries ezinfo.php for backwards compatibility
Returns
Details
| Type | Description |
|---|---|
| array | null | array of extension informations, or null if no source exists |
- Since
- 4.4

getInstance(
string $name
)
:
\ezpExtension
static
ezpExtension constructor.
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $name | string | Name of the extension |
| Type | Description |
|---|---|
| \ezpExtension |
- See
- \$instances