/plugin/dirtylittlehelper/syntax/ |
H A D | sidebar.php | 66 …$this->Lexer->addSpecialPattern('\<dlh\.togglesb\>',$mode,'plugin_dirtylittlehelper_'.$this->getPl… 67 …$this->Lexer->addSpecialPattern('\<dlh\.nosb\>',$mode,'plugin_dirtylittlehelper_'.$this->getPlugin… 68 …$this->Lexer->addSpecialPattern('\<dlh\.hidesb\>',$mode,'plugin_dirtylittlehelper_'.$this->getPlug… 94 $this->force_nosb = true; 125 if( $this->force_nosb == false){ 126 $renderer->doc .= $this->togglesb_html; 132 $renderer->doc .= $this->hidesb_html; 136 $renderer->doc .= $this->nosb_html;
|
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/ |
H A D | SendGridHandler.php | 67 $this->apiUser = $apiUser; 68 $this->apiKey = $apiKey; 69 $this->from = $from; 70 $this->to = (array) $to; 71 $this->subject = $subject; 80 $message['api_user'] = $this->apiUser; 81 $message['api_key'] = $this->apiKey; 82 $message['from'] = $this->from; 83 foreach ($this->to as $recipient) { 86 $message['subject'] = $this->subject; [all …]
|
H A D | RollbarHandler.php | 68 $this->rollbarLogger = $rollbarLogger; 78 if (!$this->initialized) { 80 register_shutdown_function(array($this, 'close')); 81 $this->initialized = true; 86 'level' => $this->levelMap[$record['level']], 103 $this->hasRecords = true; 108 if ($this->hasRecords) { 109 $this->rollbarLogger->flush(); 110 $this->hasRecords = false; 119 $this->flush(); [all …]
|
H A D | ElasticsearchHandler.php | 63 $this->client = $client; 64 $this->options = array_merge( 79 $this->bulkSend([$record['formatted']]); 101 return $this->options; 109 return new ElasticsearchFormatter($this->options['index'], $this->options['type']); 117 $documents = $this->getFormatter()->formatBatch($records); 118 $this->bulkSend($documents); 146 $responses = $this->client->bulk($params); 149 throw $this->createExceptionFromResponses($responses); 152 if (! $this->options['ignore_error']) { [all …]
|
/plugin/pot/source/ |
H A D | text.php | 13 $potid = $this->cargo['pot']; 21 $thepotid = $this->cargo[$searchpotid]['output']['result']; 23 $completeformula .= $this->cargo[$searchpotid]['output']['formula']; 26 $this->cargo[$potid]['output']['error'] = " error:"; 31 foreach ($this->cargo as $key => $value) { 42 preg_match('/^(.\*?)(\d\*?)$/', $this->cargo['pot'], $potidarr); //fetch potid of this potid 45 foreach ($this->cargo as $key => $value) { 67 $this->cargo[$potid]['output']['result'] = $complete; // set the var to use it global 68 $this->cargo[$potid]['output']['formula'] = $complete; 69 $this->cargo[$potid]['output']['type'] = 'text'; [all …]
|
H A D | calculate.php | 16 $potid = $this->cargo['pot']; 24 $thepotid = $this->cargo[$searchpotid]['output']['result']; 26 $completeformula .= "( ".$this->cargo[$searchpotid]['output']['formula']." )"; 29 $this->cargo[$potid]['output']['error'] = " error:"; 36 foreach ($this->cargo as $key => $value) { 48 preg_match('/^(.\*?)(\d\*?)$/', $this->cargo['pot'], $potidarr); //fetch potid of this potid 51 foreach ($this->cargo as $key => $value) { 71 $mdec = $this->cargo[$potid]['settings']['decimals']; 76 $this->cargo[$potid]['output']['formula'] = $calculated['formula']; 77 $this->cargo[$potid]['output']['type'] = $calculated['type']; [all …]
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Suggest/ |
H A D | Term.php | 20 * @return $this 24 return $this->setParam('analyzer', $analyzer); 30 * @return $this 34 return $this->setParam('sort', $sort); 40 * @return $this 44 return $this->setParam('suggest_mode', $mode); 50 * @return $this 54 return $this->setParam('lowercase_terms', $lowercase); 62 * @return $this 66 return $this [all...] |
/plugin/farmer/admin/ |
H A D | delete.php | 25 $this->helper = plugin_load('helper', 'farmer'); 42 msg($this->getLang('delete_noanimal'), -1); 47 msg($this->getLang('delete_mismatch'), -1); 53 if (!$this->helper->isInPath($animaldir, DOKU_FARMDIR) || !is_dir($animaldir)) { 54 msg($this->getLang('delete_invalid'), -1); 61 msg($this->getLang('delete_success'), 1); 63 msg($this->getLang('delete_fail'), -1); 75 $form->addFieldsetOpen($this->getLang('delete_animal')); 77 $animals = $this->helper->getAllAnimals(); 80 $form->addTextInput('confirm', $this [all...] |
/plugin/findologicxmlexport/ |
H A D | DokuwikiXMLExport.php | 73 $this->conf = $conf; 74 $this->pages = $this->getPageIds(); 94 …$excludedPages = $this->splitConfigToArray($this->conf['plugin']['findologicxmlexport']['excludePa… 122 $total = count($this->pages); 125 $this->pages = array_slice($this->pages, $start, $count); 128 foreach ($this->pages as $key => $page) { 130 $this->fillDataToItem($page, $item); 267 $item->addName($this->getName($page)); 269 $item->addSummary($this->getSummary($page)); 275 $item->addUrl($this->getUrl($page)); [all …]
|
/plugin/ckgedit/ |
H A D | helper.php | 29 $str = $this->getConf($val); 114 $open_upload = $this->getConf('open_upload'); 115 $editor_backup = $this->getConf('editor_bak'); 118 $scayt_lang = $this->getConf('scayt_lang'); 121 $scayt_auto = $this->getConf('scayt_auto'); 122 $color_opts = $this->getConf('color_options'); 123 $font_opts = $this->getConf('font_options'); 124 $toolbar_opts = $this->getConf('alt_toolbar'); 125 $mfiles = $this->getConf('mfiles'); 127 $ckg_gui = $this->getConf('gui'); [all …]
|
/plugin/sql/ |
H A D | syntax.php | 85 $this->wikitext_enabled = TRUE; 86 $this->display_inline = FALSE; 87 $this->vertical_position = FALSE; 103 $this->wikitext_enabled = FALSE; 105 $this->wikitext_enabled = TRUE; 108 $this->display_inline = TRUE; 110 $this->display_inline = FALSE; 113 $this->vertical_position = TRUE; 115 $this->vertical_position = FALSE; 125 array_push($this->databases, $db); [all …]
|
/plugin/redirector/ |
H A D | action.php | 19 $controller->register_hook('ACTION_HEADERS_SEND', 'BEFORE', $this, '_redirector'); 28 if ( file_exists(tpl_incdir() . $this->redirectFileName) ) { 30 $this->redirectFileName = tpl_incdir() . $this->redirectFileName; 31 } else if ( file_exists(DOKU_INC . 'conf/' . $this->redirectFileName) ) { 33 $this->redirectFileName = DOKU_INC . 'conf/' . $this->redirectFileName; 34 } else if ( file_exists(dirname(__FILE__) . '/' . $this->redirectFileName) ) { 36 $this->redirectFileName = dirname(__FILE__) . '/' . $this->redirectFileName; 42 $redirectURLs = confToHash($this->redirectFileName); 54 …if ( $this->getConf('doLog') && !empty($_SERVER['HTTP_REFERER']) && !preg_match('/(?i)bot/', $_SER…
|
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/ |
H A D | DocumentTest.php | 10 $this->assertEquals(Document::UNKNOWN, $doc->getDocumentType()); 17 $this->assertEquals('VLIST', $doc->name); 27 $this->assertInstanceOf('Sabre\VObject\Component\VEvent', $event); 31 $this->assertInstanceOf('Sabre\VObject\Property', $prop); 50 $this->assertInstanceOf('Sabre\VObject\Component\VEvent', $event); 53 $this->assertInstanceOf('Sabre\VObject\Property\Text', $prop); 60 …$this->assertEquals('Sabre\\VObject\\Property\\Text', $vcal->getClassNameForPropertyValue('TEXT')); 61 $this->assertNull($vcal->getClassNameForPropertyValue('FOO')); 70 $this->assertInstanceOf('Sabre\VObject\Component\VEvent', $event); 77 $this->assertEquals($event, $prop->parent); [all …]
|
/plugin/projects/pchart/pchart/ |
H A D | pcache.php | 43 $this->CacheFolder = $CacheFolder; 49 if ($handle = opendir($this->CacheFolder)) 54 unlink($this->CacheFolder.$file); 64 $Hash = $this->GetHash($ID,$Data); 75 $Hash = $this->GetHash($ID,$Data); 76 $FileName = $this->CacheFolder.$Hash; 84 $Hash = $this->GetHash($ID,$Data); 85 $FileName = $this->CacheFolder.$Hash; 94 $Hash = $this->GetHash($ID,$Data); 95 if ( $this->IsInCache("","",$Hash ) ) [all …]
|
/plugin/googlesearch/ |
H A D | action.php | 106 echo $this->locale_xhtml('noresult'); 112 $info = $this->getLang('resultinfo'); 114 $info = $this->getLang('estimateinfo'); 121 echo $this->locale_xhtml('result'); 127 echo $this->external_link($hit['URL'],$hit['title'], 140 $prev = $ret['startIndex'] - $this->getConf('maxresults') - 1; 143 … echo $this->external_link(wl('',array('do'=>'googlesearch','id'=>$q,'start'=>$prev),'false','&'), 144 … $this->getLang('prev'),'wikilink1 gs_prev',$conf['target']['intern']); 148 if($ret['endIndex'] < $ret['estimatedTotalResultsCount'] - $this->getConf('maxresults')){ 149 $next = $ret['endIndex'] + $this->getConf('maxresults'); [all …]
|
/plugin/charter/lib/pchart/ |
H A D | pCache.class.php | 43 $this->CacheFolder = $CacheFolder; 49 if ($handle = opendir($this->CacheFolder)) 54 unlink($this->CacheFolder.$file); 64 $Hash = $this->GetHash($ID,$Data); 75 $Hash = $this->GetHash($ID,$Data); 76 $FileName = $this->CacheFolder.$Hash; 84 $Hash = $this->GetHash($ID,$Data); 85 $FileName = $this->CacheFolder.$Hash; 94 $Hash = $this->GetHash($ID,$Data); 95 if ( $this->IsInCache("","",$Hash ) ) [all …]
|
/plugin/const/_test/ |
H A D | fix_section.test.php | 9 $this->pluginsEnabled[] = 'const'; 10 $this->pluginsEnabled[] = 'include'; 11 $this->_createPages(); 23 $this->assertEquals('57-87', $first_sec); 24 $this->assertEquals('88-118', $second_sec); 25 $this->assertEquals('119-', $third_sec); 41 $this->assertEquals('71-101', $section[0]); 42 $this->assertEquals('57-87', $section[1]); 43 $this->assertEquals('88-118', $section[2]); 44 $this->assertEquals('119-', $section[3]); [all …]
|
/plugin/combo/vendor/symfony/polyfill-php80/ |
H A D | PhpToken.php | 9 * file that was distributed with this source code. 43 $this->id = $id; 44 $this->text = $text; 45 $this->line = $line; 46 $this->pos = $position; 51 if ('UNKNOWN' === $name = token_name($this->id)) { 52 $name = \strlen($this->text) > 1 || \ord($this->text) < 32 ? null : $this->text; 64 if (\in_array($value, [$this [all...] |
/plugin/struct/meta/ |
H A D | AccessDataValidator.php | 26 $this->access = $access; 27 $this->data = $data; 72 foreach ($this->access->getSchema()->getColumns() as $col) { 74 $result = $result && $this->validateValue($col, $this->data[$label]); 86 $olddata = $this->access->getDataArray(); 87 return ($olddata != $this->data); 95 return $this->access; 105 return $this->data; 118 $this [all...] |
/plugin/html2pdf/html2pdf/html2ps/unittest/ |
H A D | test.width.absolute.positioned.php | 15 $this->assertWithinMargin($element->get_width(), 20 $this->assertWithinMargin($element->get_width(), 25 $this->assertEqual($element->get_width(), 29 $this->assertEqual($element->get_width(), 33 $this->assertEqual($element->get_width(), 37 $this->assertEqual($element->get_width(), 41 $this->assertEqual($element->get_width(), 50 $this->assertEqual($element->get_width(), 55 $this->assertEqual($element->get_width(), 60 $this->assertEqual($element->get_width(), [all …]
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Generator/ |
H A D | class_with_method_named_method.phpt | 35 $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); 51 $result = $this->__phpunit_getInvocationMocker()->invoke( 53 'Foo', 'method', $arguments, '', $this, true 62 return $this->__phpunit_getInvocationMocker()->expects($matcher); 67 $this->__phpunit_originalObject = $originalObject; 72 if ($this->__phpunit_invocationMocker === null) { 73 …$this->__phpunit_invocationMocker = new PHPUnit_Framework_MockObject_InvocationMocker($this->__php… 76 return $this->__phpunit_invocationMocker; 81 return $this->__phpunit_getInvocationMocker()->hasMatchers(); 86 $this->__phpunit_getInvocationMocker()->verify(); [all …]
|
/plugin/partialsearch/ |
H A D | action.php | 17 … $controller->register_hook('SEARCH_QUERY_FULLPAGE', 'BEFORE', $this, 'partial_search_before'); 18 $controller->register_hook('SEARCH_QUERY_FULLPAGE', 'AFTER', $this, 'partial_search_after'); 19 $controller->register_hook('SEARCH_QUERY_PAGELOOKUP', 'BEFORE', $this, 'pagelookup_before'); 20 … $controller->register_hook('FULLTEXT_SNIPPET_CREATE', 'AFTER', $this, 'snippet_create_after'); 26 if ($this->getConf('enablepartialsearch')) { 27 $this->_partial_search($event, $args, WILDCARD); 34 if ($this->getConf('enablepartialsearch')) { 35 $this->_partial_search($event, $args, ''); 38 if ($this->getConf('enablesearchlookupsnippet')) { 64 if ($this->getConf('enablesearchlookupsnippet') && $event->canPreventDefault){ [all …]
|
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/ |
H A D | SprocketsFilter.php | 44 $this->sprocketsLib = $sprocketsLib; 45 $this->rubyBin = $rubyBin; 46 $this->includeDirs = array(); 51 $this->includeDirs[] = $directory; 56 $this->assetRoot = $assetRoot; 81 foreach ($this->includeDirs as $directory) { 85 if (null !== $this->assetRoot) { 98 $this->sprocketsLib 101 $this->getHack($asset), 106 $pb = $this->createProcessBuilder(array( [all …]
|
/plugin/amazon/ |
H A D | XMLParser.php | 26 $this->collapse_dups = $collapse_dups; 27 $this->index_numeric = $index_numeric; 28 $this->data = ''; 30 $this->data = $data_source; 34 $this->data .= fread($data_source, 1000); 38 $this->data = implode('', file($data_source)); 44 $this->data .= fread($fp, 1000); 54 xml_parse_into_struct($parser, $this->data, $vals, $index); 58 return $this->getchildren($vals, $i); 104 if ($this->index_numeric) { [all …]
|
/plugin/davcal/vendor/sabre/http/tests/HTTP/ |
H A D | RequestTest.php | 12 $this->assertEquals('GET', $request->getMethod()); 13 $this->assertEquals('/foo', $request->getUrl()); 14 $this->assertEquals([ 23 $this->assertEquals([ 46 $this->assertEquals('PUT', $request->getMethod()); 80 $this->assertEquals($post, $r->getPostData()); 90 $this->assertEquals('bar', $request->getPath()); 100 $this->assertEquals('bar', $request->getPath()); 110 $this->assertEquals('', $request->getPath()); 138 $this->assertEquals($expected, (string)$request); [all …]
|