[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

Defines 1 class

Zend_Validate_Interface:: (2 methods):
  isValid()
  getMessages()


Interface: Zend_Validate_Interface  - X-Ref


isValid($value)   X-Ref
Returns true if and only if $value meets the validation requirements

If $value fails validation, then this method returns false, and
getMessages() will return an array of messages that explain why the
validation failed.

param: mixed $value
return: boolean

getMessages()   X-Ref
Returns an array of messages that explain why the most recent isValid()
call returned false. The array keys are validation failure message identifiers,
and the array values are the corresponding human-readable message strings.

If isValid() was never called or if the most recent isValid() call
returned true, then this method returns an empty array.

return: array



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