eZPublishCommunityProject(LegacyStack)  2013.6
ezpExtension Class Reference

Object representing an eZ Publish extension. More...

Public Member Functions

 getInfo ()
 Returns the extension informations Uses extension.xml by default, then tries ezinfo.php for backwards compatibility. More...
 
 getLoadingOrder ()
 Returns the loading order informations from extension.xml. More...
 

Static Public Member Functions

static getInstance ($name)
 ezpExtension constructor. More...
 

Public Attributes

 $name
 

Protected Member Functions

 __construct ($name)
 ezpExtension constructor. More...
 

Static Private Attributes

static $instances = array()
 Array of multiton instances (Multiton pattern) More...
 

Detailed Description

Object representing an eZ Publish extension.

Constructor & Destructor Documentation

ezpExtension::__construct (   $name)
protected

ezpExtension constructor.

Parameters
string$nameName of the extension

Member Function Documentation

ezpExtension::getInfo ( )

Returns the extension informations Uses extension.xml by default, then tries ezinfo.php for backwards compatibility.

Since
4.4
Returns
array|null array of extension informations, or null if no source exists
static ezpExtension::getInstance (   $name)
static

ezpExtension constructor.

See Also
$instances
Parameters
string$nameName of the extension
Returns
ezpExtension

Referenced by eZExtension\extensionInfo(), and eZExtension\extensionOrdering().

ezpExtension::getLoadingOrder ( )

Returns the loading order informations from extension.xml.

Returns
array array( before => array( a, b ), after => array( c, d ) ) or an empty array if not available

Member Data Documentation

ezpExtension::$instances = array()
staticprivate

Array of multiton instances (Multiton pattern)

See Also
getInstance
ezpExtension::$name

Referenced by __construct(), and getInstance().


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