summaryrefslogtreecommitdiffstats
path: root/system/helpers/string_helper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-27 13:45:23 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-27 13:45:23 +0200
commit60826db46d3f9ceabcc280c494a975007423e64a (patch)
treedfd949ade99bf54c4e5ce61faacf39a4f788130e /system/helpers/string_helper.php
parent3e9d2b8ae82948de3c83bd5a50151949f6e6ca90 (diff)
Deprecate string helper repeater() (an alias for str_repeat())
Diffstat (limited to 'system/helpers/string_helper.php')
-rw-r--r--system/helpers/string_helper.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/helpers/string_helper.php b/system/helpers/string_helper.php
index 4eee2a262..c5c493452 100644
--- a/system/helpers/string_helper.php
+++ b/system/helpers/string_helper.php
@@ -276,8 +276,11 @@ if ( ! function_exists('repeater'))
/**
* Repeater function
*
- * @param string
- * @param int number of repeats
+ * @todo Remove in version 3.1+.
+ * @deprecated 3.0.0 This is just an alias for PHP's native str_repeat()
+ *
+ * @param string $data String to repeat
+ * @param int $num Number of repeats
* @return string
*/
function repeater($data, $num = 1)