Method | Description | |
---|---|---|
isAlias ( mixed $varValue ) : boolean | Valid alias name | |
isAlphabetic ( mixed $varValue ) : boolean | Alphabetic characters (including full stop [.] minus [-] and space [ ]) | |
isAlphanumeric ( mixed $varValue ) : boolean | Alphanumeric characters (including full stop [.] minus [-], underscore [_] and space [ ]) | |
isBinaryUuid ( mixed $varValue ) : boolean | Valid binary UUID (version 1) | |
isDate ( mixed $varValue ) : boolean | Valid date formats | |
isDatim ( mixed $varValue ) : boolean | Valid date and time formats | |
isEmail ( mixed $varValue ) : boolean | Valid e-mail address | |
isExtendedAlphanumeric ( mixed $varValue ) : boolean | Characters that are usually encoded by the Input class: #<>()\= | |
isFieldName ( mixed $strName ) : boolean | Valid form field name | |
isFolderAlias ( mixed $varValue ) : boolean | Valid folder alias name | |
isGooglePlusId ( mixed $varValue ) : boolean | Valid Google+ ID or vanity name | |
isInsecurePath ( string $strPath ) : boolean | Insecure path potentially containing directory traversal | |
isLanguage ( mixed $varValue ) : boolean | Valid language code | |
isLocale ( mixed $varValue ) : boolean | Valid locale | |
isNatural ( mixed $varValue ) : boolean | Natural numbers (nonnegative integers) | |
isNumeric ( mixed $varValue ) : boolean | Numeric characters (including full stop [.] and minus [-]) | |
isPercent ( mixed $varValue ) : boolean | Valid percentage | |
isPhone ( mixed $varValue ) : boolean | Valid phone number | |
isStringUuid ( mixed $varValue ) : boolean | Valid string UUID (version 1) | |
isTime ( mixed $varValue ) : boolean | Valid time formats | |
isUrl ( mixed $varValue ) : boolean | Valid URL with special characters allowed (see #6402) | |
isUuid ( mixed $varValue ) : boolean | Valid UUID (version 1) | |
isValidFileName ( mixed $strName ) : boolean | Valid file name |
public static isAlphabetic ( mixed $varValue ) : boolean | ||
$varValue | mixed | The value to be validated |
return | boolean | True if the value is alphabetic |
public static isAlphanumeric ( mixed $varValue ) : boolean | ||
$varValue | mixed | The value to be validated |
return | boolean | True if the value is alphanumeric |
public static isBinaryUuid ( mixed $varValue ) : boolean | ||
$varValue | mixed | The value to be validated |
return | boolean | True if the value is a binary UUID |
public static isExtendedAlphanumeric ( mixed $varValue ) : boolean | ||
$varValue | mixed | The value to be validated |
return | boolean | True if the value does not match the characters |
public static isFieldName ( mixed $strName ) : boolean | ||
$strName | mixed | The form field name |
return | boolean | True if the form field name is valid |
public static isFolderAlias ( mixed $varValue ) : boolean | ||
$varValue | mixed | The value to be validated |
return | boolean | True if the value is a valid folder alias name |
public static isGooglePlusId ( mixed $varValue ) : boolean | ||
$varValue | mixed | The numeric ID or vanity name |
return | boolean | True if the value is a Google+ ID |
public static isInsecurePath ( string $strPath ) : boolean | ||
$strPath | string | The file path |
return | boolean | True if the file path is insecure |
public static isLanguage ( mixed $varValue ) : boolean | ||
$varValue | mixed | The value to be validated |
return | boolean | True if the value is a valid language code |
public static isStringUuid ( mixed $varValue ) : boolean | ||
$varValue | mixed | The value to be validated |
return | boolean | True if the value is a string UUID |
public static isValidFileName ( mixed $strName ) : boolean | ||
$strName | mixed | The file name |
return | boolean | True if the file name is valid |