2013-01-20 20:27:27 +01:00
|
|
|
<?php
|
|
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
|
2013-01-22 22:44:46 +01:00
|
|
|
class GraphException extends AlphaException
|
2013-01-20 20:27:27 +01:00
|
|
|
{
|
|
|
|
public static $defaultTemplates = array(
|
|
|
|
self::MODE_DEFAULT => array(
|
|
|
|
self::STANDARD => '{{name}} must contain only graphical characters',
|
|
|
|
self::EXTRA => '{{name}} must contain only graphical characters and "{{additionalChars}}"'
|
|
|
|
),
|
|
|
|
self::MODE_NEGATIVE => array(
|
|
|
|
self::STANDARD => '{{name}} must not contain graphical characters',
|
|
|
|
self::EXTRA => '{{name}} must not contain graphical characters or "{{additionalChars}}"'
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
2013-01-22 20:25:34 +01:00
|
|
|
|