Horde_Imap_Client_Base::statusMultiple PHP Method

statusMultiple() public method

This method leverages the LIST-EXTENDED and LIST-STATUS extensions on the IMAP server to improve the efficiency of this operation.
Deprecation: Use status() instead.
public statusMultiple ( array $mailboxes, integer $flags = Horde_Imap_Client::STATUS_ALL, array $opts = [] ) : array
$mailboxes array The mailboxes to query. Either Horde_Imap_Client_Mailbox objects, strings (UTF-8), or a combination of the two.
$flags integer See status().
$opts array Additional options: - sort: (boolean) If true, sort the list of mailboxes? DEFAULT: Do not sort the list. - sort_delimiter: (string) If 'sort' is true, this is the delimiter used to sort the mailboxes. DEFAULT: '.'
return array An array with the keys as the mailbox names (UTF-8) and the values as arrays with the requested keys (from the mask given in $flags).
    public function statusMultiple($mailboxes, $flags = Horde_Imap_Client::STATUS_ALL, array $opts = array())
    {
        return $this->status($mailboxes, $flags, $opts);
    }