Class iPhorm_Validator_Required

Description

Required Validator

Located in /iPhorm/Validator/Required.php (line 6)

iPhorm_Validator_Abstract
   |
   --iPhorm_Validator_Required
Method Summary
 boolean isValid ($value $value)
Variables
Methods
isValid (line 15)

Checks whether the given value is not empty. Also sets the error message if value is empty.

  • return: True if valid false otherwise
  • access: public
boolean isValid ($value $value)
  • $value $value: The value to check

Inherited Methods

Inherited From iPhorm_Validator_Abstract

 iPhorm_Validator_Abstract::addMessage()
 iPhorm_Validator_Abstract::getMessages()

Documentation generated on Thu, 24 Feb 2011 22:19:38 +0000 by phpDocumentor 1.4.3