[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/pear/HTML/QuickForm/ -> DHTMLRulesTableless.php (summary)

DHTML replacement for the standard JavaScript alert window for client-side validation PHP versions 4 and 5

Author: Alexey Borzov <[email protected]>
Author: Adam Daniel <[email protected]>
Author: Bertrand Mansion <[email protected]>
Author: Justin Patrin <[email protected]>
Author: Mark Wiesemann <[email protected]>
Copyright: 2005-2006 The PHP Group
License: http://www.php.net/license/3_01.txt PHP License 3.01
Version: CVS: $Id$
File Size: 208 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTML_QuickForm_DHTMLRulesTableless:: (4 methods):
  getValidationScript()
  qf_errorHandler()
  validate_()
  validate_()


Class: HTML_QuickForm_DHTMLRulesTableless  - X-Ref

This is a DHTML replacement for the standard JavaScript alert window for
client-side validation of forms built with HTML_QuickForm

getValidationScript()   X-Ref
Returns the client side validation script

The code here was copied from HTML_QuickForm and slightly modified to run rules per-element

return: string    Javascript to perform validation, empty string if no 'client' rules were added

qf_errorHandler(element, _qfMsg)   X-Ref
No description

validate_(var value = \'\';var errFlag = new Array()   X-Ref
No description

validate_(var ret = true;' . $validateJS . ';return ret;}</script>';return $js;function display()   X-Ref
No description



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