Class Modify
Processes the table modification actions: create, update, delete
- 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\Controller\AbstractController implements Nethgui\Controller\RequestHandlerInterface
- Nethgui\Controller\Table\AbstractAction implements Nethgui\Adapter\AdapterAggregateInterface
- Nethgui\Controller\Table\RowAbstractAction
- Nethgui\Controller\Table\Modify
Namespace: Nethgui\Controller\Table
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
See:
Api
Located at Controller/Table/Modify.php
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
See:
Nethgui\Controller\Table\Read
Api
Located at Controller/Table/Modify.php
public
|
#
__construct( string $identifier, array $parameterSchema = NULL, mixed $viewTemplate = NULL )
Create a Modify instance that realizes one of the allowed behaviours: |
public
|
#
bind(
Establish what is the key value, then invoke setKeyValue() on the RecordAdapter BEFORE parent::bind() |
protected
|
|
protected
string
|
#
calculateKeyFromRequest(
Calculate the key value for a new record from the given $request object. |
public
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
|
getKey(),
getSchema(),
saveParameters(),
setAdapter(),
setDefaultValue(),
setSchema()
|
getAdapter(),
hasAdapter(),
nextPath()
|
createValidator(),
declareParameter(),
getRequest(),
getValidator(),
onParametersSaved(),
validate()
|
FIELD,
KEY
|
ACTION_MUTATE,
ACTION_QUERY
|
ACTION_INSTANTIATE
|
$parameters
|