PHP Class Cake\Localized\Validation\InValidation

Inheritance: extends LocalizedValidation
Datei anzeigen Open project: cakephp/localized Class Usage Examples

Public Methods

Method Description
personId ( string $check ) : boolean Checks an identification number.
phone ( string $check ) : boolean Validate phone number
postal ( string $check ) : boolean Validate postal code

Method Details

personId() public static method

Checks an identification number.
public static personId ( string $check ) : boolean
$check string The value to check.
return boolean Success.

phone() public static method

Validate phone number
public static phone ( string $check ) : boolean
$check string The value to check.
return boolean Success.

postal() public static method

Validate postal code
public static postal ( string $check ) : boolean
$check string The value to check.
return boolean Success.