Class CollectionController
TODO: add component description here
- 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
- Nethgui\Controller\CompositeController implements Nethgui\Controller\RequestHandlerInterface
- Nethgui\Controller\CollectionController implements Nethgui\Adapter\AdapterAggregateInterface
Namespace: Nethgui\Controller
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Controller/CollectionController.php
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Controller/CollectionController.php
protected
|
#
setAdapter(
Set the adapter object that gives access to the database collection |
public
|
|
public
boolean
|
|
protected
|
|
protected
|
|
public
|
|
public
Composite
|
#
addChild(
Add $childAction to the controller, and propagate the adapter to the child, if it has not been done yet. |
public
|
#
addElementAction(
A row action is executed in a row context (i.e. row updating, deletion...) |
public
array
|
|
public
|
#
addCollectionAction(
A collection-wide action involves the whole collection (i.e. create a new element, print the collection...) or a subset of it. |
public
array
|
|
public
|
getChildren(),
loadChildren(),
loadChildrenDirectory(),
setDependencyInjector(),
setLog(),
setPlatform(),
setPolicyDecisionPoint(),
sortChildren()
|
ACTION_MUTATE,
ACTION_QUERY
|
ACTION_INSTANTIATE
|
$currentAction
|
$dependencyInjector
|