Class ANN_StringValue

Description
  • access: public

Located in /StringValue.php (line 49)

ANN_Filesystem
   |
   --ANN_StringValue
Method Summary
[74]   public   ANN_StringValue :  __construct (integer $intMaxStringLength, [boolean $boolOverride = FALSE])
[142]   protected   array :  calculateInputValues (string $strValue)
[187]   protected   void :  createMapping ()
[205]   protected   void :  createSimilarityMapping ()
[101]   public   array :  getInputValue (string $strValue)
[171]   protected   float :  getMapping (string $strCharacter)
[243]   protected   integer :  ordUTF8 (string $strCharacter)
[125]   protected   string :  removeSpecialCharacters (string $strValue)
[300]   public   array :  __invoke (string $strValue)
[288]   public   void :  __wakeup ()
Methods
public  ANN_StringValue __construct (integer $intMaxStringLength, [boolean $boolOverride = FALSE]) [74]
  • throws:

    ANN_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
  • integer $intMaxStringLength
  • boolean $boolOverride: (Default: FALSE)
protected  array calculateInputValues (string $strValue) [142]
  • string $strValue
protected  void createMapping () [187]
protected  void createSimilarityMapping () [205]
public  array getInputValue (string $strValue) [101]
  • string $strValue
protected  float getMapping (string $strCharacter) [171]
  • string $strCharacter
protected  integer ordUTF8 (string $strCharacter) [243]
  • string $strCharacter
protected  string removeSpecialCharacters (string $strValue) [125]
  • string $strValue
public  array __invoke (string $strValue) [300]
  • access: public
  • string $strValue
public  void __wakeup () [288]
  • access: public

Inherited Methods

Inherited From ANN_Filesystem

ANN_Filesystem::loadFromFile()
ANN_Filesystem::saveToFile()

Documentation generated on Sat, 26 Dec 2009 15:41:32 +0100 by phpDocumentor 1.4.1