/plugin/bibtex/OSBib/ |
D | STYLEMAPBIBTEX.php | 36 $this->loadMap(); 68 $this->citation = array( 81 $this->types = array( 125 $this->basic = array( 164 $this->genericBook = $this->basic; 165 $this->genericBook['creator1'] = 'creator'; 166 $this->genericBook['creator2'] = 'editor'; 167 $this->genericBook['publisher'] = 'publisherName'; 168 $this->genericBook['address'] = 'publisherLocation'; 169 $this->genericBook['ISBN'] = 'ID'; [all …]
|
D | STYLEMAP.php | 20 $this->loadMap(); 52 $this->citation = array( 65 $this->types = array( 109 $this->basic = array( 146 $this->genericBook = $this->basic; 147 $this->genericBook['creator1'] = 'creator'; 148 $this->genericBook['creator2'] = 'editor'; 149 $this->genericBook['publisherName'] = 'publisherName'; 150 $this->genericBook['publisherLocation'] = 'publisherLocation'; 151 $this->genericBook['isbn'] = 'ID'; [all …]
|
/plugin/jsonrpc/ |
D | IJR_CallbackDefines.php | 16 $this->obj['method'] = 'dokuwiki.getVersion'; 17 $this->obj['callback'] = 'getVersion'; 18 $this->obj['args'] = array('string'); 19 $this->obj['help'] = 'Returns the running DokuWiki version.'; 20 $this->methods[] = $this->obj; 22 $this->obj['method'] = 'dokuwiki.login'; 23 $this->obj['callback'] = 'this:login'; 24 $this->obj['args'] = array('integer','string','string'); 25 $this->obj['help'] = 'Tries to login with the given credentials and sets auth cookies.'; 26 $this->methods[] = $this->obj; [all …]
|
/plugin/conflictmerger/tests/ |
D | acceptance.test.php | 27 $this->basePageName = WEB_TEST_URL . '/doku.php?id=testConflictMerger&'; 29 $this->secondUser = &$this->createBrowser(); 31 $this->get($this->basePageName . 'do=edit'); 32 $this->setField($this->textField, "First line\n\nSecond line\n\nThird line"); 33 $this->click($this->saveButton); 37 unset($this->secondUser); 39 $this->get($this->basePageName . 'do=edit'); 40 $this->setField($this->textField, ''); 41 $this->click($this->saveButton); 48 $this->assertNoText('merged'); [all …]
|
/plugin/latexit/_test/ |
D | renderer.test.php | 28 if(is_dir(DOKUWIKI_PLUGIN.'mathjax')) $this->pluginsEnabled[] = 'mathjax'; 29 if(is_dir(DOKUWIKI_PLUGIN.'imagereference')) $this->pluginsEnabled[] = 'imaereference'; 30 if(is_dir(DOKUWIKI_PLUGIN.'zotero')) $this->pluginsEnabled[] = 'zotero'; 39 $this->r = new renderer_plugin_latexit(); 41 $this->r->document_start(); 43 $this->clearDoc(); 50 $this->r->doc = ''; 57 $this->assertTrue($this->r->canRender('latex')); 58 $this->assertFalse($this->r->canRender('xhtml')); 59 $this->assertFalse($this->r->canRender('affsd')); [all …]
|
/plugin/aichat/vendor/vanderlee/php-sentence/tests/ |
D | SentenceTest.php | 25 $this->object = new \Vanderlee\Sentence\Sentence(); 33 $this->assertSame(0, $this->object->count('')); 34 $this->assertSame(0, $this->object->count(' ')); 35 $this->assertSame(0, $this->object->count("\n")); 43 $this->assertSame(1, $this->object->count('Hello')); 44 $this->assertSame(1, $this->object->count('Hello.')); 45 $this->assertSame(1, $this->object->count('Hello...')); 46 $this->assertSame(1, $this->object->count('Hello!')); 47 $this->assertSame(1, $this->object->count('Hello?')); 48 $this->assertSame(1, $this->object->count('Hello?!')); [all …]
|
/plugin/latexport/_test/ |
D | decorator_tables.test.php | 22 $this->decoratorMock = new DecoratorMock(); 23 $this->decoratorTables = new DecoratorTables($this->decoratorMock); 27 $this->decoratorTables->p_close(); 28 $this->decoratorTables->table_open(3, 0, 0); 29 $this->decoratorTables->p_close(); 30 $this->decoratorTables->table_close(); 31 $this->decoratorTables->p_close(); 33 $this->assertEquals(new CommandPClose(), $this->decoratorMock->nextCommand()); 34 $this->assertEquals(new CommandTableOpen(3, 0, 0), $this->decoratorMock->nextCommand()); 35 $this->assertEquals(new CommandLinebreak(), $this->decoratorMock->nextCommand()); [all …]
|
D | decorator_includer.test.php | 28 $this->includes = new SplQueue(); 29 $this->decoratorMock = new DecoratorMock(); 30 $this->decoratorIncluder = new DecoratorIncluder($this->includes, $this->decoratorMock); 34 $this->decoratorIncluder->listu_open(); 35 $this->decoratorIncluder->listitem_open(1); 36 $this->decoratorIncluder->listcontent_open(); 38 $this->decoratorIncluder->cdata(' '); 39 $this->decoratorIncluder->internallink(DecoratorIncluderTest::LINK, DecoratorIncluderTest::TITLE); 41 $this->decoratorIncluder->listcontent_close(); 42 $this->decoratorIncluder->listitem_close(); [all …]
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/ |
D | Table.php | 13 $this->mpdf->tdbegin = false; 14 $this->mpdf->lastoptionaltag = ''; 16 if ($this->mpdf->ColActive) { 17 $this->mpdf->colvAlign = ''; 19 if ($this->mpdf->lastblocklevelchange == 1) { 22 elseif ($this->mpdf->lastblocklevelchange < 1) { 26 …if (count($this->mpdf->textbuffer) == 0 && $this->mpdf->lastblocklevelchange == 1 && !$this->mpdf-… 27 …$this->mpdf->newFlowingBlock($this->mpdf->blk[$this->mpdf->blklvl]['width'], $this->mpdf->lineheig… 28 $this->mpdf->finishFlowingBlock(true); // true = END of flowing block 29 } elseif (!$this->mpdf->tableLevel && count($this->mpdf->textbuffer)) { [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/src/ |
D | Lexer.php | 58 $this->env = $env; 60 $this->options = array_merge([ 68 $this->regexes = [ 69 …var' => '/\s*'.preg_quote($this->options['whitespace_trim'].$this->options['tag_variable'][1], '/'… 70 …k' => '/\s*(?:'.preg_quote($this->options['whitespace_trim'].$this->options['tag_block'][1], '/').… 71 …this->options['tag_block'][0].$this->options['whitespace_trim'], '/').'|'.preg_quote($this->option… 72 'operator' => $this->getOperatorRegex(), 73 … '/(?:'.preg_quote($this->options['whitespace_trim'], '/').preg_quote($this->options['tag_comment'… 74 …erbatim)\s*(?:'.preg_quote($this->options['whitespace_trim'].$this->options['tag_block'][1], '/').… 75 … 'lex_block_line' => '/\s*line\s+(\d+)\s*'.preg_quote($this->options['tag_block'][1], '/').'/As', [all …]
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/ |
D | AssertTest.php | 20 … $this->filesDirectory = dirname(__DIR__) . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR; 26 $this->fail(); 41 $this->assertContains($a, $c); 44 $this->assertContains($b, $c); 49 $this->fail(); 57 $this->assertContains($a, [$a]); 60 $this->assertContains($a, [$b]); 65 $this->fail(); 70 $this->assertContains('foo', ['foo']); 73 $this->assertContains('foo', ['bar']); [all …]
|
/plugin/mantis/lib/ |
D | class.soap_parser.php | 62 $this->xml = $xml; 63 $this->xml_encoding = $encoding; 64 $this->method = $method; 65 $this->decode_utf8 = $decode_utf8; 77 $this->debug($err); 79 $this->setError($err); 84 $this->debug('Charset from HTTP Content-Type matches encoding from XML declaration'); 87 $this->debug('No encoding specified in XML declaration'); 90 $this->debug('No XML declaration'); 92 $this->debug('Entering nusoap_parser(), length='.strlen($xml).', encoding='.$encoding); [all …]
|
D | class.soap_server.php | 180 $this->debug("_SERVER is defined:"); 181 $this->appendDebug($this->varDump($_SERVER)); 183 $this->debug("HTTP_SERVER_VARS is defined:"); 184 $this->appendDebug($this->varDump($HTTP_SERVER_VARS)); 186 $this->debug("Neither _SERVER nor HTTP_SERVER_VARS is defined."); 190 $this->debug("In nusoap_server, set debug_flag=$debug based on global flag"); 191 $this->debug_flag = $debug; 196 … $this->debug("In nusoap_server, set debug_flag=" . substr($v, 6) . " based on query string #1"); 197 $this->debug_flag = substr($v, 6); 204 … $this->debug("In nusoap_server, set debug_flag=" . substr($v, 6) . " based on query string #2"); [all …]
|
/plugin/odt2dw/ |
D | action.php | 20 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, '_parser', array()); 22 $controller->register_hook('TPL_ACT_RENDER', 'BEFORE', $this, '_render', array()); 23 $controller->register_hook('TEMPLATE_PAGETOOLS_DISPLAY', 'BEFORE', $this, 'addbutton', array()); 35 if($this->getConf('showimportbutton') && $event->data['view'] == 'main') { 44 ….'<a href='.wl($ID, $params).' class="action import_odt" rel="nofollow" title="'.$this->getLang('… 45 .'<span>'.$this->getLang('import_odt_button').'</span>' 60 if ( strpos( $this->getConf('formDisplayRule'), $event->data) === false ) return; 63 …if ( page_exists( $ID ) ) echo p_render('xhtml',p_get_instructions( $this->getLang( 'formPageExist… 67 $message = $this->getConf('formIntroMessage'); 68 if ( $message == 'default' ) $message = $this->getLang('formIntroMessage'); [all …]
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Gif/ |
D | Lzw.php | 42 $this->MAX_LZW_BITS = 12; 44 unset($this->Next); 45 unset($this->Vals); 46 unset($this->Stack); 47 unset($this->Buf); 49 $this->Next = range(0, (1 << $this->MAX_LZW_BITS) - 1); 50 $this->Vals = range(0, (1 << $this->MAX_LZW_BITS) - 1); 51 $this->Stack = range(0, (1 << ($this->MAX_LZW_BITS + 1)) - 1); 52 $this->Buf = range(0, 279); 62 $this->LZWCommandInit($data, $dp); [all …]
|
/plugin/statdisplay/helper/ |
D | table.php | 28 $this->R = $R; 29 $this->log = plugin_load('helper', 'statdisplay_log'); 33 $this->summary($from, $to); 36 $this->month($from); 39 $this->monthby('day', $from); 42 $this->monthby('hour', $from); 45 $this->referer($from); 48 $this->entry($from); 51 $this->url($from); 56 $this->ua($from); [all …]
|
/plugin/odtplus2dw/ |
D | action.php | 21 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, '_parser', array()); 23 $controller->register_hook('TPL_ACT_RENDER', 'BEFORE', $this, '_render', array()); 24 $controller->register_hook('TEMPLATE_PAGETOOLS_DISPLAY', 'BEFORE', $this, 'addbutton', array()); 26 $controller->register_hook('MENU_ITEMS_ASSEMBLY', 'AFTER', $this, 'addsvgbutton', array()); 53 if($this->getConf('showimportbutton') && $event->data['view'] == 'main') { 62 ….'<a href='.wl($ID, $params).' class="action import_file" rel="nofollow" title="'.$this->getLang(… 63 .'<span>'.$this->getLang('import_button').'</span>' 77 if ( strpos( $this->getConf('formDisplayRule'), $event->data) === false ) return; 80 …if ( page_exists( $ID ) ) echo p_render('xhtml',p_get_instructions( $this->getLang( 'formPageExist… 84 $message = $this->getConf('formIntroMessage'); [all …]
|
/plugin/xml/ |
D | renderer.php | 21 $this->reset(); 28 $this->info = array( 32 $this->precedinglevel = array(); 33 $this->nextHeader = ""; 34 $this->helper = &plugin_load('helper','xml'); 35 $this->doc = ''; 36 $this->tagStack = array(); 52 if ($this->helper->_xml_extension($this,$name,$data)) return; 53 $plugin->render($this->getFormat(),$this,$data); 68 $this->doc = '<?xml version="1.0" encoding="UTF-8"?>'.DOKU_LF; [all …]
|
/plugin/pagelist/ |
D | helper.php | 104 $this->style = $this->getConf('style'); //string 105 $this->showheader = $this->getConf('showheader'); //on-off 106 $this->showfirsthl = $this->getConf('showfirsthl'); //on-off 107 $this->sort = $this->getConf('sort'); //on-off 108 $this->rsort = $this->getConf('rsort'); //on-off 109 $this->sortKey = $this->getConf('sortby'); //string 110 if($this->sortKey) { 111 $this->sort = true; 114 $this->plugins = [ 121 $this->column = [ [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/ |
D | ANSI.php | 175 $this->base_attr_cell = clone $attr_cell; 176 $this->attr_cell = clone $attr_cell; 178 $this->setHistory(200); 179 $this->setDimensions(80, 24); 193 $this->max_x = $x - 1; 194 $this->max_y = $y - 1; 195 $this->x = $this->y = 0; 196 $this->history = $this->history_attrs = []; 197 $this->attr_row = array_fill(0, $this->max_x + 2, $this->base_attr_cell); 198 $this->screen = array_fill(0, $this->max_y + 1, ''); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/ |
D | PluginTest.php | 22 $this->server->addPlugin($locksPlugin); 23 $this->locksPlugin = $locksPlugin; 29 $this->assertEquals(array(2),$this->locksPlugin->getFeatures()); 35 $this->assertEquals(array('LOCK','UNLOCK'),$this->locksPlugin->getHTTPMethods('')); 42 $this->server->httpRequest = $request; 43 $this->server->exec(); 45 $this->assertEquals(array( 49 $this->response->getHeaders() 52 $this->assertEquals(400, $this->response->status); 68 $this->server->httpRequest = $request; [all …]
|
/plugin/photogallery/phpThumb/ |
D | phpthumb.class.php | 274 $this->phpThumb(); 278 $this->DebugTimingMessage('phpThumb() constructor', __FILE__, __LINE__); 279 $this->DebugMessage('phpThumb() v'.$this->phpthumb_version, __FILE__, __LINE__); 288 $this->php_memory_limit = max($this->php_memory_limit, $php_config_memory_limit); 291 if ($this->php_memory_limit > 0) { // could be "-1" for "no limit" 292 $this->config_max_source_pixels = round($this->php_memory_limit * 0.20); // 20% of memory_limit 295 $this->iswindows = (bool) (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN'); 296 $this->issafemode = (bool) preg_match('#(1|ON)#i', ini_get('safe_mode')); 297 …$this->config_document_root = (!empty($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] : $… 298 …$this->config_cache_prefix = ( isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'].'_' : '… [all …]
|
/plugin/statistics/ |
D | admin.php | 81 $this->hlp = plugin_load('helper', 'statistics'); 84 foreach($this->pages as $key => $val) { 86 $this->allowedpages = array_merge($this->allowedpages, $val); 88 $this->allowedpages[] = $key; 111 $this->opt = preg_replace('/[^a-z]+/', '', $_REQUEST['opt']); 112 if(!in_array($this->opt, $this->allowedpages)) $this->opt = 'dashboard'; 114 $this->start = (int) $_REQUEST['s']; 115 $this->setTimeframe($_REQUEST['f'], $_REQUEST['t']); 125 $this->tlimit = $this->hlp->Query()->mktlimit($from, $to); 126 $this->from = $from; [all …]
|
/plugin/jplayer/vendor/james-heinrich/getid3/demos/ |
D | demo.audioinfo.class.php | 70 $this->getID3 = new getID3; 71 $this->getID3->option_md5_data = true; 72 $this->getID3->option_md5_data_source = true; 73 $this->getID3->encoding = 'UTF-8'; 90 $this->info = $this->getID3->analyze($file); 93 if (isset($this->info['error'])) { 94 return array ('error' => $this->info['error']); 98 $this->result = array(); 99 …this->result['format_name'] = (isset($this->info['fileformat']) ? $this->info['fileformat'] : … 100 …$this->result['encoder_version'] = (isset($this->info['audio']['encoder']) ? $this->info['… [all …]
|
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/ |
D | PH5P.php | 23 $new_html = $this->normalize($html, $config, $context); 24 $new_html = $this->wrapHTML($new_html, $config, $context, false /* no div */); 35 $this->tokenizeDOM( 463 $this->data = $data; 464 $this->char = -1; 465 $this->EOF = strlen($data); 466 $this->tree = new HTML5TreeConstructer; 467 $this->content_model = self::PCDATA; 469 $this->state = 'data'; 471 while ($this->state !== null) { [all …]
|