Pimcore\Cache\Backend\Memcached::getIdsMatchingTags PHP Метод

getIdsMatchingTags() публичный Метод

public getIdsMatchingTags ( array $tags = [] ) : array
$tags array
Результат array
    public function getIdsMatchingTags($tags = [])
    {
        $tags_ = [];
        foreach ($tags as $tag) {
            $tags_[] = " tag = " . $this->getDb()->quote($tag);
        }
        $itemIds = $this->getDb()->fetchCol("SELECT id FROM cache_tags WHERE " . implode(" AND ", $tags_));
        return $itemIds;
    }