Lines Matching refs:hlp
115 $hlp = plugin_load('helper', 'tagging');
122 $pages = $hlp->findItems($filter, 'pid', 1);
145 $hlp = plugin_load('helper', 'tagging');
151 if ($INFO['writable'] && $hlp->getUser()) {
152 $hlp->replaceTags(
154 $hlp->getUser(),
162 $hlp->updateElasticState($id);
165 $tags = $hlp->findItems(['pid' => $id], 'tag');
166 $hlp->html_cloud($tags, 'tag', [$hlp, 'linkToSearch'], false);
177 $hlp = plugin_load('helper', 'tagging');
180 … $tags = $hlp->findItems(['tag' => '*' . $hlp->getDB()->escape_string($search) . '*'], 'tag');
198 $hlp = plugin_load('helper', 'tagging');
224 [$err, $msg] = $hlp->modifyPageTag($pid, $INPUT->str('oldValue'), $INPUT->str('newValue'));
230 $tags = $hlp->findItems(['pid' => $pid], 'tag');
231 $userTags = $hlp->findItems(['pid' => $pid, 'tagger' => $hlp->getUser()], 'tag');
235 'html_cloud' => $hlp->html_cloud($tags, 'tag', [$hlp, 'linkToSearch'], false, true)
248 $hlp = plugin_load('helper', 'tagging');
249 $hlp->deleteTags($data['tid']);
252 $pids = $hlp->findItems(['tag' => $data['tid'][0]], 'pid');
255 $hlp->updateElasticState($pid);
269 $hlp = plugin_load('helper', 'tagging');
270 $hlp->renameTag($data['oldValue'], $data['newValue']);
273 $pids = $hlp->findItems(['tag' => $data['newValue']], 'pid');
276 $hlp->updateElasticState($pid);
290 $hlp = plugin_load('helper', 'tagging');
291 echo $hlp->getPagesHtml($data['tid']);
306 $hlp = plugin_load('helper', 'tagging');
307 $hlp->renamePage($src, $dst);