Interface WECRule

Description

An interface that defines rules for javascript error checking with the Wizard.

  • version: $Id: WECRule.interface.php,v 1.5 2007/09/19 14:04:52 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • since: Jul 23, 2005

Located in /polyphony/main/library/Wizard/ErrorCheckingRules/WECRule.interface.php (line 22)


	
			
Method Summary
boolean checkValue (ref $component)
string generateJavaScript ()
Methods
checkValue (line 41)

Returns true if the passed WizardComponent validates against this rule.

  • access: public
boolean checkValue (ref $component)
  • ref $component: object $component
generateJavaScript (line 33)

Returns a block of javascript code defining a function like so:

function(id) { var el = getWizardElement(id); return el.value.match(/\w+/); }

  • access: public
string generateJavaScript ()

Documentation generated on Wed, 19 Sep 2007 10:27:56 -0400 by phpDocumentor 1.3.0RC3