PHP Класс Cake\Localized\Validation\DeValidation

Наследование: extends LocalizedValidation
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
address1 ( string $check ) : boolean Checks an address (street and number) for Germany.
dob ( string $check ) : boolean Checks date of birth formal format for Germany (dd.mm.yyyy), afterwards checks it is a valid gregorian calendar date.
personId ( string $check ) : boolean Checks a country specific identification number.
phone ( string $check ) : boolean Checks a phone number for Germany.
postal ( string $check ) : boolean Checks a postal code for Germany.

Описание методов

address1() публичный статический Метод

That is what is called "Straße und Hausnummer", the first line of a german formal address block.
public static address1 ( string $check ) : boolean
$check string The value to check.
Результат boolean Success.

dob() публичный статический Метод

Checks date of birth formal format for Germany (dd.mm.yyyy), afterwards checks it is a valid gregorian calendar date.
public static dob ( string $check ) : boolean
$check string the date of birth.
Результат boolean Success.

personId() публичный статический Метод

Checks a country specific identification number.
public static personId ( string $check ) : boolean
$check string The value to check.
Результат boolean Success.

phone() публичный статический Метод

Checks a phone number for Germany.
public static phone ( string $check ) : boolean
$check string The value to check.
Результат boolean Success.

postal() публичный статический Метод

Checks a postal code for Germany.
public static postal ( string $check ) : boolean
$check string The value to check.
Результат boolean Success.