Class Composite
A composition of modules forwards request handling to its parts.
Inheriting classes must define the composition behaviour.
- Nethgui\Module\AbstractModule implements Nethgui\Module\ModuleInterface, Nethgui\View\ViewableInterface, Nethgui\Log\LogConsumerInterface, Nethgui\Utility\PhpConsumerInterface, Nethgui\Authorization\AuthorizationAttributesProviderInterface, Nethgui\System\PlatformConsumerInterface, Nethgui\Authorization\PolicyEnforcementPointInterface
- Nethgui\Module\Composite implements Nethgui\Module\ModuleCompositeInterface, Nethgui\Component\DependencyInjectorAggregate
Direct known subclasses
Nethgui\Controller\CompositeController, Nethgui\Controller\ListComposite, Nethgui\Test\Unit\Nethgui\Module\ConcreteCompositeModule1Indirect known subclasses
Nethgui\Controller\CollectionController, Nethgui\Controller\Table\PluginCollector, Nethgui\Controller\TableController, Nethgui\Controller\TabsController, Nethgui\Module\Help, Nethgui\Module\Main
Abstract
Namespace: Nethgui\Module
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
See: Controller
See: List
Api
Located at Module/Composite.php
Namespace: Nethgui\Module
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
See: Controller
See: List
Api
Located at Module/Composite.php
public
|
|
public
|
#
addChild(
Adds a child to Composite, initializing it, if current Composite is initialized. |
public
array
|
|
public
|
|
protected
|
#
loadChildren( type $classList )
Instantiates the given classes, adding the created objects as children of the composite module. |
public
|
#
loadChildrenDirectory(
Search all php files under the "children" directory and instantiates any class implementing ModuleInterface. |
protected
void;
|
|
public
|
|
public
|
#
setPolicyDecisionPoint(
Interface implementor will receive the PDP object through this setter |
public
|
ACTION_INSTANTIATE
|
protected
callable
|
$dependencyInjector
|