diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-09 09:27:43 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-09 09:27:43 +0100 |
commit | 08f0f8b751c0e956e12fade9f6eea2bd581042ac (patch) | |
tree | 2ed7577bcf85fa1d2ae5b546bb2b544ceae5f953 /user_guide_src/source/helpers/string_helper.rst | |
parent | 442682e488181a9e9139f02bb657e501eb78573d (diff) |
Polish docs for URL and XML helpers and deprecate obsolete options for String helper random_string() and URL helper url_title()
Diffstat (limited to 'user_guide_src/source/helpers/string_helper.rst')
-rw-r--r-- | user_guide_src/source/helpers/string_helper.rst | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/user_guide_src/source/helpers/string_helper.rst b/user_guide_src/source/helpers/string_helper.rst index 1c2404400..d0d302476 100644 --- a/user_guide_src/source/helpers/string_helper.rst +++ b/user_guide_src/source/helpers/string_helper.rst @@ -31,18 +31,13 @@ Useful for creating passwords or generating random hashes. The first parameter specifies the type of string, the second parameter specifies the length. The following choices are available: -alpha, alunum, basic, numeric, nozero, md5 and sha1 - - **alpha**: A string with lower and uppercase letters only. - **alnum**: Alpha-numeric string with lower and uppercase characters. - **basic**: A random number based on ``mt_rand()``. - **numeric**: Numeric string. - **nozero**: Numeric string with no zeros. -- **unique**: Encrypted with MD5 and uniqid(). Note: The length - parameter is not available for this type. Returns a fixed length 32 - character string. -- **md5**: An encrypted random number based on ``md5()``. -- **sha1**: An encrypted random number based on ``sha1()``. +- **md5**: An encrypted random number based on ``md5()`` (fixed length of 32). +- **sha1**: An encrypted random number based on ``sha1()`` (fixed length of 40). Usage example:: |