PHP Classes

File: system/dependencies/vlucas/valitron/lang/en.php

Recommend this page to a friend!
  Classes of Dimitri Sitchet   dFramework   system/dependencies/vlucas/valitron/lang/en.php   Download  
File: system/dependencies/vlucas/valitron/lang/en.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: dFramework
Framework to build PHP applications
Author: By
Last change:
Date: 4 years ago
Size: 2,069 bytes
 

Contents

Class file image Download
<?php

return array(
   
'required' => "is required",
   
'equals' => "must be the same as '%s'",
   
'different' => "must be different than '%s'",
   
'accepted' => "must be accepted",
   
'numeric' => "must be numeric",
   
'integer' => "must be an integer",
   
'length' => "must be %d characters long",
   
'min' => "must be at least %s",
   
'max' => "must be no more than %s",
   
'listContains' => "contains invalid value",
   
'in' => "contains invalid value",
   
'notIn' => "contains invalid value",
   
'ip' => "is not a valid IP address",
   
'ipv4' => "is not a valid IPv4 address",
   
'ipv6' => "is not a valid IPv6 address",
   
'email' => "is not a valid email address",
   
'url' => "is not a valid URL",
   
'urlActive' => "must be an active domain",
   
'alpha' => "must contain only letters a-z",
   
'alphaNum' => "must contain only letters a-z and/or numbers 0-9",
   
'slug' => "must contain only letters a-z, numbers 0-9, dashes and underscores",
   
'regex' => "contains invalid characters",
   
'date' => "is not a valid date",
   
'dateFormat' => "must be date with format '%s'",
   
'dateBefore' => "must be date before '%s'",
   
'dateAfter' => "must be date after '%s'",
   
'contains' => "must contain %s",
   
'boolean' => "must be a boolean",
   
'lengthBetween' => "must be between %d and %d characters",
   
'creditCard' => "must be a valid credit card number",
   
'lengthMin' => "must be at least %d characters long",
   
'lengthMax' => "must not exceed %d characters",
   
'instanceOf' => "must be an instance of '%s'",
   
'containsUnique' => "must contain unique elements only",
   
'requiredWith' => "is required",
   
'requiredWithout'=> "is required",
   
'subset' => "contains an item that is not in the list",
   
'arrayHasKeys' => "does not contain all required keys",
);