[ Index ] |
|
Code source de CakePHP 1.1.13.4450 |
[Code source] [Imprimer] [Statistiques]
String handling methods. Random passwords, splitting strings into arrays, removing Cyrillic characters, stripping whitespace.
Copyright: | Copyright 2005-2007, Cake Software Foundation, Inc. |
License: | http://www.opensource.org/licenses/mit-license.php The MIT License |
Version: | $Revision: 4409 $ |
Poids: | 88 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
NeatString:: (4 méthodes):
toArray()
toRoman()
toCompressed()
randomPassword()
Classe: NeatString - X-Ref
String handling methods.toArray($string) X-Ref |
Returns an array with each of the non-empty characters in $string as an element. param: string $string return: array |
toRoman($string) X-Ref |
Returns string with Cyrillic characters translated to Roman ones. param: string $string return: string |
toCompressed($string) X-Ref |
Returns string as lowercase with whitespace removed. param: string $string return: string |
randomPassword($length, $available_chars = 'ABDEFHKMNPRTWXYABDEFHKMNPRTWXY23456789') X-Ref |
Returns a random password. param: integer $length Length of generated password param: string $available_chars List of characters to use in password return: string Generated password |
Généré le : Sun Feb 25 19:27:47 2007 | par Balluche grâce à PHPXref 0.7 |