summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-10-27 12:36:29 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-10-27 12:41:24 (GMT)
commitb8b3b7747432d5d5535f48db79aa97a11857d58a (patch)
tree3118ab0431d915106ccdead3604bee407318b26d
parente3a6068e4ad92aea3b10ed59a39b5090034d1871 (diff)
downloadNet_IMAP4-b8b3b7747432d5d5535f48db79aa97a11857d58a.tar.gz
r_implode() -> _r_implode() (Utility function)
-rw-r--r--lib/Net/IMAP4.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Net/IMAP4.php b/lib/Net/IMAP4.php
index 5bf04c2..ae63a47 100644
--- a/lib/Net/IMAP4.php
+++ b/lib/Net/IMAP4.php
@@ -177,7 +177,7 @@
"handlePartBody" => "handle_part_body",
"ID2UID" => "id_to_uid",
"sortHeaders" => "sort_headers",
- "r_implode" => NULL,
+ "r_implode" => "_r_implode",
"strToTime" => "str_to_time",
"UID2ID" => "uid_to_id",
"uncompressMessageSet" => "__uncompress_messageset",
@@ -3493,7 +3493,7 @@
if (!empty($arguments)) {
foreach ($arguments as $arg) {
- $query .= ' ' . self::r_implode($arg);
+ $query .= ' ' . self::_r_implode($arg);
}
}
@@ -3892,13 +3892,13 @@
return sprintf("{%d}\r\n%s", strlen($string), $string);
}
- static function r_implode($element) {
+ static function _r_implode($element) {
$string = '';
if (is_array($element)) {
reset($element);
while (list($key, $value) = each($element)) {
- $string .= ' ' . self::r_implode($value);
+ $string .= ' ' . self::_r_implode($value);
}
}
else {