kernel/private/classes/ezpextension.php
public static function getInstance( $name )
    {
        if (! isset( self::$instances[$name] ) )
            self::$instances[$name] = new self( $name );

        return self::$instances[$name];
    }
public static function getInstance( $name )
    {
        if (! isset( self::$instances[$name] ) )
            self::$instances[$name] = new self( $name );

        return self::$instances[$name];
    }
public static function getInstance ( $ name ) { if ( ! isset ( self :: $ instances [ $ name ] ) ) self :: $ instances [ $ name ] = new self ( $ name ) ; return self :: $ instances [ $ name ] ; }
ezpExtension constructor.

@see $instances

@param string $name Name of the extension
@return ezpExtension
ezpExtension constructor .