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

  • CommandTest
  • TranslatorTest
  • TranslatorTestModule
  • TranslatorTestPhpWrapper
  • ViewCommandSequenceTest
  • ViewGenericTest
  • Overview
  • Namespace
  • Class
  • Deprecated

Class TranslatorTestModule

Core module operations

A module interface implementation is delegated to - initialize the module (and its submodules) - prepare view parameters

Nethgui\Test\Unit\Nethgui\View\TranslatorTestModule implements Nethgui\Module\ModuleInterface, Nethgui\Module\ModuleAttributesInterface
Namespace: Nethgui\Test\Unit\Nethgui\View
Since: 1.0
See: Nethgui\Controller\RequestHandlerInterface
Api
Located at Test/Unit/Nethgui/View/TranslatorTest.php
Methods summary
public
# __construct( $catalog = 'Nethgui_ModuleCatalog' )
public Nethgui\Module\ModuleAttributesInterface
# getAttributesProvider( )

Gain access to the attributes of this module

Gain access to the attributes of this module

Returns

Nethgui\Module\ModuleAttributesInterface

Api

Implementation of

Nethgui\Module\ModuleInterface::getAttributesProvider()
public string
# getIdentifier( )

The Module Identifier is a string that univocally identifies a Module.

The Module Identifier is a string that univocally identifies a Module.

Returns

string
Returns the unique module identifier

Api

Implementation of

Nethgui\Module\ModuleInterface::getIdentifier()
public ModuleInterface
# getParent( )

Gets a reference to the parent Module.

Gets a reference to the parent Module.

Returns

ModuleInterface

Api

Implementation of

Nethgui\Module\ModuleInterface::getParent()
public
# initialize( )

After initialization a module...

After initialization a module...

Api

Implementation of

Nethgui\Module\ModuleInterface::initialize()
public boolean
# isInitialized( )

Prevents double initialization.

Prevents double initialization.

Returns

boolean
FALSE, if not yet initialized, TRUE otherwise.

Api

Implementation of

Nethgui\Module\ModuleInterface::isInitialized()
public ModuleInterface
# setParent( Nethgui\Module\ModuleInterface $parentModule )

Sets the reference to the parent Module.

Sets the reference to the parent Module.

Returns

ModuleInterface

See

ModuleCompositeInterface addChild() operation.

Api

Implementation of

Nethgui\Module\ModuleInterface::setParent()
public string
# getCategory( )

The category of the aggregated module

The category of the aggregated module

Returns

string
Unique parent module identifier

Api

Implementation of

Nethgui\Module\ModuleAttributesInterface::getCategory()
public string
# getDescription( )

Gets the Module description

Gets the Module description

Returns

string

Api

Implementation of

Nethgui\Module\ModuleAttributesInterface::getDescription()
public string|array
# getLanguageCatalog( )

The name of the language catalog where to search the translated strings

The name of the language catalog where to search the translated strings

Returns

string|array
The language catalog name, or catalog name list

Api

Implementation of

Nethgui\Module\ModuleAttributesInterface::getLanguageCatalog()
public string
# getMenuPosition( )

The menu position of the aggregated module

The menu position of the aggregated module

Returns

string

Api

Implementation of

Nethgui\Module\ModuleAttributesInterface::getMenuPosition()
public string
# getTags( )

Gets module tags.

Gets module tags.

Any composite module must take care of getTags children's call.

Tags are used to search a module among the others

Returns

string

Api

Implementation of

Nethgui\Module\ModuleAttributesInterface::getTags()
public string
# getTitle( )

Gets the Module title

Gets the Module title

Returns

string

Api

Implementation of

Nethgui\Module\ModuleAttributesInterface::getTitle()
Constants inherited from Nethgui\Module\ModuleInterface
ACTION_INSTANTIATE
Nethgui Framework API documentation generated by ApiGen