Class

ExtensionPointProvider

Abstract 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: 2014 12 22 Since: PHPBoost 2.0 - 2008 01 15 Located at: phpboost/extension-provider/ExtensionPointProvider.class.php

This Class allow you to call methods on a ExtensionPointProvider extended class that you're not sure of the method's availality. It also provides a set of generic methods that you could use to integrate your module with others, or allow your module to share services.

Methods summary
public
# __construct( string $extension_provider_id = '' )

ExtensionPointProvider constructor

public string
# get_id( )
public mixed
# get_extension_point( string $extension_point, mixed $args = null )

Check the existance of the extension point and if exists call it.

public boolean
# has_extension_point( string $extension_point )

Check the availability of the extension_point (hook)

public boolean
# has_extensions_points( array $extensions_points )

Check the availability of the extensions points (hook)