| /plugin/lms/_test/ |
| D | HelperTest.php | 24 $hlp = new \helper_plugin_lms(); 29 array_keys($hlp->getUserLessons('test')) 33 $hlp->markLesson('foo', 'test', true); 36 array_keys($hlp->getUserLessons('test')) 40 $hlp->markLesson('bar', 'test', true); 43 array_keys($hlp->getUserLessons('test')) 47 $hlp->markLesson('foo', 'test', false); 50 array_keys($hlp->getUserLessons('test')) 55 $hlp = new \helper_plugin_lms(); 59 $result = $hlp->getNextLesson($id); [all …]
|
| /plugin/tagging/action/ |
| H A D | main.php | 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'); [all …]
|
| /plugin/publish/action/ |
| H A D | banner.php | 10 private $hlp; variable in action_plugin_publish_banner 13 $this->hlp = plugin_load('helper','publish'); 23 if (!$this->hlp->isActive()) { 45 if ($this->hlp->isCurrentRevisionApproved() && $this->getConf('hide_approved_banner')) { 58 $difflink = $this->hlp->getDifflink($id,$rev1,$rev2); 67 if ($this->hlp->isCurrentRevisionApproved()) { 70 if ($this->hlp->isHiddenForUser()) { 103 if (!$this->hlp->isHidden()) { 112 $revision = $this->hlp->getRevision(); 113 $latestRevision = $this->hlp->getLastestRevision(); [all …]
|
| H A D | start.php | 8 private $hlp; variable in action_plugin_publish_start 11 $this->hlp = plugin_load('helper','publish'); 41 if (!$this->hlp->isActive()) { 45 if (!$this->hlp->isCurrentRevisionApproved()) { 46 $latestApproved = $this->hlp->getLatestApprovedRevision();
|
| /plugin/booking/_test/ |
| D | helper.test.php | 19 $hlp = plugin_load('helper', 'booking'); 22 $hlp->addBooking('test:book', '2020-12-17 13:00', '1.5h', 'andi'); 39 $hlp = plugin_load('helper', 'booking'); 41 $hlp->addBooking('test:book', '2020-12-17 13:00', 'foobar', 'andi'); 51 $hlp = plugin_load('helper', 'booking'); 53 $hlp->addBooking('test:book', '2020-12-17 13:00', '1.5h', 'andi'); 54 $hlp->addBooking('test:book', '2020-12-17 13:20', '1.5h', 'andi'); 61 $hlp = plugin_load('helper', 'booking'); 64 $hlp->addBooking('test:run', '2020-12-17 13:00', '1.5h', 'andi'); 65 $hlp->addBooking('test:run', '2020-12-17 14:30', '1.5h', 'andi'); [all …]
|
| /plugin/labeled/ |
| D | admin.php | 8 private $hlp; variable in admin_plugin_labeled 14 $this->hlp = plugin_load('helper', 'labeled'); 33 $labels = $this->hlp->getAllLabels(); 43 $this->hlp->deleteLabel($label); 49 $labels = $this->hlp->getAllLabels(); 58 $this->hlp->changeColor($oldName, $newValues['color']); 66 $this->hlp->changeOrder($oldName, $newValues['order']); 68 $this->hlp->changeOrder($oldName, 2147483647); 69 $labels = $this->hlp->getAllLabels(); 75 $this->hlp->renameLabel($oldName, $newValues['name']); [all …]
|
| /plugin/tagging/ |
| H A D | syntax.php | 77 $hlp = plugin_load('helper', 'tagging'); 85 $tags = $hlp->findItems(['tagger' => $data['user']], 'tag', $data['limit']); 87 … $renderer->doc .= $hlp->html_cloud($tags, 'tag', [$hlp, 'linkToSearch'], true, true); 93 $pids = $hlp->findItems(['tag' => $data['tag']], 'pid', $data['limit']); 95 $renderer->doc .= $hlp->html_page_list($pids); 101 $data['ns'] = $hlp->resolveNs($data); 103 … $tags = $hlp->findItems(['pid' => $hlp->globNamespace($data['ns'])], 'tag', $data['limit']); 104 … $renderer->doc .= $hlp->html_cloud($tags, 'tag', [$hlp, 'linkToSearch'], true, true, $data['ns']); 109 $renderer->doc .= $hlp->tpl_tags(false); 114 $renderer->doc .= $hlp->manageTags($ns);
|
| H A D | admin.php | 8 private $hlp; variable in admin_plugin_tagging 12 $this->hlp = plugin_load('helper', 'tagging'); 33 $this->hlp->deleteInvalidTaggings(); 37 if (!$this->hlp->getParams()) { 38 $this->hlp->setDefaultSort(); 42 $this->hlp->setDefaultSort(); 51 echo $this->hlp->html_table(); 53 echo $this->hlp->html_clean();
|
| /plugin/statistics/ |
| D | StatisticsGraph.php | 11 private \helper_plugin_statistics $hlp; variable in dokuwiki\\plugin\\statistics\\StatisticsGraph 26 public function __construct(\helper_plugin_statistics $hlp, $from, $to, $width, $height) argument 28 $this->hlp = $hlp; 64 $result = $this->hlp->getQuery()->$query(); 105 $result = $this->hlp->getQuery()->history($info, $interval); 123 'label' => $this->hlp->getLang('graph_' . $info), 181 $result = $this->hlp->getQuery()->viewport(); 195 'label' => $this->hlp->getLang('viewport'), 206 $result = $this->hlp->getQuery()->resolution(); 220 'label' => $this->hlp->getLang('resolution'), [all …]
|
| D | action.php | 108 $hlp = plugin_load('helper', 'statistics'); 109 $hlp->getLogger()->logEdit($event->data[1] . ':' . $event->data[2], $type); 118 $hlp = plugin_load('helper', 'statistics'); 119 $hlp->getLogger()->logSearch($event->data['query'], $event->data['highlight']); 151 $hlp = plugin_load('helper', 'statistics'); 152 $hlp->getLogger()->logLogin($type, $user); 162 $hlp = plugin_load('helper', 'statistics'); 163 $hlp->getLogger()->logLogin('C', $event->data['params'][0]); 184 $hlp = plugin_load('helper', 'statistics'); 185 $hlp->getLogger()->logMedia( [all …]
|
| D | admin.php | 26 protected $hlp; variable in admin_plugin_statistics 80 $this->hlp = plugin_load('helper', 'statistics'); 137 $this->hlp->getQuery()->setTimeFrame($from, $to); 212 $this->hlp->getGraph($this->from, $this->to, $width, $height)->$name(); 306 $result = $this->hlp->getQuery()->aggregate(); 341 $result = call_user_func([$this->hlp->getQuery(), $graph['query']]); 363 $graph = $this->hlp->getGraph($this->from, $this->to, 300, 300); 366 $result = $this->hlp->getQuery()->$name(); 374 $result = $this->hlp->getQuery()->resolution(); 381 $result = $this->hlp->getQuery()->$name(); [all …]
|
| /plugin/labeled/action/ |
| D | change.php | 6 var $hlp; variable in action_plugin_labeled_change 22 $this->hlp = plugin_load('helper', 'labeled'); 23 if (is_null($this->hlp)) { 37 $this->hlp->getDb(); 59 $this->hlp->deleteLabel($_REQUEST['label'], $ID); 65 $this->hlp->removeLabel($_REQUEST['label'], $ID); 73 $this->hlp->addLabel($label, $ID); 81 $labels = $this->hlp->parseLabels($_REQUEST['labels']); 82 $this->hlp->setLabels($labels, $ID); 93 $this->hlp->createLabel($label, $color, $ns = '');
|
| /plugin/davcal/action/ |
| H A D | ajax.php | 12 private $hlp = null; variable in action_plugin_davcal_ajax 15 $this->hlp =& plugin_load('helper','davcal'); 53 $acl = $this->hlp->checkCalendarPermission($id); 67 $calendarPages = $this->hlp->getCalendarPagesByMeta($page); 80 $res = $this->hlp->addCalendarEntryToCalendarForPage($id, $user, $params); 106 $data = array_merge($data, $this->hlp->getEventsWithinDateRange($calPage, 114 $res = $this->hlp->editCalendarEntryForPage($id, $user, $params); 136 $res = $this->hlp->deleteCalendarEntryForPage($id, $params); 157 $data['settings'] = $this->hlp->getPersonalSettings($user); 158 $data['settings']['calids'] = $this->hlp->getCalendarMapForIDs($calendarPages); [all …]
|
| /plugin/do/ |
| D | action.php | 38 $hlp = plugin_load('helper', 'do'); 40 $JSINFO['plugin_do_user_name'] = $hlp->getPrettyUser($_SERVER['REMOTE_USER']); 71 $hlp = plugin_load('helper', 'do'); 72 $status = $hlp->toggleTaskStatus($id, $_REQUEST['do_md5'], $_REQUEST['do_commit']); 92 $hlp = plugin_load('helper', 'do'); 93 $status = $hlp->getAllPageStatuses($page); 112 $hlp = plugin_load('helper', 'do'); 113 $tasks = $hlp->loadTasks(array('status' => array('undone'), 'user' => $user)); 146 $hlp = plugin_load('helper', 'do'); 147 $status = $hlp->toggleTaskStatus($pageid, $_REQUEST['do_md5']); [all …]
|
| /plugin/dbquery/_test/ |
| H A D | HelperTest.php | 16 protected $hlp; variable in dokuwiki\\plugin\\dbquery\\test\\HelperTest 22 $this->hlp = plugin_load('helper', 'dbquery'); 38 $actual = $this->hlp->gatherVariables(); 60 $actual = $this->hlp->gatherVariables(); 66 $pdo = $this->hlp->getPDO('sqlite:', '', ''); 77 $sth = $this->hlp->prepareStatement($pdo, $sql, $parameters); 97 $actual = $this->callInaccessibleMethod($this->hlp, 'getDsnAliases', [$conf, 'dfu', 'dfp']); 109 $actual = $this->callInaccessibleMethod($this->hlp, 'getDsnAliases', [$conf, 'dfu', 'dfp']);
|
| /plugin/davcal/ |
| H A D | calendarBackendDokuwiki.php | 24 protected $hlp = null; variable in DokuWikiSabreCalendarBackend 48 function __construct(&$hlp) argument 51 $this->hlp = $hlp; 90 $idInfo = $this->hlp->getCalendarIdsForUser($principalUri); 94 $row = $this->hlp->getCalendarSettings($id); 181 $this->hlp->updateCalendarName($calendarId, $propertyValue); 185 $this->hlp->updateCalendarDescription($calendarId, $propertyValue); 189 $this->hlp->updateCalendarTimezone($calendarId, $propertyValue); 248 $arr = $this->hlp->getCalendarObjects($calendarId); 286 $row = $this->hlp->getCalendarObjectByUri($calendarId, $objectUri); [all …]
|
| H A D | ics.php | 20 $hlp = null; variable 21 $hlp =& plugin_load('helper', 'davcal'); variable 23 if(is_null($hlp)) 30 if($hlp->getConfig('disable_ics') === 1) 41 $stream = $hlp->getAggregatedCalendarAsICSFeed($icsFile); 53 $calid = $hlp->getCalendarForPrivateURL($icsFile); 63 $stream = $hlp->getCalendarAsICSFeed($calid);
|
| /plugin/schulzevote/syntax/ |
| D | vote.php | 81 $hlp = plugin_load('helper', 'schulzevote'); 82 $hlp->createVote($candidates); 109 $hlp = plugin_load('helper', 'schulzevote'); 114 if ($hlp->outdated) { 123 } elseif ($hlp->hasVoted()) { 128 $this->_winnerMsg($hlp, 'has_won'); 144 if ($hlp->hasVoted()) { 145 $form->addLabel($hlp->getVote()[$candy]); 155 if (!$hlp->hasVoted()) { 172 foreach($hlp->getRanking() as $rank => $items) { [all …]
|
| /plugin/lms/ |
| D | action.php | 39 $hlp = $this->loadHelper('lms'); 41 $JSINFO['plugins']['lms']['seen'] = array_keys($hlp->getUserLessons($user)); 71 $hlp = $this->loadHelper('lms'); 74 $hlp->markLesson($ID, $user, true); 77 $hlp->markLesson($ID, $user, true); 78 $next = $hlp->getNextLesson($ID, $user); 84 $hlp->markLesson($ID, $user, false); 107 $hlp = $this->loadHelper('lms'); 109 $knownUsers = $hlp->getKnownUsers();
|
| /plugin/html2pdf/multilingual/ |
| D | syntax.php | 19 var $hlp = null; variable in syntax_plugin_multilingual 25 $this->hlp =& plugin_load('helper', 'multilingual'); 85 if($this->hlp->tns && strpos($ID,$this->hlp->tns) !== 0) return; 91 $rx = '/^'.$this->hlp->tns.'(('.join('|',$this->hlp->trans).'):)?/'; 109 foreach($this->hlp->trans as $t){ 110 list($link,$name,$exists) = $this->hlp->buildTransLink($t,$idpart);
|
| /plugin/multilingual/ |
| D | syntax.php | 19 var $hlp = null; variable in syntax_plugin_multilingual 25 $this->hlp =& plugin_load('helper', 'multilingual'); 85 if($this->hlp->tns && strpos($ID,$this->hlp->tns) !== 0) return; 91 $rx = '/^'.$this->hlp->tns.'(('.join('|',$this->hlp->trans).'):)?/'; 109 foreach($this->hlp->trans as $t){ 110 list($link,$name,$exists) = $this->hlp->buildTransLink($t,$idpart);
|
| /plugin/webdavclient/ |
| D | cron.php | 15 $hlp = null; variable 16 $hlp =& plugin_load('helper', 'webdavclient'); variable 20 if(is_null($hlp)) 27 $cron = $hlp->getConfig('use_cron'); 35 $hlp->syncAllConnections();
|
| D | admin.php | 15 protected $hlp = null; variable in admin_plugin_webdavclient 25 $this->hlp =& plugin_load('helper', 'webdavclient'); 26 if(is_null($this->hlp)) 67 if($this->hlp->syncConnection($connid, true, true) === false) 70 $this->errmsg = $this->hlp->getLastError(); 75 if($this->hlp->syncConnection($connid, true, true, true) === false) 78 $this->errmsg = $this->hlp->getLastError(); 83 $this->hlp->deleteConnection($connid); 92 $this->hlp->modifyConnection($connid, $permission, $dn, $syncinterval, $write, $active); 101 … $this->hlp->addConnection($uri, $username, $password, $dn, $dn, $type, '3600', false, false); [all …]
|
| /plugin/rating/ |
| D | action.php | 42 $hlp = plugin_load('helper', 'rating'); 43 $hlp->remove($event->data[2]); 66 $hlp = plugin_load('helper', 'rating'); 67 $hlp->tpl(true); 86 $hlp = plugin_load('helper', 'rating'); 87 $hlp->rate($rate, $ID);
|
| /plugin/evesso/ |
| D | auth.php | 68 $hlp = plugin_load('helper', 'evesso'); 71 $service = $hlp->loadService($servicename); 78 $ok = $this->processLogin($sticky, $hlp, $service, $servicename, $page, $params); 121 $hlp = plugin_load('helper', 'evesso'); 122 if ($hlp->validBrowserID($session)) { 123 if (!$hlp->isSessionTimedOut($session)) { 125 } elseif (!($hlp->isGETRequest() && $hlp->isDokuPHP())) { 137 $hlp = plugin_load('helper', 'evesso'); 138 $service = $hlp->loadService($servicename); 175 … protected function processLogin($sticky, $hlp, $service, $servicename, $page, $params = array()) { argument [all …]
|