diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-08 21:01:33 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-08 21:01:33 +0100 |
commit | f7c39d6a123a73d90e4e9ebca2c66ed75731ab32 (patch) | |
tree | 0c5d666b33dd535cc13f4378825d2735e7ffa4f6 /user_guide_src/source/installation/upgrade_300.rst | |
parent | 53b8ef524529e6ca9f32ad49d36c5140df84feb0 (diff) |
Deprecate String helper trim_slashes()
trim(, '/') is even shorter ...
Diffstat (limited to 'user_guide_src/source/installation/upgrade_300.rst')
-rw-r--r-- | user_guide_src/source/installation/upgrade_300.rst | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/user_guide_src/source/installation/upgrade_300.rst b/user_guide_src/source/installation/upgrade_300.rst index 291d2a370..64f603a16 100644 --- a/user_guide_src/source/installation/upgrade_300.rst +++ b/user_guide_src/source/installation/upgrade_300.rst @@ -181,9 +181,18 @@ CodeIgniter 3.1+. String helper repeater() ======================== -:doc:`String Helper <../helpers/string_helper>` function ``repeater()`` is now just an alias for -PHP's native ``str_repeat()`` function. It is deprecated and scheduled for removal in -CodeIgniter 3.1+. +:doc:`String Helper <../helpers/string_helper>` function :php:func:`repeater()` is now just an alias for +PHP's native ``str_repeat()`` function. It is deprecated and scheduled for removal in CodeIgniter 3.1+. + +.. note:: This function is still available, but you're strongly encouraged to remove it's usage sooner + rather than later. + +String helper trim_slashes() +============================ + +:doc:`String Helper <../helpers/string_helper>` function :php:func:`trim_slashes()` is now just an alias +for PHP's native ``trim()`` function (with a slash passed as its second argument). It is deprecated and +scheduled for removal in CodeIgniter 3.1+. .. note:: This function is still available, but you're strongly encouraged to remove it's usage sooner rather than later. |