NeatString Class Reference

List of all members.


Public Member Functions

 randomPassword ($length, $available_chars= 'ABDEFHKMNPRTWXYABDEFHKMNPRTWXY23456789')
 toArray ($string)
 toCompressed ($string)
 toRoman ($string)

Detailed Description

Definition at line 37 of file neat_string.php.


Member Function Documentation

NeatString::randomPassword ( length,
available_chars = 'ABDEFHKMNPRTWXYABDEFHKMNPRTWXY23456789' 
)

Returns a random password.

Parameters:
integer $length Length of generated password
string $available_chars List of characters to use in password
Returns:
string Generated password

Definition at line 78 of file neat_string.php.

NeatString::toArray ( string  ) 

Returns an array with each of the non-empty characters in $string as an element.

Parameters:
string $string
Returns:
array

Definition at line 44 of file neat_string.php.

NeatString::toCompressed ( string  ) 

Returns string as lowercase with whitespace removed.

Parameters:
string $string
Returns:
string

Definition at line 66 of file neat_string.php.

NeatString::toRoman ( string  ) 

Returns string with Cyrillic characters translated to Roman ones.

Parameters:
string $string
Returns:
string

Definition at line 54 of file neat_string.php.


The documentation for this class was generated from the following file: