Class ANN_StringValue

Description
  • access: public

Located in /StringValue.php (line 49)

ANN_Filesystem
   |
   --ANN_StringValue
Method Summary
[72]   public   ANN_StringValue :  __construct (integer $intMaxStringLength, [boolean $boolOverride = FALSE])
[133]   protected   array :  calculateInputValues (string $strValue)
[174]   protected   void :  createMapping ()
[190]   protected   void :  createSimilarityMapping ()
[97]   public   array :  getInputValue (string $strValue)
[160]   protected   float :  getMapping (string $strCharacter)
[226]   protected   integer :  ordUTF8 (string $strCharacter)
[119]   protected   string :  removeSpecialCharacters (string $strValue)
[280]   public   array :  __invoke (string $strValue)
[269]   public   void :  __wakeup ()
Methods
public  ANN_StringValue __construct (integer $intMaxStringLength, [boolean $boolOverride = FALSE]) [72]
  • integer $intMaxStringLength
  • boolean $boolOverride: (Default: FALSE) 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.
protected  array calculateInputValues (string $strValue) [133]
  • string $strValue
protected  void createMapping () [174]
protected  void createSimilarityMapping () [190]
public  array getInputValue (string $strValue) [97]
  • string $strValue
protected  float getMapping (string $strCharacter) [160]
  • string $strCharacter
protected  integer ordUTF8 (string $strCharacter) [226]
  • string $strCharacter
protected  string removeSpecialCharacters (string $strValue) [119]
  • string $strValue
public  array __invoke (string $strValue) [280]
  • string $strValue
public  void __wakeup () [269]
  • access: public

Inherited Methods

Inherited From ANN_Filesystem

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

Documentation generated on Mon, 23 May 2011 23:06:12 +0200 by phpDocumentor 1.4.1