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 Notification

Carries notification messages to the User.

Keeps persistent messages into User session through the NotificationManager object

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\Notification implements Nethgui\Component\DependencyConsumer
Namespace: Nethgui\Module
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Module/Notification.php
Methods summary
public
# __construct( $identifier = NULL )

Overrides

Nethgui\Module\AbstractModule::__construct()
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
# 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\Module\AbstractModule::prepareView()
public
# setUserNotifications( Nethgui\Model\UserNotifications $n )
public
# setValidationErrors( Traversable $errors )
public
# getTemplates( )
public array
# getDependencySetters( )

The returned hash is indexed by the model class name and has a callable objects as value. Each callable is invoked with the model instance as only argument.

The returned hash is indexed by the model class name and has a callable objects as value. Each callable is invoked with the model instance as only argument.

Returns

array

Implementation of

Nethgui\Component\DependencyConsumer::getDependencySetters()
Methods inherited from Nethgui\Module\AbstractModule
asAuthorizationString(), getAttributesProvider(), getAuthorizationAttribute(), getIdentifier(), getLog(), getParent(), getPhpWrapper(), getPlatform(), getPolicyDecisionPoint(), getViewTemplate(), hasPlatform(), initialize(), isInitialized(), setLog(), setParent(), setPhpWrapper(), setPlatform(), setPolicyDecisionPoint(), setViewTemplate()
Constants inherited from Nethgui\Module\ModuleInterface
ACTION_INSTANTIATE
Nethgui Framework API documentation generated by ApiGen