PHP Class Cake\Localized\Validation\NlValidation

Inheritance: extends LocalizedValidation
Mostra file Open project: cakephp/localized Class Usage Examples

Public Methods

Method Description
personId ( string $check ) : boolean Checks a social security number (BSN) for The Netherlands
phone ( string $check ) : boolean Checks a phone number for The Netherlands
postal ( string $check ) : boolean Checks a postal code for The Netherlands

Method Details

personId() public static method

Checks a social security number (BSN) for The Netherlands
public static personId ( string $check ) : boolean
$check string The value to check.
return boolean Success.

phone() public static method

Checks a phone number for The Netherlands
public static phone ( string $check ) : boolean
$check string The value to check.
return boolean Success.

postal() public static method

Checks a postal code for The Netherlands
public static postal ( string $check ) : boolean
$check string The value to check.
return boolean Success.