/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Xml/Property/ |
H A D | PrincipalTest.php | 16 $this->assertNull($principal->getHref()); 20 $this->assertNull($principal->getHref()); 24 $this->assertEquals('admin/', $principal->getHref()); 47 $this->assertXmlStringEqualsXmlString(' 63 $this->assertXmlStringEqualsXmlString(' 79 $this->assertXmlStringEqualsXmlString(' 93 $principal = $this->parse($xml); 106 $principal = $this->parse($xml); 118 $principal = $this->parse($xml); 133 $this->parse($xml); [all …]
|
/plugin/farmsync/meta/ |
H A D | MediaConflict.php | 21 $this->source = $source; 34 …$form->attrs(array('data-animal' => $this->getAnimal(), "data-page" => $this->getItem(), "data-typ… 36 $sourcebase = $this->_farm_util->getAnimalLink($this->source); 38 …$sourcelink->attr('href', "$sourcebase/lib/exe/fetch.php?media=" . $this->getItem())->attr('target… 39 $form->addHTML($this->helper->getLang('link:srcversion')); 42 $animalbase = $this->_farm_util->getAnimalLink($this->getAnimal()); 44 …$animallink->attr('href', "$animalbase/lib/exe/fetch.php?media=" . $this->getItem())->attr('target… 45 $form->addHTML($this->helper->getLang('link:dstversion')); 48 $form->addButton("theirs", $this->helper->getLang('button:keep')); 49 $form->addButton("override", $this->helper->getLang('button:overwrite'));
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | dom.php4.inc.php | 7 $this->_element = $domelement; 8 $this->content = $domelement->get_content(); 12 $element = $this->_element->document_element(); 17 $child =& PHP4DOMTree::from_DOMDocument($this->_element->first_child()); 32 return $this->_element->get_attribute($name); 36 return $this->_element->get_content(); 40 return $this->_element->has_attribute($name); 44 $child =& PHP4DOMTree::from_DOMDocument($this->_element->last_child()); 54 return $this->_element->node_type(); 58 $parent =& PHP4DOMTree::from_DOMDocument($this->_element->parent()); [all …]
|
H A D | box.legend.php | 15 $this->GenericContainerBox(); 17 $this->_current_x = 0; 18 $this->_current_y = 0; 26 $this->put_left($parent->get_left_padding()); 27 $this->put_top($parent->get_top_padding()); 30 $this->put_full_width($this->get_max_width($context)); 33 $this->reflow_content($context); 36 $height = $this->get_full_height(); 37 $this->offset(units2pt(LEGEND_HORIZONTAL_OFFSET) + $this->get_extra_left(), 43 if ($parent->content[$i]->uid != $this->uid) { [all …]
|
/plugin/authorstats/ |
H A D | helper.php | 20 $this->basedir = $conf['cachedir'] . '/_authorstats'; 21 $this->summaryfile = $this->basedir . "/summary.json"; 27 if (!file_exists($this->basedir)) { 28 mkdir($this->basedir, 0755); 34 return file_exists($this->basedir) ? true : false; 40 $file = @file_get_contents($this->summaryfile); 48 $this->createDirIfMissing(); 50 file_put_contents($this->summaryfile, $json); 64 $this->createDirIfMissing(); 66 file_put_contents($this->basedir . "/" . $loginname . ".json", $json); [all …]
|
/plugin/oauthkeycloak/ |
H A D | Keycloak.php | 41 if (!isset($this->discovery)) { 45 $this->discovery = json_decode($json, true); 47 if (!isset($this->discovery[$endpoint])) return ''; 48 return $this->discovery[$endpoint]; 54 return new Uri($this->getEndpoint(self::ENDPOINT_AUTH)); 60 return new Uri($this->getEndpoint(self::ENDPOINT_TOKEN)); 77 $token = $this->getStorage()->retrieveAccessToken($this->service()); 85 'client_id' => $this->credentials->getConsumerId(), 86 'client_secret' => $this [all...] |
/plugin/elasticsearch/vendor/ruflin/elastica/src/ |
H A D | QueryBuilder.php | 32 $this->_version = $version ?? new Version\Latest(); 34 $this->addDSL(new DSL\Query()); 35 $this->addDSL(new DSL\Aggregation()); 36 $this->addDSL(new DSL\Suggest()); 37 $this->addDSL(new DSL\Collapse()); 47 if (false === isset($this->_facades[$dsl])) { 51 return $this->_facades[$dsl]; 59 $this->_facades[$dsl->getType()] = new Facade($dsl, $this->_version); 73 return $this [all...] |
/plugin/issuelinks/services/ |
H A D | GitHub.service.php | 102 $this->user = $user; 194 return $this->makeHTTPRequest($this->dokuHTTPClient, $url, $requestHeaders, $data, $method); 202 $message .= $this->configError; 437 if ($this->orgs === null) { 440 $this->orgs = $this->makeGitHubGETRequest($endpoint); 442 $this->orgs = []; 449 }, $this->orgs); 454 return $this->user['login']; 540 if (empty($this->total)) { 541 $this->total = $this->estimateTotal($perPage, count($issues)); [all …]
|
H A D | GitLab.service.php | 33 $this->token = $authToken; 79 if (null === $this->gitlabUrl) { 84 if (empty($this->token)) { 95 $this->user = $user; 135 return $this->makeHTTPRequest($this->dokuHTTPClient, $url, $requestHeaders, $data, $method); 152 $message .= $this->configError; 180 $name = $this->user['name']; 181 $url = $this->user['web_url']; 422 $this->total = $this->estimateTotal($perPage, count($issues)); 425 $this->total += $this->estimateTotal($perPage, count($mrs)); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/ |
H A D | ShareableCalendarTest.php | 18 $this->backend = new Backend\MockSharing( 21 $this->backend->updateShares(1, array( 29 $this->instance = new ShareableCalendar($this->backend, $props); 35 $this->instance->updateShares(array( 44 $this->assertEquals(array(array( 50 )), $this->instance->getShares()); 56 $this->assertNull($this->instance->setPublishStatus(true)); 57 $this->assertNull($this->instance->setPublishStatus(false));
|
/plugin/findologicxmlexport/vendor/sebastian/environment/src/ |
H A D | Runtime.php | 31 return $this->hasXdebug() || $this->hasPHPDBGCodeCoverage(); 43 if (self::$binary === null && $this->isHHVM()) { 103 return $this->getName() . ' ' . $this->getVersion(); 111 if ($this->isHHVM()) { 113 } elseif ($this->isPHPDBG()) { 125 if ($this->isHHVM()) { 137 if ($this->isHHVM()) { 151 return ($this->isPHP() || $this->isHHVM()) && extension_loaded('xdebug'); 171 return !$this->isHHVM() && !$this->isPHPDBG(); 181 return PHP_SAPI === 'phpdbg' && !$this->isHHVM(); [all …]
|
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Type/ |
H A D | AbstractTimeType.php | 8 * file that was distributed with this source code. 91 $this->setDateTimeFormat($dateFormat); 92 $this->setTimeZoneFormat($tzFormat); 98 * @return $this 102 $this->value = $dateTime; 104 return $this; 112 return $this->value; 120 return $this->tzFormat; 125 * @return $this 129 if (!in_array($tzFormat, $this [all...] |
/plugin/explorertree/ |
H A D | helper.php | 28 if ($this->memcache === false){ 32 return $this->memcahce; 76 $this->routes[$name] = array_replace_recursive ($this->options,$options); 79 if (!$name) return $this->options; 84 if (!$name) return $this->options; 90 return @$this->routes[$name]; 107 if (!($this->cache() && is_array($data = $this->cache()->get('explorertree_cache_'.$dir)))){ 117 if ($this->cache()) { 143 array($this,'_html_li_tree') 160 $opts = $this->loadRoute($name); [all …]
|
/plugin/clipboardutils/ |
H A D | syntax.php | 29 if (!is_array($this->c)) { 30 $this->c =array( 42 $this->assertInit(); 110 $str .=$this->debugArrayString($data); 122 $this->assertInit(); 124 else $icon =$this->getConf('icon'); 127 return $this->c['url_icons'] . $icon; 185 …$str .=$this->GetStringFromData($renderer,$data,'t') . ' ' . $this->GetStringFromData($renderer,$d… 189 …$str .=$this->GetStringFromData($renderer,$data,'i') . ' ' . $this->GetStringFromData($renderer,$d… 193 …$str .=$this->GetStringFromData($renderer,$data,'c') . ' ' . $this->GetStringFromData($renderer,$d… [all …]
|
/plugin/condition/ |
H A D | syntax.php | 58 $this->_loadtester(); 60 $this->allowedtests = $this->tester->getops(); 61 $this->allowedkeys = $this->tester->getkeys(); 73 $b = $this->_fetch_block($match, 0); 125 if(preg_match('`^'.$this->_preg_build_alternative($this->allowedkeys).'$`', $r[1])) { 184 $ops = $this->allowedoperators; 214 $this->_loadtester(); 248 $this->_loadtester(); 322 if(!$this->tester) { 332 $this->tester = null; [all …]
|
/plugin/webdav/vendor/sabre/xml/lib/ |
H A D | ContextStackTrait.php | 98 $this->contextStack[] = [ 99 $this->elementMap, 100 $this->contextUri, 101 $this->namespaceMap, 102 $this->classMap 115 $this->elementMap, 116 $this->contextUri, 117 $this->namespaceMap, 118 $this->classMap 119 ) = array_pop($this->contextStack);
|
/plugin/icalevents/vendor/sabre/xml/lib/ |
H A D | ContextStackTrait.php | 98 $this->contextStack[] = [ 99 $this->elementMap, 100 $this->contextUri, 101 $this->namespaceMap, 102 $this->classMap 115 $this->elementMap, 116 $this->contextUri, 117 $this->namespaceMap, 118 $this->classMap 119 ) = array_pop($this->contextStack);
|
/plugin/combo/ComboStrap/ |
H A D | Bootstrap.php | 6 * COPYING file in the root directory of this source tree. 39 $this->version = $bootstrapStyleSheetArray[0]; 43 switch ($this->version) { 45 $this->version = self::DEFAULT_BOOTSTRAP_4_VERSION; 48 $this->version = self::DEFAULT_BOOTSTRAP_5_VERSION; 56 $this->styleSheetName = $bootstrapStyleSheetArray[1]; 58 $this->styleSheetName = self::DEFAULT_STYLESHEET_NAME; 61 $this->build(); 102 $bootstrapMajorVersion = $this->getVersion()[0]; 114 * because this i [all...] |
/plugin/dwcommits/ |
H A D | syntax.php | 26 $this->helper =& plugin_load('helper', 'dwcommits'); 120 $this->output = ""; 170 $this->db = $this->helper->_getDB(); 172 list($arr,$q) = $this->helper->select_all($result); 174 $this->output = "<b>Query: $q</b><br />"; 175 $this->output .= $this->helper->format_result_table($arr,$result); 187 $this->output = ""; 195 $this->output .= "<b>Database File:</b> $entry\n"; 197 $this->output .= "<b>Remote URL:</b> $url\n"; 205 else $this->output .= "<b>Local Git:</b> $git\n"; [all …]
|
/plugin/loadskin/ |
H A D | admin.php | 21 $this->setupLocale(); 22 $this->config = DOKU_CONF.'loadskin.conf'; 44 if(@file_exists($this->config)) { 47 io_saveFile($this->config, serialize($data)); 50 io_saveFile($this->config, serialize($data)); 55 $data = unserialize(io_readFile($this->config, false)); 57 io_saveFile($this->config, serialize($data)); 67 $helper = $this->loadHelper('loadskin', true); 70 print $this->locale_xhtml('intro'); 88 if(@file_exists($this->config)) { [all …]
|
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/ |
H A D | ScssphpFilter.php | 38 $this->compass = (Boolean) $enable; 43 return $this->compass; 61 $this->formatter = $formatter; 66 $this->variables = $variables; 71 $this->variables[] = $variable; 76 $this->importPaths = $paths; 81 $this->importPaths[] = $path; 93 if ($this->compass) { 101 foreach ($this->importPaths as $path) { 109 if ($this->formatter) { [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/ |
H A D | FunctionTest.php | 27 $this->assertEquals($name, $node->getAttribute('name')); 28 $this->assertEquals($args, $node->getNode('arguments')); 42 $node = $this->createFunction('foo'); 48 $node = $this->createFunction('bar'); 51 $node = $this->createFunction('bar', [new ConstantExpression('bar', 1)]); 54 $node = $this->createFunction('foofoo'); 57 $node = $this->createFunction('foofoo', [new ConstantExpression('bar', 1)]); 60 $node = $this->createFunction('foobar'); 67 $node = $this->createFunction('date', [ 74 $node = $this->createFunction('barbar'); [all …]
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/ |
H A D | MatchQuery.php | 29 $this->setParam($field, $values); 38 * @return $this 42 return $this->setParam($field, $values); 50 * @return $this 54 if (!isset($this->_params[$field])) { 55 $this->_params[$field] = []; 58 $this->_params[$field][$key] = $value; 60 return $this; 66 * @return $this 70 return $this [all...] |
/plugin/farmer/admin/ |
H A D | plugins.php | 22 $this->helper = plugin_load('helper', 'farmer'); 40 $animals = $this->helper->getAllAnimals(); 43 $this->helper->setPluginState($plugin, $animal, $INPUT->int('state')); 45 msg($this->getLang('plugindone'), 1); 53 $this->helper->setPluginState($plugin, $animal, $state); 55 msg($this->getLang('plugindone'), 1); 64 echo $this->locale_xhtml('plugins'); 67 $switchForm->addFieldsetOpen($this->getLang('bulkSingleSwitcher')); 68 $switchForm->addRadioButton('bulkSingleSwitch', $this->getLang('bulkEdit')) 71 $switchForm->addRadioButton('bulkSingleSwitch', $this [all...] |
H A D | setup.php | 35 $this->helper = plugin_load('helper', 'farmer'); 43 $errors[] = $this->getLang('farmdir_missing'); 44 } elseif ($this->helper->isInPath($farmdir, DOKU_INC) !== false) { 45 $errors[] = sprintf($this->getLang('farmdir_in_dokuwiki'), hsc($farmdir), hsc(DOKU_INC)); 47 $errors[] = sprintf($this->getLang('farmdir_uncreatable'), hsc($farmdir)); 49 $errors[] = sprintf($this->getLang('farmdir_unwritable'), hsc($farmdir)); 51 $errors[] = sprintf($this->getLang('farmdir_notEmpty'), hsc($farmdir)); 62 $ok = $this->createPreloadPHP(); 63 if ($ok && $INPUT->bool('htaccess')) $ok &= $this->createHtaccess(); 64 if ($ok) $ok &= $this [all...] |