loadCacheFromStorage() 공개 메소드

Repopulate the cache data from storage.
예제 #1
0
파일: Collections.php 프로젝트: horde/horde
 /**
  * Prepare for a hierarchy sync.
  *
  * @param string $synckey  The current synckey from the client.
  *
  * @return array  An array of known folders.
  */
 public function initHierarchySync($synckey)
 {
     $this->_as->state->loadState(array(), $synckey, Horde_ActiveSync::REQUEST_TYPE_FOLDERSYNC);
     // Refresh the cache since it might have changed like e.g., if synckey
     // was empty.
     $this->_cache->loadCacheFromStorage();
     return $this->_as->state->getKnownFolders();
 }