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

  • AbstractController
  • CollectionController
  • CompositeController
  • ListComposite
  • NullRequest
  • RequestTest
  • TableController
  • TabsController

Interfaces

  • RequestHandlerInterface
  • RequestInterface
  • ValidationReportInterface
  • Overview
  • Namespace
  • Class
  • Deprecated

Interface ValidationReportInterface

Collect validation errors

Direct known implementers

Nethgui\Model\ValidationErrors
Namespace: Nethgui\Controller
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
See: \Nethgui\Controller\RequestHandlerInterface::validate()
Api
Located at Controller/ValidationReportInterface.php
Methods summary
public Nethgui\Controller\ValidationReportInterface
# addValidationErrorMessage( Nethgui\Module\ModuleInterface $module, string $parameterName, string $message, array $args = array() )

Parameters

$module
$parameterName
$message
The error message template
$args
Optional - Arguments to the error message

Returns

Nethgui\Controller\ValidationReportInterface

Api

public Nethgui\Controller\ValidationReportInterface
# addValidationError( Nethgui\Module\ModuleInterface $module, string $parameterName, Nethgui\System\ValidatorInterface $validator )

Parameters

$module
$parameterName
$validator

Returns

Nethgui\Controller\ValidationReportInterface

Api

public boolean
# hasValidationErrors( )

Check if a validation error has been added.

Check if a validation error has been added.

Returns

boolean

Api

Nethgui Framework API documentation generated by ApiGen