[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Validate/ -> InArray.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: 204 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Validate_InArray:: (8 methods):
  __construct()
  getHaystack()
  setHaystack()
  getStrict()
  setStrict()
  getRecursive()
  setRecursive()
  isValid()


Class: Zend_Validate_InArray  - X-Ref


__construct($options)   X-Ref
Sets validator options

param: array|Zend_Config $haystack
return: void

getHaystack()   X-Ref
Returns the haystack option

return: mixed

setHaystack(array $haystack)   X-Ref
Sets the haystack option

param: mixed $haystack
return: Zend_Validate_InArray Provides a fluent interface

getStrict()   X-Ref
Returns the strict option

return: boolean

setStrict($strict)   X-Ref
Sets the strict option

param: boolean $strict
return: Zend_Validate_InArray Provides a fluent interface

getRecursive()   X-Ref
Returns the recursive option

return: boolean

setRecursive($recursive)   X-Ref
Sets the recursive option

param: boolean $recursive
return: Zend_Validate_InArray Provides a fluent interface

isValid($value)   X-Ref
Defined by Zend_Validate_Interface

Returns true if and only if $value is contained in the haystack option. If the strict
option is true, then the type of $value is also checked.

param: mixed $value
return: boolean



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