PHP Class TwbBundle\Form\View\Helper\TwbBundleFormErrors

Inheritance: extends Zend\Form\View\Helper\AbstractHelper
Afficher le fichier Open project: neilime/zf2-twb-bundle

Protected Properties

Свойство Type Description
$defaultErrorText
$messageCloseString
$messageOpenFormat
$messageSeparatorString

Méthodes publiques

Méthode Description
__invoke ( Zend\Form\FormInterface $oForm = null, string $sMessage = null, string $bDismissable = false ) : string | null Invoke as function
dangerAlert ( string $content, boolean $bDismissable = false ) : string Creates and returns a "danger" alert.
render ( Zend\Form\FormInterface $oForm, $sMessage, $bDismissable = false ) : string Renders the error messages.

Method Details

__invoke() public méthode

Invoke as function
public __invoke ( Zend\Form\FormInterface $oForm = null, string $sMessage = null, string $bDismissable = false ) : string | null
$oForm Zend\Form\FormInterface
$sMessage string
$bDismissable string
Résultat string | null

dangerAlert() public méthode

Creates and returns a "danger" alert.
public dangerAlert ( string $content, boolean $bDismissable = false ) : string
$content string
$bDismissable boolean
Résultat string

render() public méthode

Renders the error messages.
public render ( Zend\Form\FormInterface $oForm, $sMessage, $bDismissable = false ) : string
$oForm Zend\Form\FormInterface
Résultat string

Property Details

$defaultErrorText protected_oe property

protected $defaultErrorText

$messageCloseString protected_oe property

protected $messageCloseString

$messageOpenFormat protected_oe property

protected $messageOpenFormat

$messageSeparatorString protected_oe property

protected $messageSeparatorString