Lines Matching refs:tags
171 $tags = [];
177 $tags[$row['value']]['cnt'] = $row['cnt'];
178 $tags[$row['value']]['value'] = $row['value'];
180 $this->cloudWeight($tags, $min, $max, 5);
184 foreach ($tags as $tag) {
204 * @param $tags array ref The tags to weight ( tag => count)
209 protected function cloudWeight(&$tags, $min, $max, $levels)
220 foreach ($tags as $tag) {
223 $tags[$tag['value']]['lvl'] = $tresh;
226 $tags[$tag['value']]['lvl'] = $levels;
231 ksort($tags);