Class

ExtensionPointProviderService

Package: PHPBoost\Extension-provider Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2016 10 24 Since: PHPBoost 2.0 - 2008 01 15 Contributor: Arnaud GENET elenwii@phpboost.com Located at: phpboost/extension-provider/ExtensionPointProviderService.class.php

This class is a ExtensionPointProvider factory providing some services like mass operations (on several modules at the same time) or identifications methods to get all ExtensionPointProvider that provide a given extension point

Methods summary
public
# __construct( )

Builds a new ExtensionPointProvider factory

public Object[string]
# get_extension_point( string $extension_point, string[] $authorized_providers_ids = null )

Returns all extension point

$extension_point

registered implementations

public ExtensionPointProvider[]
# get_providers( string $extension_point, ExtensionPointProvider[] $authorized_providers_ids = null )

Returns the ExtensionPointProvider list.

public ExtensionPointProvider
# get_provider( string $provider_id )

Returns the ExtensionPointProvider of the provider which id is $provider_id.

public boolean
# provider_exists( string $provider_id, mixed $extensions_points = null )

Returns true if the provider exists and has all the requested extensions points.

Constants summary
string EXTENSION_POINT_PROVIDER_SUFFIX
# 'ExtensionPointProvider'