public static getCacheId ( Horde_Imap_Client_Base $base_ob, mixed $mailbox, boolean $condstore, array $addl = [] ) : string |
$base_ob |
Horde_Imap_Client_Base |
The base driver object. |
$mailbox |
mixed |
A mailbox. Either a
Horde_Imap_Client_Mailbox
object or a string (UTF-8). |
$condstore |
boolean |
Is CONDSTORE enabled? |
$addl |
array |
Additional cache info to add to
the cache ID string. |
Résultat |
string |
The cache ID string, which will change when the
composition of the mailbox changes. The uidvalidity
will always be the first element, and will be delimited
by the '|' character. |