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 ModuleLoader

Create module instances from a given path

Nethgui\Module\ModuleLoader implements Nethgui\Module\ModuleSetInterface, Nethgui\Utility\PhpConsumerInterface, Nethgui\Log\LogConsumerInterface
Namespace: Nethgui\Module
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Module/ModuleLoader.php
Methods summary
public
# __construct( callable $objectInjector )

Parameters

$objectInjector
public Nethgui\Module\ModuleLoader
# setNamespace( string $nsPrefix, string $nsRootPath )

Parameters

$nsPrefix
$nsRootPath

Returns

Nethgui\Module\ModuleLoader
public
# getIterator( )

Implementation of

IteratorAggregate::getIterator()
public Nethgui\Module\ModuleInterface
# getModule( string $moduleIdentifier )

Parameters

$moduleIdentifier

Returns

Nethgui\Module\ModuleInterface
The module instance

Implementation of

Nethgui\Module\ModuleSetInterface::getModule()
public Nethgui\Utility\PhpConsumerInterface
# setPhpWrapper( Nethgui\Utility\PhpWrapper $object )

Parameters

$object

Returns

Nethgui\Utility\PhpConsumerInterface

Implementation of

Nethgui\Utility\PhpConsumerInterface::setPhpWrapper()
public Nethgui\Log\LogInterface
# getLog( )

The log attached to the interface implementor

The log attached to the interface implementor

Returns

Nethgui\Log\LogInterface

Api

Implementation of

Nethgui\Log\LogConsumerInterface::getLog()
public Nethgui\Log\LogConsumerInterface
# setLog( Nethgui\Log\LogInterface $log )

Change the log attached to the interface implementor

Change the log attached to the interface implementor

Parameters

$log

Returns

Nethgui\Log\LogConsumerInterface

Api

Implementation of

Nethgui\Log\LogConsumerInterface::setLog()
Nethgui Framework API documentation generated by ApiGen