Lines Matching refs:tag
184 foreach ($tags as $tag) {
185 $tagLabelText = hsc($tag['value']);
187 $tagLabelText .= '<sub>(' . $tag['cnt'] . ')</sub>';
190 $renderer->doc .= sprintf($this->before_val, $tag['lvl']);
192 wl($data['page'], $this->dthlp->getTagUrlparam($data['cols'][$ckey], $tag['value'])) .
193 '" title="' . sprintf($this->getLang('tagfilter'), hsc($tag['value'])) .
202 * Create a weighted tag distribution
204 * @param $tags array ref The tags to weight ( tag => count)
205 * @param $min int The lowest count of a single tag
206 * @param $max int The highest count of a single tag
220 foreach ($tags as $tag) {
222 if ($tag['cnt'] <= $val) {
223 $tags[$tag['value']]['lvl'] = $tresh;
226 $tags[$tag['value']]['lvl'] = $levels;