Overview

Namespaces

  • Faulancer
    • Controller
    • Exception
    • Form
      • Validator
        • Type
    • Helper
      • Reflection
    • Http
    • Mail
    • ORM
      • User
    • Service
      • Factory
    • ServiceLocator
    • Session
    • View
      • Helper

Classes

  • AssetList
  • Block
  • CodeBlock
  • EndBlock
  • EscapeString
  • FlashBag
  • FormData
  • FormError
  • GenerateCsrfToken
  • Highlighter
  • ParentTemplate
  • RenderBlock
  • RenderView
  • Route
  • Translate
  • User
  • Overview
  • Namespace
  • Class

Class FormError

Class FormError

Faulancer\View\AbstractViewHelper
Extended by Faulancer\View\Helper\FormError
Namespace: Faulancer\View\Helper
Located at View/Helper/FormError.php
Methods summary
public Faulancer\View\Helper\FormError
# __invoke( Faulancer\View\ViewController $view, Faulancer\View\Helper\string $field )

Initializing form error helper

Initializing form error helper

Parameters

$view
$field

Returns

Faulancer\View\Helper\FormError
$this
public string
# get( )

Get an error for specific field

Get an error for specific field

Returns

string
public boolean
# has( )

Check if a field name has an error

Check if a field name has an error

Returns

boolean
Properties summary
protected Faulancer\View\ViewController $view
#
protected string $field
#
protected Faulancer\Service\SessionManagerService $sessionManager
#
API documentation generated by ApiGen