Lines Matching refs:hlp

97         /** @var helper_plugin_tagging $hlp */
98 $hlp = plugin_load('helper', 'tagging');
105 $pages = $hlp->findItems($filter, 'pid', 1);
126 /** @var helper_plugin_tagging $hlp */
127 $hlp = plugin_load('helper', 'tagging');
133 if ($INFO['writable'] && $hlp->getUser()) {
134 $hlp->replaceTags(
135 $id, $hlp->getUser(),
141 $hlp->updateElasticState($id);
144 $tags = $hlp->findItems(array('pid' => $id), 'tag');
145 $hlp->html_cloud($tags, 'tag', array($hlp, 'linkToSearch'), false);
154 /** @var helper_plugin_tagging $hlp */
155 $hlp = plugin_load('helper', 'tagging');
158 $tags = $hlp->findItems(array('tag' => '*' . $hlp->getDB()->escape_string($search) . '*'), 'tag');
174 /** @var helper_plugin_tagging $hlp */
175 $hlp = plugin_load('helper', 'tagging');
201 list($err, $msg) = $hlp->modifyPageTag($pid, $INPUT->str('oldValue'), $INPUT->str('newValue'));
207 $tags = $hlp->findItems(array('pid' => $pid), 'tag');
208 $userTags = $hlp->findItems(array('pid' => $pid, 'tagger' => $hlp->getUser()), 'tag');
212 'html_cloud' => $hlp->html_cloud($tags, 'tag', array($hlp, 'linkToSearch'), false, true),
224 /** @var helper_plugin_tagging $hlp */
225 $hlp = plugin_load('helper', 'tagging');
226 $hlp->deleteTags($data['tid']);
229 $pids = $hlp->findItems(['tag' => $data['tid'][0]], 'pid');
232 $hlp->updateElasticState($pid);
245 /** @var helper_plugin_tagging $hlp */
246 $hlp = plugin_load('helper', 'tagging');
247 $hlp->renameTag($data['oldValue'], $data['newValue']);
250 $pids = $hlp->findItems(['tag' => $data['newValue']], 'pid');
253 $hlp->updateElasticState($pid);
268 /** @var helper_plugin_tagging $hlp */
269 $hlp = plugin_load('helper', 'tagging');
270 echo $hlp->getPagesHtml($data['tid']);
284 /** @var helper_plugin_tagging $hlp */
285 $hlp = plugin_load('helper', 'tagging');
286 $hlp->renamePage($src, $dst);