Class Nexista_ValidatorHandler

Description

This classes provides functionality to validate data fields from Flow using any criteria. Validation criterias (besides checking if required) is provided by add-on modules in the Validators folder.

Located in /modules/handlers/validator.handler.php (line 25)


	
			
Method Summary
 boolean process (string $src, boolean &$result)
Methods
process (line 44)

Accepts an xml file list of items and validates them according to passed criteria.

This function will check a number of fields based on criterias passed along with each, such as required, validation type, etc.. It will return false if any fails and detailed results including custom error messages are placed in a ValidationHandlerData object, parts of which will be rendered into xmlStream for access from xsl

  • return: success
  • access: public
boolean process (string $src, boolean &$result)
  • string $src: the name of the xml data file
  • boolean &$result: (referece) result

Documentation generated on Tue, 11 Mar 2008 23:23:15 -0400 for Nexista 0.2.0