Class MinValidator

Description

Validates values against a minimum value

Located in /core/validation/MinValidator.class.php (line 37)

PHP2Go
   |
   --AbstractValidator
      |
      --MinValidator
Variable Summary
float $min
Method Summary
MaxValidator MinValidator ([array $params = NULL])
bool execute (float $value)
Variables
float $min (line 45)

Minimum value

  • access: private

Inherited Variables

Inherited from AbstractValidator

AbstractValidator::$errorMessage
AbstractValidator::$fieldLabel
Methods
Constructor MinValidator (line 56)

Class constructor

Accepted arguments:

  • min (float): minimum value

MaxValidator MinValidator ([array $params = NULL])
  • array $params: Arguments
execute (line 70)

Runs the validation

bool execute (float $value)
  • float $value: Value to be validated

Redefinition of:
AbstractValidator::execute()
Must be implemented by child classes

Inherited Methods

Inherited From AbstractValidator

AbstractValidator::AbstractValidator()
AbstractValidator::execute()
AbstractValidator::getError()

Inherited From PHP2Go

PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()

Documentation generated on Sun, 07 Oct 2007 19:27:57 -0300 by phpDocumentor 1.3.2