/plugin/stopforumspam/_test/ |
H A D | ResponseCheckerTest.php | 33 $this->assertEquals(7.6, $checker->tolerance); 43 $this->assertEquals("email", $checker->trigger); 44 $this->assertEquals(25.0, $checker->confidence); 54 $this->assertEquals("", $checker->trigger); 55 $this->assertEquals(0, $checker->confidence); 66 $this->assertEquals(25.0, $checker->confidence); 76 $this->assertEquals("", $checker->trigger); 77 $this->assertEquals(0, $checker->confidence); 87 $this->assertEquals("ip", $checker->trigger); 98 $this->assertEquals("", $checker->trigger); [all …]
|
/plugin/icalevents/vendor/sabre/vobject/lib/Parser/ |
H A D | Json.php | 51 $this->setInput($input); 53 if (is_null($this->input)) { 58 $this->options = $options; 61 switch ($this->input[0]) { 73 $this->root->add($this->parseProperty($prop)); 75 if (isset($this->input[2])) foreach ($this->input[2] as $comp) { 76 $this->root->add($this->parseComponent($comp)); 80 $this->input = null; 82 return $this->root; 96 $self = $this; [all …]
|
/plugin/webdavclient/vendor/sabre/vobject/lib/Parser/ |
H A D | Json.php | 51 $this->setInput($input); 53 if (is_null($this->input)) { 58 $this->options = $options; 61 switch($this->input[0]) { 73 $this->root->add($this->parseProperty($prop)); 75 if (isset($this->input[2])) foreach($this->input[2] as $comp) { 76 $this->root->add($this->parseComponent($comp)); 80 $this->input = null; 82 return $this->root; 95 $self = $this; [all …]
|
/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/ |
H A D | SocketServer.php | 8 * file that was distributed with this source code. 57 $this->serverOpts, 61 if (!\in_array($this->options['transport'], self::TRANSPORTS, true)) { 64 $this->options['transport'], 75 * @return $this 82 if ($this->options['transport'] !== 'udp') { 86 $transport = $this->options['transport']; 87 if ($transport === 'tcp' && $this->options['use_ssl'] === true) { 102 $this->errorNumber, 103 $this [all...] |
/plugin/davcal/vendor/sabre/vobject/lib/Parser/ |
H A D | Json.php | 51 $this->setInput($input); 53 if (is_null($this->input)) { 58 $this->options = $options; 61 switch($this->input[0]) { 73 $this->root->add($this->parseProperty($prop)); 75 if (isset($this->input[2])) foreach($this->input[2] as $comp) { 76 $this->root->add($this->parseComponent($comp)); 80 $this->input = null; 82 return $this->root; 95 $self = $this; [all …]
|
/plugin/swiftmail/Swift/Authenticator/PopB4Smtp/ |
H A D | Pop3Connection.php | 53 $this->setServer($server); 54 $this->setPort($port); 71 $this->port = (int) $port; 79 return $this->server; 87 return $this->port; 95 $this->encryption = (int) $enc; 103 return $this->encryption; 124 $url = $this->getServer(); 133 if ((false === $this->handle = @fsockopen($url, $this->getPort(), $errno, $errstr, 5))) 145 if ($this->handle !== null) [all …]
|
/plugin/jirainfo/ |
H A D | action.php | 29 echo json_encode($this->fillDataTask()); 47 $uri = parse_url($this->getConf('apiUrl')); 53 $this->getConf('apiUser'), 54 $this->getConf('apiPass'), 57 implode(",", $this->getFieldsRequest()) 80 $fields = $this->getFieldsRequest(); 81 $url = $this->getJiraApiUrl($task); 82 $data = $this->request($url); 91 'issueUrl' => $this->getTaskUrl($task), 127 $arrURL = parse_url($this->getConf('apiUrl')); [all …]
|
/plugin/findologicxmlexport/vendor/hoa/math/Sampler/ |
H A D | Sampler.php | 69 $this->_parameters = new Zformat\Parameter( 79 $this->_parameters->setParameters($parameters); 89 if (null === $this->_parameters->getParameter('float.min')) { 93 if (null === $this->_parameters->getParameter('float.max')) { 97 $this->construct(); 119 return $this->_parameters; 152 return $this->_getInteger($lower, $upper); 168 $sampled = $this->_getInteger($lower, $upper); 200 $lower = $this->_parameters->getParameter('float.min'); 209 $upper = $this->_parameters->getParameter('float.max'); [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/ |
H A D | ForNode.php | 47 ->addDebugInfo($this) 50 ->subcompile($this->getNode('seq')) 54 if ($this->hasNode('else')) { 58 if ($this->getAttribute('with_loop')) { 68 if (!$this->getAttribute('ifexpr')) { 83 $this->loop->setAttribute('else', $this->hasNode('else')); 84 $this->loop->setAttribute('with_loop', $this->getAttribute('with_loop')); 85 $this->loop->setAttribute('ifexpr', $this->getAttribute('ifexpr')); 94 ->subcompile($this->getNode('body')) 99 if ($this->hasNode('else')) { [all …]
|
/plugin/stopforumspam2/ |
H A D | action.php | 19 $controller->register_hook('DOKUWIKI_STARTED', 'BEFORE', $this, 'accessdenial', array()); 27 …if ($helper->quickipcheck(null, $this->getConf('accessRefusalFreq'), $this->getConf('accessRefusal… 28 $text = $this->locale_xhtml('banned'); 29 $title = $this->getLang('denied'); 52 …if ($ACT == 'edit' and $helper->quickipcheck(null, $this->getConf('protectEditFreq'), $this->getCo… 53 echo $this->locale_xhtml('bannededit'); 56 …if ($ACT == 'register' and $helper->quickipcheck(null, $this->getConf('protectRegFreq'), $this->ge… 57 echo $this->locale_xhtml('bannedreg'); 66 $expiremin = $this->getConf('preventNuisanceReg'); 91 msg($this->getLang('spammyelementreg'), -1); [all …]
|
/plugin/statistics/inc/pchart/ |
H A D | Color.php | 19 * along with this program. If not, see <http://www.gnu.org/licenses/>. 24 * Color instance rather than modifying this instance. 51 list($red, $green, $blue) = $this->Hex2RGB($red); 68 $this->r = $red; 69 $this->g = $green; 70 $this->b = $blue; 93 return sprintf('#%02x%02x%02x', $this->r, $this->g, $this->b); 134 $incremented = new Color($this [all...] |
/plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
H A D | SizeConverter.php | 27 $this->dpi = $dpi; 28 $this->defaultFontSize = $defaultFontSize; 29 $this->mpdf = $mpdf; 30 $this->logger = $logger; 35 $this->logger = $logger; 56 $this->logger->warning(sprintf('Invalid size representation "%s"', $size), ['context' => LogContext::CSS_SIZE_CONVERSION]); 76 $size *= $this->mpdf->default_font_size / Mpdf::SCALE; 99 $size *= $this->multiplyFontSize($fontsize, $maxsize, 0.5); 103 $size *= $this->multiplyFontSize($fontsize, $maxsize, 1); 107 $size = 1 * (25.4 / $this [all...] |
/plugin/confmanager/configTypes/ |
H A D | ConfigManagerTwoLineConfigCascade.php | 20 $configs = $this->readConfig(); 25 uksort($configs, [$this->helper, '_sortHuman']); 31 $config = $this->readConfig(); 44 $lines = array_merge($lines, $this->getNewValues()); 48 $this->saveToFile($custom); 49 $this->handleSave($config['default']); 71 $key = $this->prepareEntity($key); 72 $value = $this->prepareEntity($value); 104 uksort($config, [$this->helper, '_sortConf']); 105 $content = $this->helper->getCoreConfigHeader(); [all …]
|
/plugin/mikioplugin/syntax/ |
H A D | carousel.php | 43 $this->addCommonOptions('height'); 49 $classes = $this->buildClass($data, array('transition')); 50 $styles = $this->buildStyle(array('height' => $data['height']), TRUE); 52 $renderer->doc .= '<div class="' . $this->elemClass . ' ' . $this->classPrefix . 'carousel' . ($data['cover'] ? ' ' . $this->classPrefix . 'image-cover' : '') . $classes . '" data-auto-start="' . ($data['start'] ? 'true' : 'false') . '"' . $styles . '>'; 53 $renderer->doc .= '<div class="' . $this->elemClass . ' ' . $this->classPrefix . 'carousel-inner">'; 85 $this->syntaxRender($renderer, 'carouselitem', '', $item_data, MIKIO_LEXER_SPECIAL); 97 $svg_styles = $this [all...] |
/plugin/fksnewsfeed/ |
H A D | action.php | 32 $this->helper = $this->loadHelper('newsfeed'); 56 $this->handleEditForm(); 59 $this->handleStreamPreview(); 80 $this->handleNews(); 83 $this->handlePriority(); 86 $this->handleDelete(); 89 $this->handleCache(); 166 $this->helper->serviceNews->create($data); 167 … $this->saveIntoStreams($this->helper->serviceNews->getMaxId(), $INPUT->param('news')['stream']); 218 $news = $this->helper->serviceNews->getAll(); [all …]
|
/plugin/sqlraw/ |
H A D | syntax.php | 83 $this->display_inline = FALSE; 85 $this->table_class = 'inline'; 86 $this->source = ''; 87 $this->startMarker = ''; 88 $this->tableNumber = 1; 116 $this->tableNumber = 1; 124 $this->caption = 0; 128 $this->fixTable = 0; 163 …this->_sqlRaw__handleLink($data['link'], &$renderer, $this->source, $this->startMarker, $this->tab… 217 if ($this->title != '') [all …]
|
/plugin/bugzillahttp/ |
H A D | BzBug.php | 29 return $this->id; 32 return $this->product; 35 return $this->shortDesc; 38 return $this->dateCreated; 41 return $this->assignedTo; 44 return $this->reportedBy; 47 return $this->status; 50 return $this->priority; 53 return $this->severity; 57 return $this->id = $id; [all …]
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/ |
H A D | SqlNamespace.php | 11 * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or 24 * NOTE: this file is autogenerated using util/GenerateEndpoints.php 41 $body = $this->extractArgument($params, 'body'); 43 $endpointBuilder = $this->endpoints; 48 return $this->performRequest($endpoint); 61 $id = $this->extractArgument($params, 'id'); 63 $endpointBuilder = $this->endpoints; 68 return $this->performRequest($endpoint); 85 $id = $this->extractArgument($params, 'id'); 87 $endpointBuilder = $this [all...] |
H A D | IngestNamespace.php | 11 * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or 24 * NOTE: this file is autogenerated using util/GenerateEndpoints.php 43 $id = $this->extractArgument($params, 'id'); 45 $endpointBuilder = $this->endpoints; 50 return $this->performRequest($endpoint); 63 $endpointBuilder = $this->endpoints; 67 return $this->performRequest($endpoint); 82 $id = $this->extractArgument($params, 'id'); 84 $endpointBuilder = $this->endpoints; 89 return $this [all...] |
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/ |
H A D | ArrayPredictionContext.php | 38 $this->parents = $parents; 39 $this->returnStates = $returnStates; 52 $clone = clone $this; 61 return $this->returnStates[0] === PredictionContext::EMPTY_RETURN_STATE; 66 return \count($this->returnStates); 71 return $this->parents[$index]; 76 return $this->returnStates[$index]; 81 if ($this === $other) { 89 if ($this->returnStates === $other->returnStates) { 93 return Equality::equals($this [all...] |
/plugin/register/ |
H A D | register.php | 66 if ($bit_high != -1 && $this->start != $this->end) 69 return array($this->start, $this->end); 73 $ret = $this->name; 74 if ($this->start != $this->end) { 106 $this->im = $im; 121 $oldim = $this->im; 149 imageline($this->im, $x1, $y1, $x2, $y2, $this->black); 160 return $this->font_path . "/" . $this->font_files[$fontidx] . ".ttf"; 176 return $this->_font_width($this->font_dims($fontidx, $text, $angle)); 186 $y + $fh, $this->black, $this->font_path($fontidx), $text); [all …]
|
/plugin/multiorphan/action/ |
H A D | multiorphan.php | 107 $result = $this->__check_pages($id); 252 $this->_check_locallink( $linkData ); 289 $plugin->render($this->renderer->getFormat(), $this->renderer, $input[1][1]); 293 $this->renderer->nest_close(); 300 $this->_init_renderer(); 301 $renderer = &$this->renderer; 348 $this->_init_renderer(); 421 if ( $this->renderer != null ) { 427 $this->renderer->interwiki = getInterwiki(); 431 …return in_array($ins, $this->mediaInstructions) ? 'media' : (in_array($ins, $this->pagesInstructio… [all …]
|
/plugin/jplayer/vendor/symfony/process/Pipes/ |
H A D | UnixPipes.php | 31 $this->ttyMode = (bool) $ttyMode; 32 $this->ptyMode = (bool) $ptyMode; 40 $this->close(); 48 if (!$this->haveReadSupport) { 58 if ($this->ttyMode) { 94 $this->unblock(); 95 $w = $this->write(); 98 $r = $this->pipes; 108 $this->pipes = []; 143 return $this->haveReadSupport; [all …]
|
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Challenge/ |
H A D | PlainChallenge.php | 9 * file that was distributed with this source code. 38 $this->encoder = new PlainEncoder(); 39 $this->context = new SaslContext(); 40 $this->context->setIsServerMode($isServerMode); 48 $received = $received === null ? null : $this->encoder->decode($received, $this->context); 50 if ($this->context->isServerMode()) { 51 return $this->serverProcess($received, $options); 53 return $this->clientProcess($options); 60 return $this [all...] |
/plugin/elasticsearch/vendor/ruflin/elastica/src/ |
H A D | Status.php | 42 $this->_client = $client; 52 if (null === $this->_data) { 53 $this->refresh(); 56 return $this->_data; 66 $data = $this->getData(); 80 return \in_array($name, $this->getIndexNames(), true); 90 return \count($this->getIndicesWithAlias($name)) > 0; 111 $response = $this->_client->requestEndpoint($endpoint); 117 // If we don't have a 404 then this is still unexpected so rethrow the exception. 122 $indices[] = new Index($this [all...] |