/plugin/freechat/phpfreechat/lib/pear/PHPUnit/ |
H A D | Assert.php | 131 if ($this->_looselyTyped) { 148 return $this->fail($message); 163 return $this->fail($message); 177 return $this->fail($message); 259 return $this->fail($message); 278 return $this->fail($message); 297 return $this->fail($message); 316 return $this->fail($message); 338 return $this->fail($message); 361 return $this->fail($message); [all …]
|
/plugin/judge/helper/ |
H A D | crud.php | 23 $this->db = new SQLite3(DBFILE); 31 $results = $this->getSubmissions($data, $sort); 56 $language = $this-> 61 $valid_text = $this->valid_text($row["submit_id"]); 74 …se\t" . $row["problem_name"] . "\t" . $this->convert_time($row["timestamp"]) . "\t" . $language[0]… 86 …. $row["problem_name"] . '</a>', $this->getLang('programming_question'), $this->convert_time($row[… 130 $results = $this->db->query($query); 173 $results = $this->getSubmissions($data); 176 return $this->getLang("empty_result"); 184 $targetdir = $this->getConf('upload_path'); [all …]
|
/plugin/openid/Auth/Yadis/ |
H A D | XML.php | 144 $this->xml = null; 145 $this->doc = null; 146 $this->xpath = null; 147 $this->errors = []; 152 $this->xml = $xml_string; 156 if (!$this->doc) { 160 $this->xpath = $this->doc->xpath_new_context(); 238 $this->xml = $xml_string; 241 if (!$this->doc) { 265 $this->xpath = new DOMXPath($this->doc); [all …]
|
/plugin/structpublish/meta/ |
H A D | Assignments.php | 50 $this->sqlite = $helper->getDB(); 52 $this->loadPatterns(); 61 $this->patterns = $this->sqlite->queryAll($sql); 76 $ok = (bool) $this->sqlite->query($sql, [$pattern, $user, $status]); 79 $this->loadPatterns(); 88 $this->sqlite->query('BEGIN TRANSACTION'); 91 $this->updatePageAssignments($pid); 94 $ok = $ok && $this->sqlite->query('COMMIT TRANSACTION'); 96 $this [all...] |
/plugin/quiz/ |
H A D | class_quiz.php | 49 $this->quizID = $quizID; 50 $this->mode = $param['learning']; 58 if (!($this->mode < 0 || $this->mode > 1 )) { 78 $data = $this->parseQuiz(); 88 if (($question_num != 0) && ($this->highscore )) $html .= $this->print_highscore(); 244 $a = $this->parseQuiz(); 297 $data = $this->parseQuiz(); 336 return $this->error; 342 $page = $this->quizID; 447 if ($this->rndchoice) $this->kshuffle($quizz['questions'][$nquest]['choices']); [all …]
|
/plugin/accscounter/ |
H A D | admin.php | 51 echo $this->locale_xhtml('heading'); 64 …if ($helper->quickipcheck($element[0], $this->getConf('sfsExFreq'), $this->getConf('sfsExConf'))) { 83 msg($this->getLang('sfsfinish'), 1); 95 msg($this->getLang('mngdelfinish'), 1); 100 $metadir = $this->getFiles($conf['metadir'] . '/_accscounter'); 117 echo $this->locale_xhtml('noitem'); 118 echo $this->locale_xhtml('mngintro'); 129 echo $this->locale_xhtml('viewer'); 132 …this->getLang('selectall') . '</label></th><th>' . $this->getLang('pagename') . '</th><th>' . $thi… 182 echo $this->locale_xhtml('mngintro'); [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/src/NodeVisitor/ |
H A D | SafeAnalysisNodeVisitor.php | 36 $this->safeVars = $safeVars; 42 if (!isset($this->data[$hash])) { 62 if (isset($this->data[$hash])) { 71 $this->data[$hash][] = [ 86 $this->setSafe($node, ['all']); 89 $this->setSafe($node, ['all']); 92 $this->setSafe($node, ['all']); 95 …$safe = $this->intersectSafe($this->getSafe($node->getNode('expr2')), $this->getSafe($node->getNod… 96 $this->setSafe($node, $safe); 108 $this->setSafe($node, []); [all …]
|
/plugin/findologicxmlexport/vendor/hoa/file/Link/ |
H A D | ReadWrite.php | 125 return feof($this->getStream()); 145 return fread($this->getStream(), $length); 156 return $this->read($length); 166 return fgetc($this->getStream()); 176 return (bool) $this->read(1); 187 return (int) $this->read($length); 198 return (float) $this->read($length); 210 return $this->scanf($format); 220 return fgets($this->getStream()); 242 return fscanf($this->getStream(), $format); [all …]
|
/plugin/findologicxmlexport/vendor/hoa/file/Temporary/ |
H A D | ReadWrite.php | 125 return feof($this->getStream()); 145 return fread($this->getStream(), $length); 156 return $this->read($length); 166 return fgetc($this->getStream()); 176 return (bool) $this->read(1); 187 return (int) $this->read($length); 198 return (float) $this->read($length); 210 return $this->scanf($format); 220 return fgets($this->getStream()); 242 return fscanf($this->getStream(), $format); [all …]
|
/plugin/codeprettify/syntax/ |
H A D | code.php | 38 $this->mode = substr(get_class($this), 7); 46 $this->pattern[4] = '</Code>'; 49 $this->pattern[11] = '<code\b.*?>(?=.*?</code>)'; 50 $this->pattern[14] = '</code>'; 55 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode); 56 if ($this->getConf('override')) { 57 $this->Lexer->addEntryPattern($this->pattern[11], $mode, $this->mode); 63 $this->Lexer->addExitPattern($this->pattern[4], $this->mode); 64 if ($this->getConf('override')) { 65 $this->Lexer->addExitPattern($this->pattern[14], $this->mode); [all …]
|
/plugin/pubmed/ |
H A D | syntax.php | 15 $this->ncbi = new ncbi();
16 $this->xmlCache = new plugin_cache("ncbi_esummary","pubmed","xml.gz");
18 if($this->ncbi == Null) print("NCBI is null !");
19 if($this->xmlCache == Null) print("this->xmlCache is null !");
23 function connectTo($mode){$this->Lexer->addSpecialPattern('\{\{pubmed>[^}]*\}\}',$mode,'plugin_pubmed');}
48 $renderer->doc.=sprintf($this->getLang('pubmed_wrong_format'));
51 $xml = $this->getSummaryXML($pmid);
53 $renderer->doc.=sprintf($this->getLang('pubmed_not_found'),$pmid);
56 $href_url = sprintf($this [all...] |
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Component/ |
H A D | VCardTest.php | 23 $this->assertEquals($expectedWarnings, $warnMsg); 27 $this->assertEquals( 130 $this->assertNull($vcard->getByType('EMAIL', 'non-existant')); 131 $this->assertNull($vcard->getByType('ADR', 'non-existant')); 189 $this->assertNull($vcard->preferred('EMAIL')); 201 $this->assertValidate( 218 $this->assertValidate( 234 $this->assertValidate( 252 $this->assertValidate( 270 $this->assertValidate( [all …]
|
/plugin/findologicxmlexport/vendor/sebastian/version/src/ |
H A D | Version.php | 39 $this->release = $release; 40 $this->path = $path; 48 if ($this->version === null) { 49 if (count(explode('.', $this->release)) == 3) { 50 $this->version = $this->release; 52 $this->version = $this->release . '-dev'; 55 $git = $this->getGitInformation($this->path); 58 if (count(explode('.', $this->release)) == 3) { 59 $this->version = $git; 63 $this->version = $this->release . '-' . end($git); [all …]
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | strategy.width.min.nowrap.php | 11 $this->_cmaxw += $delta; 15 $this->_maxw = max($this->_maxw, $this->_cmaxw); 16 $this->_cmaxw = 0; 20 $this->_maxw = 0; 24 $this->add_width($ti->calculate($box)); 29 $this->line_break(); 33 $this->add_width($child->get_max_width($context)); 36 $this->line_break(); 38 $this->line_break(); 44 $this->line_break(); [all …]
|
/plugin/xhtmlruby/ |
H A D | action.php | 35 'date' => $this->version, 47 $this->re_search = "/(".$this->re_kanji.")\((".$this->re_kana.")\)/u"; 48 $this->re_replace = "<ruby><rb>$1</rb><rp>(</rp><rt>$2</rt><rp>)</rp></ruby>"; 52 if($inivars['parse_toc_text']==true) { $this->parse_toc_text = true; } 53 if($inivars['parse_wiki_text']==true) { $this->parse_wiki_text = true; } 56 if($this->parse_toc_text===true) { 57 $controller->register_hook('HTML_TOC_ITEM', 'AFTER', $this, '_rubify_tocitem'); } 59 if($this->parse_wiki_text===true) { 60 $controller->register_hook('RENDERER_CONTENT_POSTPROCESS', 'AFTER', $this, '_rubify'); } 69 $item = preg_replace($this->re_search,$this->re_replace,$item); [all …]
|
/plugin/davcal/vendor/sabre/http/tests/HTTP/ |
H A D | RequestDecoratorTest.php | 12 $this->inner = new Request(); 13 $this->outer = new RequestDecorator($this->inner); 19 $this->outer->setMethod('FOO'); 20 $this->assertEquals('FOO', $this->inner->getMethod()); 21 $this->assertEquals('FOO', $this->outer->getMethod()); 27 $this->outer->setUrl('/foo'); 28 $this->assertEquals('/foo', $this->inner->getUrl()); 29 $this->assertEquals('/foo', $this->outer->getUrl()); 35 $this->outer->setAbsoluteUrl('http://example.org/foo'); 37 $this->assertEquals('http://example.org/foo', $this->outer->getAbsoluteUrl());
|
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/ |
H A D | NullStreamTest.php | 13 $this->assertEquals('', $b->read(10)); 14 $this->assertEquals(4, $b->write('test')); 15 $this->assertEquals('', (string) $b); 16 $this->assertNull($b->getMetadata('a')); 17 $this->assertEquals([], $b->getMetadata()); 18 $this->assertEquals(0, $b->getSize()); 19 $this->assertEquals('', $b->getContents()); 20 $this->assertEquals(0, $b->tell()); 22 $this->assertTrue($b->isReadable()); 23 $this [all...] |
/plugin/elasticsearch/vendor/nyholm/dsn/src/Configuration/ |
H A D | DsnFunction.php | 37 $this->name = $name; 38 $this->arguments = $arguments; 39 $this->parameters = $parameters; 44 return $this->name; 52 return $this->arguments; 57 return $this->parameters; 67 return \array_key_exists($key, $this->parameters) ? $this->parameters[$key] : $default; 77 $new = clone $this; 88 $new = clone $this; [all...] |
/plugin/fedauth/Auth/Yadis/ |
H A D | ParseHTML.php | 48 $this->_attr_find = sprintf("/%s/%s", 49 $this->_attr_find, 50 $this->_re_flags); 52 $this->_removed_re = sprintf("/%s/%s", 53 $this->_removed_re, 54 $this->_re_flags); 56 $this->_entity_replacements = array( 63 $this->_ent_replace = 159 $html_string = preg_replace($this->_removed_re, 167 $this->tagPattern(array( [all …]
|
/plugin/fedauth/classes/usr/ |
H A D | fa_login.usr.class.php | 33 $this->success = true; 41 $this->html_login_service_from(); 48 … return empty($_SERVER['REMOTE_USER']) ? $this->lang['clicktologin'] : $this->lang['clicktoadd']; 117 . '<p>'.$this->lang['gotlogin'].' '.$this->getLoginText().'</p>' 124 . $this->html_providers_list($this->manager->providers->getLarge(), true) 127 . $this->html_providers_list($this->manager->providers->getSmall(), false) 129 . $this->html_service_signin() 130 . $this->html_general_openid() 155 $btn = $this->cmd; 179 if (!($pro = $this->manager->providers->get($this->provid))) { [all …]
|
/plugin/farmsync/meta/ |
H A D | UpdateResults.php | 33 $this->_item = $item; 34 $this->_animal = $animal; 35 $this->_farm_util = new FarmSyncUtil(); 44 return $this->_finalText; 51 $this->_finalText = $finalText; 58 return $this->_mergeResult; 65 $this->_mergeResult = $mergeResult; 74 $text = $this->helper->getLang('mergeresult:' . $this->getMergeResult()); 83 return $this->_animal; 90 $this->_animal = $animal; [all …]
|
/plugin/maintenance/ |
H A D | action.php | 9 $this->helper =& plugin_load('helper', 'maintenance'); 10 $this->helper->script_updatelockall(); 18 if ($this->helper->is_locked()) { 19 $contr->register_hook('DOKUWIKI_STARTED', 'BEFORE', $this, 'before_start', array()); 20 … $contr->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'before_action', array()); 22 else if ($this->getConf('script_auto')) { 23 $contr->register_hook('DOKUWIKI_DONE', 'AFTER', $this, 'after_done', array()); 28 msg($this->getConf('msg_lock')); 34 if (!in_array($act, $this->disallowed)) return; 41 if ($this->helper->is_locked()) return; [all …]
|
/plugin/findologicxmlexport/vendor/jms/serializer/src/Visitor/Factory/ |
H A D | XmlSerializationVisitorFactory.php | 43 $this->formatOutput, 44 $this->defaultEncoding, 45 $this->defaultVersion, 46 $this->defaultRootName, 47 $this->defaultRootNamespace 53 $this->defaultRootName = $name; 55 return $this; 60 $this->defaultVersion = $version; 61 return $this; 67 return $this; [all …]
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dfareporting/ |
H A D | Metro.php | 63 return $this->countryCode; 77 return $this->countryDartId; 84 $this->dartId = $dartId; 91 return $this->dartId; 98 $this->dmaId = $dmaId; 105 return $this->dmaId; 112 $this->kind = $kind; 119 return $this->kind; 133 return $this->metroCode; 140 $this->name = $name; [all …]
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/DomainsRDAP/ |
H A D | Link.php | 56 $this->href = $href; 63 return $this->href; 84 $this->media = $media; 91 return $this->media; 98 $this->rel = $rel; 105 return $this->rel; 112 $this->title = $title; 119 return $this->title; 126 $this->type = $type; 133 return $this->type; [all …]
|