PHP Class Cake\Localized\Validation\IdValidation

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

Public Methods

Method Description
mobile ( string $check ) : boolean Basic Check for Valid Mobile Mumbers for Indonesia.
personId ( string $check ) : boolean Checks a country specific identification number.
phone ( string $check ) : boolean Checks a phone number.
postal ( string $check ) : boolean Checks a postal code for Indonesia.

Method Details

mobile() public static method

Basic Check for Valid Mobile Mumbers for Indonesia.
public static mobile ( string $check ) : boolean
$check string The value to check.
return boolean Success.

personId() public static method

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

phone() public static method

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

postal() public static method

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