[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

Defines 1 class

Zend_Validate_Callback:: (6 methods):
  __construct()
  getCallback()
  setCallback()
  getOptions()
  setOptions()
  isValid()


Class: Zend_Validate_Callback  - X-Ref


__construct($callback = null)   X-Ref
Sets validator options

param: string|array $callback
param: mixed   $max
param: boolean $inclusive
return: void

getCallback()   X-Ref
Returns the set callback

return: mixed

setCallback($callback)   X-Ref
Sets the callback

param: string|array $callback
return: Zend_Validate_Callback Provides a fluent interface

getOptions()   X-Ref
Returns the set options for the callback

return: mixed

setOptions($options)   X-Ref
Sets options for the callback

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

isValid($value)   X-Ref
Defined by Zend_Validate_Interface

Returns true if and only if the set callback returns
for the provided $value

param: mixed $value
return: boolean



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