Class miWebFormErrorsHandler

Description

Collects and displays errors

  • copyright: Copyright (c) 2006 Mirchev Ideas Ltd. All rights reserved.

Located in /view/WebFormErrorsHandler.php (line 13)


	
			
Direct descendents
Class Description
miWebFormMessageErrorsHandler Message based errors handler
Variable Summary
mixed $_errors
Method Summary
void addError ( $fieldName, string $errorMessage)
void assignErrors ( &$t, miTemplateParser $t)
bool hasErrors ()
Variables
mixed $_errors = array() (line 19)

The errors go here

  • access: protected
Methods
addError (line 27)

Add new error

  • access: public
void addError ( $fieldName, string $errorMessage)
  • string $errorMessage
  • $fieldName
assignErrors (line 41)

Assign the errors to the template

  • access: public
void assignErrors ( &$t, miTemplateParser $t)

Redefined in descendants as:
hasErrors (line 51)

Returns true if there are any errors in the object

  • return: true if there are errors, false otherwise
  • access: public
bool hasErrors ()

Documentation generated on Thu, 08 May 2008 16:58:01 +0300 by phpDocumentor 1.4.1