_getSearchCache() 보호된 메소드

Retrieve data from the search cache.
protected _getSearchCache ( string $type, array $options ) : mixed
$type string The cache type ('search' or 'thread').
$options array The options array of the calling function.
리턴 mixed Returns search cache metadata. If search was retrieved, data is in key 'data'. Returns null if caching is not available.
예제 #1
0
 /**
  */
 protected function _getSearchCache($type, $mailbox, $options)
 {
     /* Search caching requires MODSEQ, which may not be active for a
      * mailbox. */
     return empty($this->_temp['mailbox']['highestmodseq']) ? null : parent::_getSearchCache($type, $mailbox, $options);
 }