Class InputValue

Description

Implements interfaces:

  • access: public

Located in /InputValue.php (line 56)

Filesystem
   |
   --InputValue
Method Summary
[91]   public   InputValue :  __construct (float $floatMin, float $floatMax, [boolean $boolOverride = FALSE])
[142]   protected   float :  calculateInputValue (float $floatValue)
[119]   public   float :  getInputValue (float $floatValue)
Methods
public  InputValue __construct (float $floatMin, float $floatMax, [boolean $boolOverride = FALSE]) [91]
  • throws:

    Exception

    If $boolOverride is FALSE, an exception will be thrown if getInputValue() will be called with outranged values. If $boolOverride is TRUE, no exception will be thrown in this case, but lower values are replaced by $floatMin and upper values are replaced by $floatMax.

  • access: public
  • float $floatMin
  • float $floatMax
  • boolean $boolOverride: (Default: FALSE)
protected  float calculateInputValue (float $floatValue) [142]
  • float $floatValue
public  float getInputValue (float $floatValue) [119]
  • float $floatValue

Inherited Methods

Inherited From Filesystem

Filesystem::loadFromFile()
Filesystem::saveToFile()

Documentation generated on Mon, 04 Jul 2011 21:31:09 +0200 by phpDocumentor 1.4.1