Esempio n. 1
0
 /**
  * Return an array of stored cache ids which match any given tags
  *
  * In case of multiple tags, a logical OR is made between tags
  *
  * @param array $tags array of tags
  * @return array array of any matching cache ids (string)
  */
 public function getIdsMatchingAnyTags($tags = array())
 {
     if ($tags) {
         return (array) $this->_redis->sUnion($this->_preprocessTagIds($tags));
     }
     return array();
 }