2008. Class

2008.1. Zend\Validator\Isbn

2008.1.1. Methods

2008.1.1.1. detectFormat

detectFormat()

Detect input format.

Return type:string

2008.1.1.2. isValid

isValid()

Returns true if and only if $value is a valid ISBN.

Parameters:string
Return type:bool

2008.1.1.3. setSeparator

setSeparator()

Set separator characters.

It is allowed only empty string, hyphen and space.

Parameters:string
Throws ExceptionInvalidArgumentException:
 When $separator is not valid
Return type:Isbn Provides a fluent interface

2008.1.1.4. getSeparator

getSeparator()

Get separator characters.

Return type:string

2008.1.1.5. setType

setType()

Set allowed ISBN type.

Parameters:string
Throws ExceptionInvalidArgumentException:
 When $type is not valid
Return type:Isbn Provides a fluent interface

2008.1.1.6. getType

getType()

Get allowed ISBN type.

Return type:string

2008.1.2. Constants

2008.1.2.1. AUTO

2008.1.2.2. ISBN10

2008.1.2.3. ISBN13

2008.1.2.4. INVALID

2008.1.2.5. NO_ISBN