[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

Defines 1 class

Zend_Validate_Between:: (8 methods):
  __construct()
  getMin()
  setMin()
  getMax()
  setMax()
  getInclusive()
  setInclusive()
  isValid()


Class: Zend_Validate_Between  - X-Ref


__construct($options)   X-Ref
Sets validator options
Accepts the following option keys:
'min' => scalar, minimum border
'max' => scalar, maximum border
'inclusive' => boolean, inclusive border values

param: array|Zend_Config $options
return: void

getMin()   X-Ref
Returns the min option

return: mixed

setMin($min)   X-Ref
Sets the min option

param: mixed $min
return: Zend_Validate_Between Provides a fluent interface

getMax()   X-Ref
Returns the max option

return: mixed

setMax($max)   X-Ref
Sets the max option

param: mixed $max
return: Zend_Validate_Between Provides a fluent interface

getInclusive()   X-Ref
Returns the inclusive option

return: boolean

setInclusive($inclusive)   X-Ref
Sets the inclusive option

param: boolean $inclusive
return: Zend_Validate_Between Provides a fluent interface

isValid($value)   X-Ref
Defined by Zend_Validate_Interface

Returns true if and only if $value is between min and max options, inclusively
if inclusive option is true.

param: mixed $value
return: boolean



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