PHP Class Cake\Localized\Validation\FrValidation

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

Public Methods

Method Description
personId ( string $check ) : boolean Checks a social security number for France.
phone ( string $check ) : boolean Checks a phone number for France.
postal ( string $check ) : boolean Checks a postal code for France.

Method Details

personId() public static method

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

phone() public static method

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

postal() public static method

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