[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Validate/ -> Isbn.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 279 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Validate_Isbn:: (7 methods):
  __construct()
  _detectFormat()
  isValid()
  setSeparator()
  getSeparator()
  setType()
  getType()


Class: Zend_Validate_Isbn  - X-Ref


__construct($options = array()   X-Ref
Set up options.

param: Zend_Config|array $options
return: void

_detectFormat()   X-Ref
Detect input format.

return: string

isValid($value)   X-Ref
Defined by Zend_Validate_Interface.

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

param: string $value
return: boolean

setSeparator($separator)   X-Ref
Set separator characters.

It is allowed only empty string, hyphen and space.

param: string $separator
return: Zend_Validate_Isbn Provides a fluent interface

getSeparator()   X-Ref
Get separator characters.

return: string

setType($type)   X-Ref
Set allowed ISBN type.

param: string $type
return: Zend_Validate_Isbn Provides a fluent interface

getType()   X-Ref
Get allowed ISBN type.

return: string



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1