Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Cake
Localized
Validation
MxValidation
PHP Class Cake\Localized\Validation\MxValidation
Inheritance:
extends
LocalizedValidation
Mostra file
Open project: cakephp/localized
Class Usage Examples
Public Methods
Method
Description
personId
(
string
$check
) :
boolean
Checks a country specific identification number.
phone
(
string
$check
) :
boolean
Checks a phone number for Mexico.
postal
(
string
$check
) :
boolean
Checks a postal code for Mexico.
Method Details
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 for Mexico.
public
static
phone
(
string
$check
) :
boolean
$check
string
The value to check.
return
boolean
Success.
postal()
public
static
method
Checks a postal code for Mexico.
public
static
postal
(
string
$check
) :
boolean
$check
string
The value to check.
return
boolean
Success.