Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • AbstractAction
  • Help
  • Modify
  • PluggableAction
  • PluginCollector
  • Read
  • RowAbstractAction
  • RowPluginAction
  • Overview
  • Namespace
  • Class
  • Deprecated

Class AbstractAction

A Table Action receives the table adapter object through the setAdapter() method.

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
Extended by Nethgui\Controller\AbstractController implements Nethgui\Controller\RequestHandlerInterface
Extended by Nethgui\Controller\Table\AbstractAction implements Nethgui\Adapter\AdapterAggregateInterface

Direct known subclasses

Nethgui\Controller\Table\Help, Nethgui\Controller\Table\PluggableAction, Nethgui\Controller\Table\Read, Nethgui\Controller\Table\RowAbstractAction

Indirect known subclasses

Nethgui\Controller\Table\Modify, Nethgui\Controller\Table\RowPluginAction
Abstract
Namespace: Nethgui\Controller\Table
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Controller/Table/AbstractAction.php
Methods summary
public Nethgui\Adapter\AdapterInterface
# getAdapter( )

Returns

Nethgui\Adapter\AdapterInterface

Implementation of

Nethgui\Adapter\AdapterAggregateInterface::getAdapter()
public boolean
# hasAdapter( )

Returns

boolean

Implementation of

Nethgui\Adapter\AdapterAggregateInterface::hasAdapter()
public Nethgui\Controller\Table\AbstractAction
# setAdapter( Nethgui\Adapter\AdapterInterface $adapter )

Receive the adapter object from the TableController

Receive the adapter object from the TableController

Parameters

$adapter

Returns

Nethgui\Controller\Table\AbstractAction
public
# prepareView( Nethgui\View\ViewInterface $view )

Add default Cancel and FormAction URLs

Add default Cancel and FormAction URLs

Parameters

$view

Overrides

Nethgui\Controller\AbstractController::prepareView()
protected boolean
# saveParameters( )

Returns

boolean
The adapter save() exit status

Overrides

Nethgui\Controller\AbstractController::saveParameters()
public mixed
# nextPath( )

Get the path to the next module. Relative paths resolving is deferred to implementors.

Get the path to the next module. Relative paths resolving is deferred to implementors.

Executed after process(), the user agent is directed to the designated module.

If boolean FALSE is returned then no action takes place.

Returns

mixed
boolean FALSE, string path (absolute), array request

Api

Overrides

Nethgui\Controller\AbstractController::nextPath()
Methods inherited from Nethgui\Controller\AbstractController
__construct(), bind(), createValidator(), declareParameter(), getRequest(), getValidator(), onParametersSaved(), process(), validate()
Methods inherited from Nethgui\Module\AbstractModule
asAuthorizationString(), getAttributesProvider(), getAuthorizationAttribute(), getIdentifier(), getLog(), getParent(), getPhpWrapper(), getPlatform(), getPolicyDecisionPoint(), getViewTemplate(), hasPlatform(), initialize(), initializeAttributes(), isInitialized(), setLog(), setParent(), setPhpWrapper(), setPlatform(), setPolicyDecisionPoint(), setViewTemplate()
Constants inherited from Nethgui\Controller\RequestHandlerInterface
ACTION_MUTATE, ACTION_QUERY
Constants inherited from Nethgui\Module\ModuleInterface
ACTION_INSTANTIATE
Properties inherited from Nethgui\Controller\AbstractController
$parameters
Nethgui Framework API documentation generated by ApiGen