Home
last modified time | relevance | path

Searched refs:helper (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/plugin/data-au/_test/
Dhelper.test.php27 $helper = new helper_plugin_dataau();
29 $this->assertEquals('', $helper->_cleanData(' ', ''));
30 $this->assertEquals('', $helper->_cleanData('', ''));
31 $this->assertEquals('', $helper->_cleanData(null, ''));
32 $this->assertEquals('', $helper->_cleanData(false, ''));
34 $this->assertEquals('', $helper->_cleanData('', 'dt'));
35 $this->assertEquals('', $helper->_cleanData('this is not a date', 'dt'));
36 $this->assertEquals('1234-01-01', $helper->_cleanData('1234-1-1', 'dt'));
37 $this->assertEquals('1234-01-01', $helper->_cleanData('1234-01-01', 'dt'));
38 $this->assertEquals('%now%', $helper->_cleanData('%now%', 'dt'));
[all …]
/plugin/confmanager/tpl/
DshowConfigTwoLineLeftImage.php1 <?php $helper = plugin_load('helper', 'confmanager'); variable
9 <h3><?php echo $helper->getLang('user_defined_values') ?></h3>
12 <th><?php echo $helper->getLang('key') ?></th>
13 <th><?php echo $helper->getLang('value') ?></th>
14 <th><?php echo $helper->getLang('actions') ?></th>
44 <?php echo $helper->getLang('disablesdefault') ?>
46 <?php echo $helper->getLang('modifiesdefault') ?>
57 alt="<?php echo hsc($helper->getLang('edit_icon_action_disabled')) ?>"
58 title="<?php echo hsc($helper->getLang('edit_icon_action_tooltip_disabled')) ?>" />
62 alt="<?php echo hsc($helper->getLang('edit_icon_action')) ?>"
[all …]
DshowConfigTwoLine.php1 <?php $helper = plugin_load('helper', 'confmanager'); variable
9 <h3><?php echo $helper->getLang('user_defined_values') ?></h3>
12 <th><?php echo $helper->getLang('key') ?></th>
13 <th><?php echo $helper->getLang('value') ?></th>
14 <th><?php echo $helper->getLang('actions') ?></th>
42 <?php echo $helper->getLang('disablesdefault') ?>
44 <?php echo $helper->getLang('modifiesdefault') ?>
65 <?php $this->helper->tplSaveButton() ?>
66 <h3 class="clickable hoverFeedback" title="<?php echo $helper->getLang('toggle_defaults') ?>">
68 <?php echo $helper->getLang('default_values') ?>
[all …]
DshowConfigSingleLine.php1 <?php $helper = plugin_load('helper', 'confmanager'); variable
9 <h3><?php echo $helper->getLang('user_defined_values') ?></h3>
12 <th><?php echo $helper->getLang('value') ?></th>
13 <th><?php echo $helper->getLang('actions') ?></th>
33 <?php echo $helper->getLang('disablesdefault') ?>
50 <?php $this->helper->tplSaveButton() ?>
51 <h3 class="clickable hoverFeedback" title="<?php echo $helper->getLang('toggle_defaults') ?>">
53 <?php echo $helper->getLang('default_values') ?>
59 <?php echo hsc($helper->getLang('defaults_description')) ?>
63 <th><?php echo $helper->getLang('value') ?></th>
[all …]
DformEnd.php3 <?php $this->helper->tplSaveButton() ?>
6 <?php $helper = plugin_load('helper', 'confmanager'); ?> variable
12 <div class="popupprompt"><?php echo $helper->getLang('file_upload_prompt') ?></div>
16 …<input type="submit" class="button saveButton right" value="<?php echo $helper->getLang('upload') …
18 …<input id="popup_cancel" type="submit" class="right" value="<?php echo $helper->getLang('cancel')…
26 <p><?php echo $helper->getLang('uploading') ?></p>
33 <h3><?php echo $helper->getLang('upload_success') ?></h3>
34 <a class="button continue right"><?php echo $helper->getLang('continue') ?></a>
37 <h3><?php echo $helper->getLang('upload_error') ?></h3>
38 <a class="button continue right"><?php echo $helper->getLang('continue') ?></a>
DselectConfig.php2 <h1><?php echo $this->helper->getLang('welcomehead') ?></h1>
5 <h2><?php echo $this->helper->getLang('no_script_title')?></h2>
7 <?php echo $this->helper->getLang('no_script_message')?>
13 <?php echo $this->helper->getLang('welcome') ?>
19 <?php echo $this->helper->getLang('select_config') ?>
23 <?php echo $this->helper->getLang('please_select') ?>
26 <?php $id = $this->helper->getConfigId($config) ?>
34 <input type="submit" value="<?php echo $this->helper->getLang('edit') ?>" class="button" />
/plugin/owncloud/ajax/
Dfilelist.php18 $helper = new helper_plugin_owncloud(); variable
20 $dir = $helper->getFilenameForID($_POST['fileid']);
23 $dir = $helper->wikiIDToPath($dir);
36 $padding = 'style="padding-left:'.($levelInt*($helper->getConf('marginFilelist'))).'px;"';
54 …w '.$level.'"><td colspan="5" '.$padding.' ><div style="color:grey">'.($helper->getLang('emptyFol…
57 $link = $helper->internalmedia(0,$helper->pathToWikiID($dir.'/'.$folder));
59 …$title = $helper->_media($helper->getLastfileid(), $helper->pathToWikiID($dir.'/'.$folder), NULL, …
60 …$url = $helper->ml($helper->pathToWikiID($dir.'/'.$file), array('fileid'=>($helper->getLastfileid(…
61 …$download = $helper->_formatLink(array('title'=>$title,'url'=>$url, 'class'=>"media mediafile deta…
71 …$detail = $helper->internalmedia(0,$helper->pathToWikiID($dir.'/'.$file),NULL,NULL,16,NULL,NULL,'l…
[all …]
/plugin/include/_test/
H A Dnamespace_includes.test.php15 private $helper; variable in plugin_include_namespaces_includes_test
24 $this->helper = plugin_load('helper', 'include');
68 $flags = $this->helper->get_flags(array());
69 $pages = $this->helper->_get_included_pages('namespace', 'inclhidden:', '', '', $flags);
79 $flags = $this->helper->get_flags(array());
80 $pages = $this->helper->_get_included_pages('namespace', 'incltest:', '', '', $flags);
84 $flags = $this->helper->get_flags(array('depth=2'));
85 $pages = $this->helper->_get_included_pages('namespace', 'incltest:', '', '', $flags);
90 $flags = $this->helper->get_flags(array('depth=2'));
91 $pages = $this->helper->_get_included_pages('namespace', 'incltest:ns', '', '', $flags);
[all …]
/plugin/owncloud/tpl/
Ddetail.php60 $helper = new helper_plugin_owncloud(); variable
61 $path = $helper->wikiIDToPath($IMG);
63 $isDir = $helper->isMediaDir($path);
77 …echo $helper->internalmedia($_GET['fileid'],$IMG,$helper->getLang('download'),NULL,NULL,NULL,NULL,…
90 $fileid = $helper->getIDForFilename($helper->wikiIDToPath($IMG));
121 …echo "<dt>".$helper->getLang('path').':</dt><dd><a href="'.$helper->getConf('owncloudurl').'/index…
123 echo $helper->filelist($fileid,'');
126 … echo $helper->internalmedia('',$helper->pathToWikiID($dir),$helper->getLang('parentFolder'));
133 echo $helper->mediaMetaStart($path);
134 echo $helper->mediaInUse($fileid);
/plugin/acknowledge/_test/
DHelperTest.php18 protected $helper; variable in dokuwiki\\plugin\\acknowledge\\test\\HelperTest
34 $this->helper = plugin_load('helper', 'acknowledge');
36 $this->db = $this->helper->getDB();
70 $actual = $this->helper->getAcknowledgements();
105 $actual = $this->helper->getAcknowledgements(1);
122 $actual = $this->helper->getUserAssignments('regular', ['user']);
135 $actual = $this->helper->getUserAssignments('max', ['user', 'super']);
172 $actual = $this->helper->getUserAcknowledgements('max', ['user', 'super']);
221 $actual = $this->helper->getUserAcknowledgements('max', ['user', 'super'], 'due');
258 $actual = $this->helper->getUserAcknowledgements('max', ['user', 'super'], 'current');
[all …]
/plugin/sentry/action/
Derrors.php57 $helper = plugin_load('helper', 'sentry');
58 $events = $helper->getPendingEventIDs();
67 $event = $helper->loadEvent($eid);
71 if ($helper->sendEvent($event)) {
72 $helper->deleteEvent($eid);
91 $helper = plugin_load('helper', 'sentry');
114 $helper->logEvent($event);
132 $helper = plugin_load('helper', 'sentry');
134 $helper->logEvent($event);
145 $helper = plugin_load('helper', 'sentry');
[all …]
/plugin/qc/
DOutput.php20 protected $helper; variable in dokuwiki\\plugin\\qc\\Output
28 $this->helper = plugin_load('helper', 'qc');
29 $this->data = $this->helper->getQCData($page);
79 $html .= '<h1>' . $this->helper->getLang('intro_h') . '</h1>';
83 $html .= '<dt>' . $this->helper->getLang('g_created') . '</dt>';
86 $html .= '<dt>' . $this->helper->getLang('g_modified') . '</dt>';
95 $html .= '<dt>' . $this->helper->getLang('g_authors') . '</dt>';
99 $html .= $this->helper->getLang('anonymous');
108 $html .= '<dt>' . $this->helper->getLang('g_changes') . '</dt>';
111 $html .= '<dt>' . $this->helper->getLang('g_chars') . '</dt>';
[all …]
/plugin/upgrade/
Dadmin.php17 protected $helper; variable in admin_plugin_upgrade
24 $this->helper = plugin_load('helper', 'upgrade');
25 $this->helper->setLogger($this);
153 $ok = $this->helper->cleanup();
161 $ok = $this->helper->checkVersions();
167 } elseif (!file_exists($this->helper->tgzfile)) {
168 if ($ok = $this->helper->downloadTarball()) $next = 'unpack';
169 } elseif (!is_dir($this->helper->tgzdir)) {
170 if ($ok = $this->helper->extractTarball()) $next = 'check';
172 if ($ok = $this->helper->checkPermissions()) $next = 'upgrade';
[all …]
Dcli.php18 protected $helper; variable in cli_plugin_upgrade
26 $this->helper = new helper_plugin_upgrade();
27 $this->helper->setLogger($this);
53 if (!$this->helper->checkVersions() && !$options->getOpt('ignoreversions')) {
56 $this->helper->downloadTarball() || $this->fatal('Upgrade aborted');
57 $this->helper->extractTarball() || $this->fatal('Upgrade aborted');
58 $this->helper->checkPermissions() || $this->fatal('Upgrade aborted');
60 $this->helper->copyFiles() || $this->fatal('Upgrade aborted');
61 $this->helper->deleteObsoleteFiles() || $this->fatal('Upgrade aborted');
63 $this->helper->cleanUp();
/plugin/aichat/
Dremote.php28 $helper = plugin_load('helper', 'aichat');
30 $helper->updateConfig(
35 if (!$helper->userMayAccess()) {
40 $helper->updateConfig(['preferUIlanguage' => 0]);
42 $helper->updateConfig(['preferUIlanguage' => 1]);
47 return $helper;
64 $helper = $this->initHelper($model, $lang);
65 $result = $helper->askQuestion($query);
90 $helper = $this->initHelper('', $lang);
91 $langlimit = $helper->getLanguageLimit();
[all …]
/plugin/statistics/_test/
DLoggerTest.php20 protected $helper; variable in dokuwiki\\plugin\\statistics\\test\\LoggerTest
31 $this->helper = plugin_load('helper', 'statistics');
53 $this->assertInstanceOf(Logger::class, $this->helper->getLogger());
183 $logger = $this->helper->getLogger();
190 …$refererRecord = $this->helper->getDB()->queryRecord('SELECT * FROM referers WHERE id = ?', [$refI…
206 $refId = $this->helper->getLogger()->logReferer($internalReferer);
210 …$count = $this->helper->getDB()->queryValue('SELECT COUNT(*) FROM referers WHERE url = ?', [$inter…
215 $refId2 = $this->helper->getLogger()->logReferer($internalReferer2);
227 $this->helper->getLogger()->logSearch($query, $words);
230 … $search = $this->helper->getDB()->queryRecord('SELECT * FROM search ORDER BY dt DESC LIMIT 1');
[all …]
/plugin/farmer/
H A Dremote.php9 protected $helper; variable in remote_plugin_farmer
18 $this->helper = plugin_load('helper', 'farmer');
30 return $this->helper->getConfig()['base']['farmhost'];
43 return $this->helper->getConfig()['base']['basedomain'];
55 return $this->helper->getAllAnimals();
67 foreach ($this->helper->getAllAnimals() as $animal) {
68 $animalUrls[] = $this->helper->getAnimalURL($animal);
82 $farmerConfig = $this->helper->getConfig();
83 foreach ($this->helper->getAllAnimals() as $index => $animal) {
85 $farmerConfig['animals'][$index]["url"] = $this->helper->getAnimalURL($animal);
/plugin/semantic/
Daction.php19 private $helper = null; variable in action_plugin_semantic
23 $this->helper = $this->loadHelper('semantic');
104 $this->helper->getMetadata($id);
105 $json_ld = $this->helper->getJsonLD();
125 "_data" => json_encode($this->helper->getWebSite(), JSON_PRETTY_PRINT),
142 $this->helper->getMetadata($ID);
143 $json_ld = $this->helper->getJsonLD();
169 $this->helper->getMetadata($ID);
171 if ($description = $this->helper->getDescription()) {
197 $this->helper->getMetadata($ID);
[all …]
/plugin/translation/
Daction.php20 protected $helper; variable in action_plugin_translation
27 $this->helper = plugin_load('helper', 'translation');
73 $locale = $this->helper->getLangPart($id ?? '');
82 $locale = $this->helper->getLangPart("$locale:foo");
138 if (!$this->helper->istranslatable($ID)) return;
139 $locale = $this->helper->getLangPart($ID ?? '');
166 $lc = $this->helper->getBrowserLang();
168 [$translatedStartpage, ] = $this->helper->buildTransID($lc, $conf['start']);
185 if (!$this->helper->istranslatable($ID)) return;
187 $translations = $this->helper->getAvailableTranslations($ID);
[all …]
/plugin/farmer/_test/
H A Dhelper.test.php57 $helper = plugin_load('helper', 'farmer');
58 $this->assertEquals($expect, $helper->validateAnimalName($input));
64 $helper = plugin_load('helper', 'farmer');
66 $this->assertTrue($helper->isInPath('/var/www/foo', '/var/www'));
67 $this->assertFalse($helper->isInPath('/var/www/../foo', '/var/www'));
70 $this->assertFalse($helper->isInPath('/var/www/foo', '/var/www/foo'));
71 $this->assertFalse($helper->isInPath('/var/www/foo/', '/var/www/foo'));
72 $this->assertFalse($helper->isInPath('/var/www/foo/bar/../', '/var/www/foo'));
75 $this->assertFalse($helper->isInPath('/var/lib/dokuwiki.animals', '/var/lib/dokuwiki'));
/plugin/bureaucracy-au/helper/
Dfieldsubmit.php37 $helper = null;
38 if(@is_dir(DOKU_PLUGIN.'captcha')) $helper = plugin_load('helper','captcha');
39 if(!is_null($helper) && $helper->isEnabled()){
40 $form->addElement($helper->getHTML());
70 $helper = null;
71 if(@is_dir(DOKU_PLUGIN.'captcha')) $helper = plugin_load('helper','captcha');
72 if(!is_null($helper) && $helper->isEnabled()){
73 return $helper->check();
/plugin/bureaucracy/helper/
Dfieldsubmit.php37 $helper = null;
38 if(@is_dir(DOKU_PLUGIN.'captcha')) $helper = plugin_load('helper','captcha');
39 if(!is_null($helper) && $helper->isEnabled()){
40 $form->addElement($helper->getHTML());
70 $helper = null;
71 if(@is_dir(DOKU_PLUGIN.'captcha')) $helper = plugin_load('helper','captcha');
72 if(!is_null($helper) && $helper->isEnabled()){
73 return $helper->check();
/plugin/bureaucracyau/helper/
Dfieldsubmit.php37 $helper = null;
38 if(@is_dir(DOKU_PLUGIN.'captcha')) $helper = plugin_load('helper','captcha');
39 if(!is_null($helper) && $helper->isEnabled()){
40 $form->addElement($helper->getHTML());
70 $helper = null;
71 if(@is_dir(DOKU_PLUGIN.'captcha')) $helper = plugin_load('helper','captcha');
72 if(!is_null($helper) && $helper->isEnabled()){
73 return $helper->check();
/plugin/letsencrypt/
Dcli.php13 protected $helper; variable in LetsEncrypt
20 $this->helper = plugin_load('helper', 'letsencrypt');
51 if(!$this->helper->getRoot()) $this->fatal('no webserver root directory set or detected');
52 if(!$this->helper->getCertDir()) $this->fatal('no certificate directory set');
53 if(!$this->helper->hasAccount()) $this->fatal('no letsencrypt account set up, yet');
57 $domains = $this->helper->getAllDomains();
66 if(!$quiet) $this->helper->setCliLogger($this);
67 $this->helper->updateCerts();
93 …$this->colors->ptln(sprintf("%-50s" . $this->helper->getLang('valid'), $domain, $expire), 'green');
95 … $this->colors->ptln(sprintf("%-50s" . $this->helper->getLang('invalid'), $domain), 'red');
[all …]
/plugin/parserfunctions/
Dsyntax.php19 private $helper; variable in syntax_plugin_parserfunctions
22 $this->helper = plugin_load('helper', 'parserfunctions');
87 return $this->helper->formatError('important', 'function_name', 'invalid_syntax');
93 $params = $this->helper->parseParameters($paramsText);
107 return $this->helper->formatError('important', $funcName, 'no_such_function');
204 $data = $this->helper->processEscapes($data);
226 $result = $this->helper->formatError('alert', $funcName, 'not_enough_params');
246 $result = $this->helper->formatError('alert', $funcName, 'not_enough_params');
278 return $this->helper->formatError('alert', $funcName, 'not_enough_params');
283 return $this->helper->formatError('alert', $funcName, 'empty_test_parameter');
[all …]

12345678910>>...24