getCacheId()
getCacheId(\Horde_Imap_Client_Base $base_ob, mixed $mailbox, boolean $condstore, array $addl = array()) : string
Returns a unique identifier for the current mailbox status.
Parameters
\Horde_Imap_Client_Base | $base_ob | The base driver object. |
mixed | $mailbox | A mailbox. Either a Horde_Imap_Client_Mailbox object or a string (UTF-8). |
boolean | $condstore | Is CONDSTORE enabled? |
array | $addl | Additional cache info to add to the cache ID string. |
Throws
- \Horde_Imap_Client_Exception
Returns
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.