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 Resource

Serves and creates Resource files dynamically

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\Module\Resource implements Nethgui\Component\DependencyConsumer
Namespace: Nethgui\Module
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Module/Resource.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
# bind( Nethgui\Controller\RequestInterface $request )

Put the request into the object internal state

Parameters

$request

Api

Overrides

Nethgui\Controller\AbstractController::bind()
public
# prepareViewXhtml( Nethgui\View\ViewInterface $view )

For each known format extension adds a subview that renders into an html fragment that include the required resources.

For each known format extension adds a subview that renders into an html fragment that include the required resources.

Parameters

$view
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\AbstractController::prepareView()
public
# getUseList( $ext )
protected
# calcFileName( $ext )
protected
# getCachePath( $fileName = '' )
protected
# cacheWrite( $fileName, $ext )
public
# getFileName( $ext )
public
# setStaticFilesModel( Nethgui\Model\StaticFiles $staticFiles )
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\Controller\AbstractController
__construct(), createValidator(), declareParameter(), getRequest(), getValidator(), nextPath(), onParametersSaved(), process(), saveParameters(), validate()
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\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