kernel/private/classes/ezpextension.php

Show: inherited
Table of Contents

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

Propertyprivate  $instances= 'array()'
static

Array of multiton instances (Multiton pattern)

Default valuearray()Details
Type
n/a
See
\getInstance  
Propertypublic  $name= ''
Details
Type
n/a

Methods

methodprotected__construct( string $name ) : void

ezpExtension constructor.

Parameters
Name Type Description
$name string

Name of the extension

methodpublicgetInfo( ) : array | null

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

Returns
Type Description
array | null array of extension informations, or null if no source exists
Details
Since
4.4  
methodpublicgetInstance( string $name ) : \ezpExtension
static

ezpExtension constructor.

Parameters
Name Type Description
$name string

Name of the extension

Returns
Type Description
\ezpExtension
Details
See
\$instances  
methodpublicgetLoadingOrder( ) : array

Returns the loading order informations from extension.xml

Returns
Type Description
array array( before => array( a, b ), after => array( c, d ) ) or an empty array if not available
Documentation was generated by DocBlox 0.18.1.