2017 © Pedro Peláez
 

library forms

image

zaxcms/forms

  • Wednesday, January 14, 2015
  • by Zax
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WIP, (*1)

Zax\DI\FormMessagesExtension

This tiny extension allows us to specify default error messages for custom form validators in config., (*2)

To use it, simply register it in your config.neon:, (*3)

extensions:
    formMessages: Zax\DI\FormMessagesExtension

and add your messages:, (*4)

formMessages:
    My\Custom\Validator::validateSomething: 'Value must be something.'
    My\Other\Custom\Validator::validateSomethingElse: 'Value must be somethin else.'
    # etc...

The Versions

14/01 2015

dev-master

9999999-dev

  Sources   Download

The Requires

 

The Development Requires