getQuery() 공개 메소드

Returns query information.
public getQuery ( string $key ) : mixed
$key string The query key.
리턴 mixed The query data.
예제 #1
0
파일: Cache.php 프로젝트: raz0rsdge/horde
 /**
  * Ensure we have the query data.
  *
  * @return NULL
  */
 private function _init()
 {
     if ($this->_mapping !== null) {
         return;
     }
     if ($this->_data_cache->hasQuery(self::PREFS)) {
         $this->_mapping = $this->_data_cache->getQuery(self::PREFS);
     } else {
         $this->synchronize();
     }
 }