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

  • AbstractModule
  • Composite
  • CompositeModuleAttributesProvider
  • Help
  • Language
  • Login
  • Logout
  • Main
  • Menu
  • ModuleLoader
  • Notification
  • Resource
  • SimpleModuleAttributesProvider
  • SystemModuleAttributesProvider
  • Tracker

Interfaces

  • ModuleAttributesInterface
  • ModuleCompositeInterface
  • ModuleInterface
  • ModuleSetInterface
  • Overview
  • Namespace
  • Class
  • Deprecated

Class Main

This is the root of the module composition

  • Enforce basic module authorization
  • Prepare the decoration view
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\Module\Composite implements Nethgui\Module\ModuleCompositeInterface, Nethgui\Component\DependencyInjectorAggregate
Extended by Nethgui\Controller\ListComposite implements Nethgui\Controller\RequestHandlerInterface
Extended by Nethgui\Module\Main
Namespace: Nethgui\Module
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Module/Main.php
Methods summary
protected Nethgui\Module\ModuleAttributesInterface
# initializeAttributes( Nethgui\Module\ModuleAttributesInterface $base )

Called after a default attributes provider object is created

Called after a default attributes provider object is created

Parameters

$base
$descriptor

Returns

Nethgui\Module\ModuleAttributesInterface

See

Nethgui\Module\AbstractModule::getAttributesProvider()

Overrides

Nethgui\Module\AbstractModule::initializeAttributes()
public
# __construct( Nethgui\Module\ModuleSetInterface $modules, $defaultModule = '' )

Overrides

Nethgui\Module\AbstractModule::__construct()
public
# bind( Nethgui\Controller\RequestInterface $request )

Put the request into the object internal state

Parameters

$request

Api

Overrides

Nethgui\Controller\ListComposite::bind()
public
# prepareView( Nethgui\View\ViewInterface $view )

Prepare view layer data, putting it into $view.

Prepare view layer data, putting it into $view.

Parameters

$view
The view to put the data into

See

ViewInterface

Api

Overrides

Nethgui\Controller\ListComposite::prepareView()
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\ListComposite::nextPath()
Methods inherited from Nethgui\Controller\ListComposite
process(), validate()
Methods inherited from Nethgui\Module\Composite
addChild(), getChildren(), initialize(), loadChildren(), loadChildrenDirectory(), setDependencyInjector(), setLog(), setPlatform(), setPolicyDecisionPoint(), sortChildren()
Methods inherited from Nethgui\Module\AbstractModule
asAuthorizationString(), getAttributesProvider(), getAuthorizationAttribute(), getIdentifier(), getLog(), getParent(), getPhpWrapper(), getPlatform(), getPolicyDecisionPoint(), getViewTemplate(), hasPlatform(), isInitialized(), setParent(), setPhpWrapper(), setViewTemplate()
Constants inherited from Nethgui\Controller\RequestHandlerInterface
ACTION_MUTATE, ACTION_QUERY
Constants inherited from Nethgui\Module\ModuleInterface
ACTION_INSTANTIATE
Properties inherited from Nethgui\Module\Composite
$dependencyInjector
Nethgui Framework API documentation generated by ApiGen