/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dfareporting/ |
H A D | Country.php | 48 $this->countryCode = $countryCode; 55 return $this->countryCode; 62 $this->dartId = $dartId; 69 return $this->dartId; 76 $this->kind = $kind; 83 return $this->kind; 90 $this->name = $name; 97 return $this->name; 104 $this->sslEnabled = $sslEnabled; 111 return $this->sslEnabled;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Document/ |
H A D | GoogleCloudDocumentaiV1CommonOperationMetadata.php | 48 $this->createTime = $createTime; 55 return $this->createTime; 62 $this->resource = $resource; 69 return $this->resource; 76 $this->state = $state; 83 return $this->state; 90 $this->stateMessage = $stateMessage; 97 return $this->stateMessage; 104 $this->updateTime = $updateTime; 111 return $this->updateTime;
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/ |
H A D | MockPrincipal.php | 17 $this->name = $name; 18 $this->principalUrl = $principalUrl; 19 $this->groupMembership = $groupMembership; 20 $this->groupMemberSet = $groupMemberSet; 26 return $this->name; 32 return $this->getName(); 44 return $this->principalUrl; 50 return $this->groupMemberSet; 56 return $this->groupMembership; 62 $this->groupMemberSet = $groupMemberSet;
|
/plugin/bureaucracy/helper/ |
H A D | fieldselect.php | 21 $this->init($args); 22 $this->opt['args'] = array_map('trim', explode('|',array_shift($args))); 23 $this->standardArgs($args); 24 if (!isset($this->opt['value']) && isset($this->opt['optional'])) { 25 array_unshift($this->opt['args'],' '); 40 $this->_handlePreload(); 44 if ($this->error) { 47 $params = array_merge($this->opt, $params); 49 $this->_parse_tpl(
|
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/tests/ |
H A D | EncoderTest.php | 14 BPE ensures that the most common words are represented in the vocabulary as a single token while the rare words are broken down into two or more subword tokens and this is in agreement with what a subword-based tokenization algorithm does. 17 $this->assertEquals([1212, 318, 617, 2420], $encoder->encode('This is some text')); 18 $this->assertEquals([10134, 23858, 21746], $encoder->encode('hasOwnProperty')); 19 $this->assertEquals([10163, 2231, 30924, 3829], $encoder->encode('1234567890')); 20 $this->assertEquals([15496, 11854, 616, 1468, 1545], $encoder->encode('Hello darkness my old friend')); 21 $this->assertEquals([31373, 50169, 233, 995, 12520, 234, 235], $encoder->encode('hello ? world ?')); 22 $this->assertEquals([33, 11401, 19047, 326, 262, 749, 2219, 2456, 389, 7997, 287, 262, 25818, 355, 257, 2060, 11241, 981, 262, 4071, 2456, 389, 5445, 866, 656, 734, 393, 517, 850, 4775, 16326, 290, 428, 318, 287, 4381, 351, 644, 257, 850, 4775, 12, 3106, 11241, 1634, 11862, 857, 13], $encoder->encode($longText)); 23 $this->assertEquals([33, 11401, 19047, 326, 262, 749, 2219, 2456, 389, 7997, 287, 262, 25818, 355, 257, 2060, 11241, 981, 262, 4071, 2456, 389, 5445, 866, 656, 734, 393, 517, 850, 4775, 16326, 290, 428, 318, 287, 4381, 351, 644, 257, 850, 4775, 12, 3106, 11241, 1634, 11862, 857, 13], $encoder->encode($longText)); 24 $this->assertEquals([38374, 268, 292, 256, 446, 274, 31215, 285, 8836, 13], $encoder->encode('Buenas tardes para mí.')); 25 $this [all...] |
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/Log/ |
H A D | TeamCity.php | 46 $this->printHeader(); 47 $this->printFooter($result); 59 $this->printEvent( 78 $this->printEvent( 165 $this->startTest($test); 175 $this->printEvent( 195 $this->flowId = false; 201 $this->printEvent( 287 $this->printEvent( 304 if ($this->flowId) { [all …]
|
/plugin/authfacebook/ |
H A D | auth.php | 32 $this->cando['external'] = true; 33 $this->cando['logout'] = true; 34 $this->cando['delUser'] = false; 36 $this->success = true; 49 $this->cando['modPass'] = true; 50 $this->cando['delUser'] = true; 58 if($this->checkPass($user,$pass)){ 59 $uinfo = $this->getUserData($user); 75 msg($this->getLang('badlogin'),-1); 84 …if (($appId = $this->getConf('applicationID')) && ($appSecret = $this->getConf('applicationSecret'… [all …]
|
/plugin/dtable/ |
H A D | action.php | 6 * need to inherit from this class 11 $controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'add_php_data'); 12 $controller->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, 'handle_ajax'); 13 $controller->register_hook('PARSER_WIKITEXT_PREPROCESS', 'AFTER', $this, 'parser_preprocess_handler'); 14 $controller->register_hook('TOOLBAR_DEFINE', 'AFTER', $this, 'insert_button', array ()); 21 'title' => $this->getLang('toolbar_insert_button'), 55 if($this->getConf('all_tables')) 95 $JSINFO['disabled'] = explode(',', $this->getConf('disabled')); 98 $JSINFO['lang']['insert_before'] = $this->getLang('insert_before'); 99 $JSINFO['lang']['insert_after'] = $this [all...] |
/plugin/move/helper/ |
H A D | op.php | 33 // Check we have rights to move this document 35 msg(sprintf($this->getLang('notexist'), $src), -1); 39 msg(sprintf($this->getLang('norights'), $src), -1); 48 msg(sprintf($this->getLang('filelocked'), $src), -1); 54 msg(sprintf($this->getLang('notchanged'), $src), -1); 60 msg(sprintf($this->getLang('exists'), $src, $dst), -1); 66 msg(sprintf($this->getLang('notargetperms'), $dst), -1); 81 // Check we have rights to move this document 83 msg(sprintf($this->getLang('medianotexist'), $src), -1); 87 msg(sprintf($this [all...] |
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/TextUI/ |
H A D | TestRunner.php | 236 if ($this->printer === null) { 265 $this->printer->write( 528 $this->printer->write( 546 $this->printer->write( 564 $this->printer->write( 590 $this->printer->write( 629 $this->printer->write( 715 if ($this->loader === null) { 719 return $this->loader; 1129 $this->write("\n"); [all …]
|
/plugin/aichat/vendor/erusev/parsedown/ |
H A D | Parsedown.php | 12 # with this source code. 27 $this->DefinitionData = array(); 39 $markup = $this->lines($lines); 53 $this->breaksEnabled = $breaksEnabled; 55 return $this; 62 $this->markupEscaped = $markupEscaped; 64 return $this; 71 $this->urlsLinked = $urlsLinked; 73 return $this; 80 $this [all...] |
/plugin/authgoogle/ |
H A D | auth.php | 22 $this->success = true; 24 $this->cando['external'] = true; 25 $this->cando['logout'] = true; 43 if($this->checkPass($user,$pass)){ 60 msg($this->getLang('badlogin'),-1); 114 $this->logOff(); 136 $this->logOff(); 143 $this->logOff(); 149 $udata = $this->getUserData($login); 153 … if ($this->getConf('default_groups')) $grps = explode(' ', $this->getConf('default_groups')); [all …]
|
/plugin/xtern/ |
H A D | action.php | 12 $this->accumulator = metaFN('xtern:accumulator','.ser'); 38 msg($this->getLang('nocurl'),2); 42 if($this->getConf('noicons')) { 45 if($this->getConf('alt_div')) { 48 else if($this->getConf('alt_class')) { 51 $skip = $this->getConf('skip_pages'); 77 if($this->getConf('ca_required')) { 110 if(!file_exists($this->accumulator)) return; 119 $this->update_wiki_page($event->result, $url) ; 136 $this->current = $url; [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/ |
H A D | Ed448.php | 30 $this->setModulo(new BigInteger( 35 $this->setCoefficients( 41 $this->setBasePoint( 47 $this->setOrder(new BigInteger( 70 $u = $y2->subtract($this->one); 71 $v = $this->d->multiply($y2)->subtract($this->one); 73 if ($x2->equals($this->zero)) { 77 return clone $this->zero; 171 return [clone $this->zero, clone $this->one, clone $this->one]; 178 $p[2] = clone $this->one; [all …]
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/GraphNavigator/Factory/ |
H A D | DeserializationGraphNavigatorFactory.php | 51 $this->metadataFactory = $metadataFactory; 52 $this->handlerRegistry = $handlerRegistry; 53 $this->objectConstructor = $objectConstructor; 54 $this->accessor = $accessor; 55 $this->dispatcher = $dispatcher; 56 $this->expressionEvaluator = $expressionEvaluator; 61 …ionGraphNavigator($this->metadataFactory, $this->handlerRegistry, $this->objectConstructor, $this-…
|
/plugin/ipban/ |
H A D | admin.php | 33 msg($this->getLang('badrange'), -1); 60 echo $this->locale_xhtml('intro'); 65 echo '<th>' . $this->getLang('ip') . '</th>'; 66 echo '<th>' . $this->getLang('date') . '</th>'; 67 echo '<th>' . $this->getLang('by') . '</th>'; 68 echo '<th>' . $this->getLang('cause') . '</th>'; 69 echo '<th>' . $this->getLang('del') . '</th>'; 86 echo '<div>' . $this->getLang('newban') . ':</div>'; 87 echo '<label for="plg__ipban_ip">' . $this->getLang('ip') . ':</label>'; 89 echo '<label for="plg__ipban_cause">' . $this->getLang('cause') . ':</label>'; [all …]
|
/plugin/semanticdata/ |
H A D | bureaucracy_field.php | 12 $this->init($syntax_plugin, $args); 28 $this->standardArgs($n_args); 32 if (!$datatype['multi'] && $this->opt['optional']) array_unshift($values, ''); 33 $this->opt['args'] = $values; 34 $this->additional = ($datatype['multi'] ? array('multiple' => 'multiple'): array()); 40 $this->tpl = $content; 45 if (isset($this->tpl)) { 48 $this->_handlePreload(); 52 if ($this->error) { 55 $params = array_merge($this->opt, $params); [all …]
|
/plugin/authgooglesheets/vendor/google/auth/src/Middleware/ |
H A D | AuthTokenMiddleware.php | 64 $this->fetcher = $fetcher; 65 $this->httpHandler = $httpHandler; 66 $this->tokenCallback = $tokenCallback; 102 $request = $request->withHeader('authorization', 'Bearer ' . $this->fetchToken()); 104 if ($quotaProject = $this->getQuotaProject()) { 122 $auth_tokens = $this->fetcher->fetchAuthToken($this->httpHandler); 126 if ($this->tokenCallback) { 128 $this->tokenCallback, 129 $this->fetcher->getCacheKey(), 149 if ($this->fetcher instanceof GetQuotaProjectInterface) { [all …]
|
H A D | ProxyAuthTokenMiddleware.php | 64 $this->fetcher = $fetcher; 65 $this->httpHandler = $httpHandler; 66 $this->tokenCallback = $tokenCallback; 102 $request = $request->withHeader('proxy-authorization', 'Bearer ' . $this->fetchToken()); 104 if ($quotaProject = $this->getQuotaProject()) { 122 $auth_tokens = $this->fetcher->fetchAuthToken($this->httpHandler); 126 if ($this->tokenCallback) { 128 $this->tokenCallback, 129 $this->fetcher->getCacheKey(), 149 if ($this->fetcher instanceof GetQuotaProjectInterface) { [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PropertyStorage/Backend/ |
H A D | Mock.php | 28 if (!isset($this->data[$path])) { 32 foreach($this->data[$path] as $name=>$value) { 53 if (!isset($this->data[$path])) { 54 $this->data[$path] = []; 61 unset($this->data[$path][$propName]); 63 $this->data[$path][$propName] = $propValue; 80 unset($this->data[$path]); 97 foreach($this->data as $path => $props) { 100 $this->data[$destination] = $props; 101 unset($this->data[$path]); [all …]
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Suggest/CandidateGenerator/ |
H A D | DirectGenerator.php | 27 $this->setField($field); 33 * @return $this 37 return $this->setParam('field', $field); 43 * @return $this 47 return $this->setParam('size', $size); 53 * @return $this 57 return $this->setParam('suggest_mode', $mode); 63 * @return $this 67 return $this->setParam('max_edits', $max); 73 * @return $this [all...] |
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/ |
H A D | AutoscalingNamespace.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 $name = $this->extractArgument($params, 'name'); 43 $endpointBuilder = $this->endpoints; 48 return $this->performRequest($endpoint); 61 $endpointBuilder = $this->endpoints; 65 return $this->performRequest($endpoint); 78 $name = $this->extractArgument($params, 'name'); 80 $endpointBuilder = $this->endpoints; 85 return $this [all...] |
/plugin/blogtng/action/ |
H A D | entry.php | 18 $this->entryhelper = plugin_load('helper', 'blogtng_entry'); 19 $this->commenthelper = plugin_load('helper', 'blogtng_comments'); 28 …$controller->register_hook('TPL_ACT_RENDER', 'BEFORE', $this, 'replaceUsualPageViewWithBlogView', … 29 …$controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE', $this, 'addNextPrevNavigationToMetad… 45 $this->entryhelper->load_by_pid($pid); 46 if($this->entryhelper->get_blog() == '') return true; 51 $this->commenthelper->setPid($pid); 52 $this->entryhelper->tpl_content($this->entryhelper->entry['blog'], 'entry'); 71 $this->entryhelper->load_by_pid($pid); 72 if($this->entryhelper->get_blog() == '') return true; [all …]
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Tree/ |
H A D | TerminalNodeImpl.php | 21 $this->symbol = $symbol; 31 return $this->symbol; 39 return $this->parent; 44 $this->parent = $parent; 49 return $this->symbol; 54 if ($this->symbol === null) { 58 $tokenIndex = $this->symbol->getTokenIndex(); 70 return $visitor->visitTerminal($this); 75 return $this->symbol->getText(); 83 return (string) $this; [all...] |
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/Transitions/ |
H A D | RangeTransition.php | 23 $this->from = $from; 24 $this->to = $to; 29 return IntervalSet::fromRange($this->from, $this->to); 34 return $symbol >= $this->from && $symbol <= $this->to; 44 if ($this === $other) { 49 && $this->from === $other->from 50 && $this->to === $other->to 51 && $this [all...] |