Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
IsoCodes
Isbn
PHP Class IsoCodes\Isbn
Author:
Sullivan Senechal (
[email protected]
)
Inheritance:
implements
isocodes\IsoCodeInterface
Show file
Open project: ronanguilloux/isocodes
Class Usage Examples
Public Methods
Method
Description
validate
(
string
$isbn
,
integer
|
null
$type
= null ) :
boolean
Private Methods
Method
Description
validateIsbn10
(
$isbn10
)
validateIsbn13
(
$isbn13
)
Method Details
validate()
public
static
method
public
static
validate
(
string
$isbn
,
integer
|
null
$type
= null ) :
boolean
$isbn
string
$type
integer
|
null
10 or 13. Leave empty for both
return
boolean