Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Jyxo
Input
Validator
IsCountryCode
PHP Class Jyxo\Input\Validator\IsCountryCode
Codes taken from http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm
Author:
Jan Pěček
Inheritance:
extends
AbstractValidator
ファイルを表示
Open project: jyxo/php
Public Methods
Method
Description
getCountries
( ) :
array
Returns the list of country codes.
isValid
(
mixed
$value
) :
boolean
Validates a value.
Method Details
getCountries()
public
static
method
Returns the list of country codes.
public
static
getCountries
( ) :
array
return
array
isValid()
public
method
Validates a value.
public
isValid
(
mixed
$value
) :
boolean
$value
mixed
Input value
return
boolean