PHP Class Cake\Localized\Validation\PlValidation

Inheritance: extends LocalizedValidation
Afficher le fichier Open project: cakephp/localized Class Usage Examples

Méthodes publiques

Méthode Description
personId ( string $check ) : boolean Checks a social security number (NIP) for Poland.
pesel ( string $check ) : boolean Checks PESEL Universal Electronic System for Registration of the Population in Poland
phone ( string $check ) : boolean Checks a phone number.
postal ( string $check ) : boolean Checks a postal code for Poland.
regon ( string $check ) : boolean Checks REGON National Business Registry Number in Poland

Method Details

personId() public static méthode

Checks a social security number (NIP) for Poland.
public static personId ( string $check ) : boolean
$check string Value to check
Résultat boolean Success.

pesel() public static méthode

Checks PESEL Universal Electronic System for Registration of the Population in Poland
public static pesel ( string $check ) : boolean
$check string Value to check
Résultat boolean Success.

phone() public static méthode

Checks a phone number.
public static phone ( string $check ) : boolean
$check string The value to check.
Résultat boolean Success.

postal() public static méthode

Checks a postal code for Poland.
public static postal ( string $check ) : boolean
$check string Value to check
Résultat boolean Success.

regon() public static méthode

Checks REGON National Business Registry Number in Poland
public static regon ( string $check ) : boolean
$check string Value to check
Résultat boolean Success.