Structures_Form
[ class tree: Structures_Form ] [ index: Structures_Form ] [ all elements ]

File: NumericRange.php

Source Location: /Structures_Form-0.8.0devel/Form/Rule/NumericRange.php

Page Details:

A rule designed to be used with Structures_Form. This rule makes sure that an element has a numeric value between two other values (inclusive).

One of a max or min must be supplied. If the max is NULL, then there will be no max. If the min is NULL, then there will be no min. But both cannot be NULL.

If the element's value is NULL, this rule will pass. If you don't want a NULL value to pass, make the element required first.

This class extends Structures_Form_Rule_Base. This class implement Structures_Form_RuleInterface.

  • Author: Scott Mattocks
  • Version: 0.8.0devel
  • Copyright: Copyright 2006 Scott Mattocks
  • License: PHP

Includes:

require_once('Structures/Form/Rule/Numeric.php') [line 22]

Documentation generated on Mon, 11 Mar 2019 14:44:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.