Class TableController
A Controller for handling a generic table CRUD scenario, and any other action defined on a table.
- Tracks the actions involving a row
- Tracks the actions involving the whole table
- 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\TableController implements Nethgui\Adapter\AdapterAggregateInterface
Namespace: Nethgui\Controller
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
See:
See:
Api
Located at Controller/TableController.php
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
See:
Nethgui\Controller\Table\Modify
See:
Nethgui\Controller\Table\Read
Api
Located at Controller/TableController.php
protected
|
#
setTableAdapter(
Set the adapter object that gives access to the database table |
public
|
|
public
boolean
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
Composite
|
#
addChild(
Add $childAction to the TableController, and propagate the table adapter, if it has not been done yet. |
public
|
#
addRowAction(
A row action is executed in a row context (i.e. row updating, deletion...) |
public
|
#
addRowActionPluggable(
Enable $action to be expanded by instantiating all the classes under the given $path. |
public
array
|
|
public
|
#
addTableAction(
A table action involves the whole table (i.e. create a new row, print the table...) |
public
|
#
addTableActionPluggable(
Enable $action to be expanded by instantiating all the classes under the given $path. |
public
array
|
|
public
|
|
public
|
#
onParametersSaved(
|
getChildren(),
loadChildren(),
loadChildrenDirectory(),
setDependencyInjector(),
setLog(),
setPlatform(),
setPolicyDecisionPoint(),
sortChildren()
|
ACTION_MUTATE,
ACTION_QUERY
|
ACTION_INSTANTIATE
|
$currentAction
|
$dependencyInjector
|