summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-10-27 12:38:39 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-10-27 12:41:15 (GMT)
commit1a0b2c404f696bf351dc5845de89a5e5835285f9 (patch)
tree7bd069f454658d042ca9bcd73d719c7014e1d868
parentce012f5faec11cd288b8b58beb82a0257d412590 (diff)
downloadNet_IMAP4-1a0b2c404f696bf351dc5845de89a5e5835285f9.tar.gz
Add a function selected() to return the currently selected mailbox
-rw-r--r--lib/Net/IMAP4.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Net/IMAP4.php b/lib/Net/IMAP4.php
index e87bb9a..5bf04c2 100644
--- a/lib/Net/IMAP4.php
+++ b/lib/Net/IMAP4.php
@@ -237,6 +237,10 @@
return Array($this->resultcode, $this->result);
}
+ public function selected() {
+ return $this->selected;
+ }
+
/*
LOGIN Authentication