/plugin/commonmark/vendor/league/commonmark/src/Util/ |
H A D | Configuration.php |
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/ |
H A D | MoreLikeThis.php | 21 * @return $this 25 return $this->setParam('fields', $fields); 33 * @return $this 37 return $this->setParam('like', $like); 45 * @return $this 49 return $this->setParam('boost', $boost); 57 * @return $this 61 return $this->setParam('max_query_terms', $maxQueryTerms); 67 * @return $this 71 return $this [all...] |
/plugin/elasticsearch/vendor/patrickschur/language-detection/src/LanguageDetection/ |
H A D | NgramParser.php | 46 if ($minLength <= 0 || $minLength >= $this->maxLength) 48 throw new \LengthException('$minLength must be greater than zero and less than $this->maxLength.'); 51 $this->minLength = $minLength; 60 if ($maxLength <= $this->minLength) 62 throw new \LengthException('$maxLength must be greater than $this->minLength.'); 65 $this->maxLength = $maxLength; 79 $this->maxNgrams = $maxNgrams; 89 $this->tokenizer = $tokenizer; 98 if (null === $this->tokenizer) 100 $this [all...] |
/plugin/findologicxmlexport/vendor/jms/serializer/src/Handler/ |
H A D | DateHandler.php | 65 $this->defaultFormat = $defaultFormat; 67 $this->xmlCData = $xmlCData; 83 $format = $this->getFormat($type); 146 if ($this->isDataXmlNull($data)) { 150 return $this->parseDateTime($data, $type); 159 if ($this->isDataXmlNull($data)) { 163 return $this->parseDateTime($data, $type, true); 172 if ($this->isDataXmlNull($data)) { 189 return $this->parseDateTime($data, $type); 215 return $this->parseDateInterval($data); [all …]
|
/plugin/issuelinks/action/ |
H A D | ajax.php | 21 $this->util = plugin_load('helper', 'issuelinks_util'); 57 $this->util->sendResponse(401, 'Not logged in!'); 63 $this->util->sendResponse(403, 'Must be Admin'); 102 $this->util->sendResponse(401, 'Not logged in!'); 108 $this->util->sendResponse(403, 'Must be Admin'); 119 $this->util->sendResponse(200, $html); 156 …$hookTitle = $repo->error === 403 ? $this->getLang('title:forbidden') : $this->getLang('title:issu… 187 $this->util->sendResponse(403, 'Must be Admin'); 202 $this->util->sendResponse(202, 'Importing issues...'); 232 $this->util->sendResponse(401, 'Not logged in!'); [all …]
|
/plugin/openid/Auth/OpenID/ |
H A D | BigMath.php | 47 $cmp = $this->cmp($long, 0); 60 while ($this->cmp($long, 0) > 0) { 96 $n = $this->init(0); 105 $n = $this->mul($n, pow(2, 8)); 106 $n = $this->add($n, $byte); 120 return $this->binaryToLong($b64); 143 $rbytes = $this->longToBinary($stop); 173 return $this->mod($n, $stop); 292 if ($this->mod($exponent, 2)) { 293 $result = $this->mod($this->mul($result, $square), $modulus); [all …]
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/ |
H A D | TBody.php | 10 $this->mpdf->tablethead = 0; 11 $this->mpdf->tabletfoot = 0; 12 $this->mpdf->lastoptionaltag = 'TBODY'; // Save current HTML specified optional endtag 13 $this->cssManager->tbCSSlvl++; 14 $this->cssManager->MergeCSS('TABLE', 'TBODY', $attr); 19 $this->mpdf->lastoptionaltag = ''; 20 unset($this->cssManager->tablecascadeCSS[$this->cssManager->tbCSSlvl]); 21 $this->cssManager->tbCSSlvl--;
|
/plugin/mdpage/vendor/cebe/markdown/tests/ |
H A D | GithubMarkdownTest.php | 35 $markdown = $this->createMarkdown(); 36 …$this->assertEquals("This is text<br />\nnewline\nnewline.", $markdown->parseParagraph("This is te… 38 …$this->assertEquals("This is text<br />\nnewline<br />\nnewline.", $markdown->parseParagraph("This… 40 …$this->assertEquals("<p>This is text</p>\n<p>newline<br />\nnewline.</p>\n", $markdown->parse("Thi… 60 $parser = $this->createMarkdown(); 62 $this->assertEquals("0", $parser->parseParagraph("0")); 63 $this->assertEquals("<p>0</p>\n", $parser->parse("0")); 68 $parser = $this->createMarkdown(); 75 …$this->assertStringEndsWith(">{$utfNaturalUrl}</a>", $parser->parseParagraph($utfNaturalUrl), "Nat… 76 …$this->assertStringEndsWith(">{$utfNaturalUrl}</a>", $parser->parseParagraph($utfEncodedUrl), "Enc… [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/ |
H A D | TemplateWrapperTest.php | 28 $this->assertTrue($wrapper->hasBlock('foo')); 29 $this->assertFalse($wrapper->hasBlock('bar')); 30 $this->assertEquals(['foo'], $wrapper->getBlockNames()); 33 $this->assertTrue($wrapper->hasBlock('foo')); 34 $this->assertTrue($wrapper->hasBlock('imported')); 35 $this->assertEquals(['imported', 'foo'], $wrapper->getBlockNames()); 38 $this->assertTrue($wrapper->hasBlock('foo')); 39 $this->assertTrue($wrapper->hasBlock('extended')); 40 $this->assertEquals(['foo', 'extended'], $wrapper->getBlockNames()); 51 $this->assertEquals('FOOBAR', $wrapper->renderBlock('foo', ['foo' => 'FOO'])); [all …]
|
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/ |
H A D | PsrHandler.php | 48 $this->logger = $logger; 56 if (!$this->isHandling($record)) { 60 if ($this->formatter) { 61 $formatted = $this->formatter->format($record); 62 … $this->logger->log(strtolower($record['level_name']), (string) $formatted, $record['context']); 64 … $this->logger->log(strtolower($record['level_name']), $record['message'], $record['context']); 67 return false === $this->bubble; 77 $this->formatter = $formatter; 79 return $this; 89 if (!$this->formatter) { [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/ |
H A D | HttpHeadTest.php | 24 $this->tree = new Mock\Collection('root', [ 35 $response = $this->request($request); 37 $this->assertEquals(200, $response->getStatus()); 42 $this->assertEquals( 52 $this->assertEquals('', $response->getBodyAsString()); 64 $response = $this->request($request); 66 $this->assertEquals(200, $response->getStatus()); 83 $this->server->addPlugin( 89 $response = $this->request($request); 91 $this->assertEquals(200, $response->getStatus()); [all …]
|
/plugin/blogtng/exe/ |
H A D | trackback.php | 30 $this->tools = plugin_load('helper', 'blogtng_linkback'); 31 $this->_process(); 43 if (is_null($this->tools) || !$this->tools->linkbackAllowed()) { 44 $this->_printTrackbackError('Trackbacks disabled.'); 50 $this->_printTrackbackError('Trackback was not received via HTTP POST.'); 56 $this->_printTrackbackError('Given trackback URL is not an URL.'); 64 $this->_printTrackbackError('Linked page cannot be reached'); 68 if (!$this->tools->saveLinkback('trackback', strip_tags($INPUT->post->str('title')), 70 $this->_printTrackbackError('Trackback already received.'); 73 $this->_printTrackbackSuccess();
|
/plugin/randomtables/table-roller/src/Generator/ |
H A D | BaseGenerator.php | 25 $this->tables = $tables; 33 $this->template = $template; 46 $table = $this->tables->load($tableName); 49 if (!empty($fn) && in_array($fn, $this->allowedFunctions)) { 58 if (method_exists($this, 'getTemplate')) { 59 $template = $this->getTemplate(); 60 } elseif (!empty($this->template)) { 61 $template = $this->template; 68 return preg_replace_callback('/\[([^]]+)\]/', [$this, 'doReplacements'], $template); 73 return $this [all...] |
/plugin/fullindex/ |
H A D | action.php | 22 $this->setupLocale(); 170 $num = $this->_getMetaTag($id, 'identifier'); 195 if(count($this->sortIndex) + 1 == $lvl) { 199 $this->_removeFromSortIndex($lvl); 204 array_pop($this->sortIndex); 209 if(count($this->sortIndex) + 1 > $lvl) { 210 $this->_removeFromSortIndex($lvl); 230 return implode("",$this->sortIndex).$sortIdx; 245 $this->sortIndex[] = $newIndex; 252 $diff = count($this->sortIndex) + 1 - $lvl; [all …]
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/ |
H A D | JsonDeserializationVisitor.php | 41 $this->options = $options; 42 $this->depth = $depth; 116 … $result[$this->navigator->accept($k, $keyType)] = $this->navigator->accept($v, $entryType); 147 $this->setCurrentObject($object); 192 $obj = $this->currentObject; 193 $this->revertCurrentObject(); 208 $this->objectStack->push($this->currentObject); 209 $this->currentObject = $object; 214 return $this->currentObject; 219 return $this->currentObject = $this->objectStack->pop(); [all …]
|
/plugin/findologicxmlexport/vendor/hoa/exception/Test/Unit/ |
H A D | Idle.php | 54 $this 63 $this 80 $this 93 $this 103 $this 113 $this 126 $this 140 $this 150 $this 163 $this [all …]
|
/plugin/findologicxmlexport/vendor/hoa/regex/Visitor/ |
H A D | Isotropic.php | 70 $this->_sampler = $sampler; 98 return $element->getChild($this->_sampler->getInteger( 101 ))->accept($this, $handle, $eldnah); 107 $out .= $child->accept($this, $handle, $eldnah); 156 $i = 0, $max = $this->_sampler->getInteger($x, $y); 161 $this, 174 $child->accept($this, $handle, $eldnah) 180 $i = $this->_sampler->getInteger(32, 126); 192 $this->_sampler->getInteger( 261 return $this->_sampler->getInteger(0, 127); [all …]
|
/plugin/publish/action/ |
H A D | mail.php | 23 $this->hlp = plugin_load('helper','publish'); 54 if (!$this->hlp->isActive($ID)) { 59 if ($this->getConf('apr_mail_receiver') === '') { 64 $receiver = $this->getConf('apr_mail_receiver'); 85 $body = $this->create_mail_body('change'); 115 if($this->hlp->hasApprovals($INFO['meta'])) { 133 $oldlink = $this->revlink($ID, $oldrev); 136 $newlink = $this->revlink($ID, $rev); 140 $newlink = $this->revlink($ID, $rev); 193 $subject = $this->getLang('apr_mail_app_subject'); [all …]
|
/plugin/html2pdf/html2pdf/html2ps/unittest/ |
H A D | test.img.align.php | 5 $tree = $this->runPipeline(' 16 $this->assertTrue($span->get_bottom_margin() <= $text->get_bottom_margin(), 20 $this->assertTrue($span->get_bottom_margin() <= $img->get_bottom_margin(), 24 $this->assertTrue($span->get_top_margin() >= $text->get_top_margin(), 28 $this->assertTrue($span->get_top_margin() >= $img->get_top_margin(), 32 $this->assertTrue($text->get_bottom_margin() <= $img->get_bottom_margin(), 36 $this->assertTrue($text->get_top_margin() < $img->get_top_margin(), 43 $tree = $this->runPipeline(' 62 $this->assertTrue($span->get_top_margin() >= $text->get_top_margin(), 66 $this->assertTrue($span->get_top_margin() >= $img->get_top_margin(), [all …]
|
/plugin/davcard/vendor/sabre/vobject/tests/VObject/ITip/ |
H A D | BrokerNewEventTest.php | 19 $result = $this->parse($message); 33 $result = $this->parse($message); 82 $result = $this->parse($message, $expected); 108 $this->parse($message, array()); 133 $this->parse($message, array()); 261 $result = $this->parse($message, $expected); 389 $result = $this->parse($message, $expected); 445 $result = $this->parse($message, array()); 480 $result = $this->parse($message, array()); 496 $this->parse($message, array()); [all …]
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Generator/ |
H A D | class_with_method_with_variadic_arguments.phpt | 35 $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); 51 $result = $this->__phpunit_getInvocationMocker()->invoke( 62 return $this->__phpunit_getInvocationMocker()->expects($matcher); 68 $expects = $this->expects($any); 74 $this->__phpunit_originalObject = $originalObject; 79 if ($this->__phpunit_invocationMocker === null) { 80 …$this->__phpunit_invocationMocker = new PHPUnit_Framework_MockObject_InvocationMocker($this->__php… 83 return $this->__phpunit_invocationMocker; 88 return $this->__phpunit_getInvocationMocker()->hasMatchers(); 93 $this->__phpunit_getInvocationMocker()->verify(); [all …]
|
H A D | interface.phpt | 33 $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); 49 $result = $this->__phpunit_getInvocationMocker()->invoke( 51 'Foo', 'bar', $arguments, '', $this, true 66 $expects = $this->expects($any); 72 $this->__phpunit_originalObject = $originalObject; 77 if ($this->__phpunit_invocationMocker === null) { 78 …$this->__phpunit_invocationMocker = new PHPUnit_Framework_MockObject_InvocationMocker($this->__php… 81 return $this->__phpunit_invocationMocker; 86 return $this->__phpunit_getInvocationMocker()->hasMatchers(); 91 $this->__phpunit_getInvocationMocker()->verify(); [all …]
|
/plugin/poldek/ |
H A D | helper.php | 41 if ($this->cache) { 47 $idx_cache = new cache($this->getPluginName(), '.idx'); 59 $lines = $this->exec("--up"); 83 $lines = $this->shcmd("ls", $rc); 90 $this->cache = $pkg_cache->cache; 101 foreach (file($this->getCache()) as $line) { 122 $this->sync(); 123 return $this->cache; 149 $repos = $this->getConf('repos'); 155 $http_proxy = $this->getConf('http_proxy'); [all …]
|
/plugin/zotero/ |
H A D | ImportZoteroFeedReader.php | 14 $this->config = $config; 24 $feed = $this->download($this->config->getUrlForEntries()); 25 $dom = $this->getDocument($feed); 27 $xpath = $this->getXPath($feed); 28 $nextUrl = $this->getNextUrl($xpath); 31 $additionalFeed = $this->download($nextUrl); 32 $xpath = $this->getXPath($additionalFeed); 33 $this->addEntriesToMainFeed($dom, $xpath); 36 $nextUrl = $this->getNextUrl($xpath); 66 $dom = $this->getDocument($xml); [all …]
|
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/ITip/ |
H A D | BrokerNewEventTest.php | 19 $result = $this->parse($message); 33 $result = $this->parse($message); 82 $result = $this->parse($message, $expected); 108 $this->parse($message, array()); 133 $this->parse($message, array()); 261 $result = $this->parse($message, $expected); 389 $result = $this->parse($message, $expected); 445 $result = $this->parse($message, array()); 480 $result = $this->parse($message, array()); 496 $this->parse($message, array()); [all …]
|