PHP 클래스 Horde_Imap_Client_Base_Deprecated, horde

NOTE: This class is NOT intended to be accessed outside of a Base object. There is NO guarantees that the API of this class will not change across versions.
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
getCacheId ( Horde_Imap_Client_Base $base_ob, mixed $mailbox, boolean $condstore, array $addl = [] ) : string Returns a unique identifier for the current mailbox status.
parseCacheId ( string $id ) : array Parses a cacheID created by getCacheId().

메소드 상세

getCacheId() 공개 정적인 메소드

Returns a unique identifier for the current mailbox status.
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.
리턴 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.

parseCacheId() 공개 정적인 메소드

Parses a cacheID created by getCacheId().
public static parseCacheId ( string $id ) : array
$id string The cache ID.
리턴 array An array with the following information: - highestmodseq: (integer) - messages: (integer) - uidnext: (integer) - uidvalidity: (integer) Always present