/plugin/fksnewsfeed/inc/ORM/ |
H A D | ModelStream.php | 24 $this->streamId); 25 $ars = $this->sqlite->res2arr($res); 27 $service = new ServiceNews($this->sqlite); 29 $priority = ModelPriority::createFromArray($this->sqlite, $ar); 35 return $this->sortNews($news); 57 $res = $this->sqlite->query('SELECT * FROM dependence WHERE parent=?', $this->streamId); 58 $service = new ServiceStream($this->sqlite); 59 foreach ($this->sqlite->res2arr($res) as $row) { 70 $res = $this->sqlite->query('SELECT * FROM dependence WHERE child=?', $this->streamId); 71 $service = new ServiceStream($this->sqlite); [all …]
|
/plugin/ipgroup/ |
H A D | admin.php | 40 msg($this->getLang('already'), -1); 46 msg($this->getLang('invalid_ip'), -1); 51 msg($this->getLang('failed'), -1); 66 print $this->locale_xhtml('intro'); 68 print $this->locale_xhtml('list'); 79 ptln("<th>".$this->getLang('network')."</th>"); 80 ptln("<th>".$this->getLang('group')."</th>"); 81 ptln("<th>".$this->getLang('delete')."</th>"); 99 ptln("<div class=\"fn\">".$this->getLang('noips')."</div>"); 104 print $this->locale_xhtml('add'); [all …]
|
/plugin/authgooglesheets/vendor/google/auth/src/Credentials/ |
H A D | ServiceAccountJwtAccessCredentials.php | 94 $this->auth = new OAuth2([ 120 $scope = $this->auth->getScope(); 125 $this->auth->setAudience($authUri); 139 $audience = $this->auth->getAudience(); 140 $scope = $this->auth->getScope(); 151 $access_token = $this->auth->toJwt(); 154 $this->auth->setAccessToken($access_token); 164 return $this->auth->getCacheKey(); 185 return $this->projectId; 198 return $this->auth->getIssuer(); [all …]
|
/plugin/dwedit/ |
H A D | action.php | 22 $this->ckgedit_loaded=true; 23 $this->helper = plugin_load('helper', 'ckgedit'); 26 $this->ckgedit_loaded=true; 27 $this->helper = plugin_load('helper', 'ckgdoku'); 33 $controller->register_hook('MENU_ITEMS_ASSEMBLY', 'AFTER', $this, 'addsvgbutton', array()); 43 if($event->data['view'] != 'page' || !$this->ckgedit_loaded) return; 44 …if(method_exists($this->helper,'dw_edit_displayed') && $this->helper->dw_edit_displayed()) return;… 45 …$btn = $this->helper->getLang('btn_dw_edit'); // get the button's name from the currently enabled… 55 if (!$this->ckgedit_loaded || $event->data['view'] != 'main' || $ACT != 'show') 65 $dwedit_ns = $this->helper->getConf('dwedit_ns'); [all …]
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Suggest/ |
H A D | Phrase.php | 22 * @return $this 26 return $this->setParam('analyzer', $analyzer); 32 * @return $this 36 return $this->setParam('gram_size', $size); 44 * @return $this 48 return $this->setParam('real_word_error_likelihood', $likelihood); 53 * Only candidates which score higher than this threshold will be included in the result. 57 * @return $this 61 return $this->setParam('confidence', $confidence); 67 * @return $this [all...] |
/plugin/const/_test/ |
H A D | constants.test.php | 9 $this->pluginsEnabled[] = 'const'; 31 $this->assertTrue(strpos($HTML, 'User:') !== false, 'anonymous'); 58 $this->assertTrue(strpos($HTML, 'YEAR:'.date('Y')) !== false); 59 $this->assertTrue(strpos($HTML, 'MONTH:'.date('m')) !== false); 61 $this->assertTrue(strpos($HTML, 'WEEK:'.date('W')) !== false); 62 $this->assertTrue(strpos($HTML, 'DAY:'.date('d')) !== false); 63 $this->assertTrue(strpos($HTML, 'DAYNAME:'.date('l')) !== false); 96 $this->assertTrue(@preg_match('/RANDOM:\d+/',$HTML) === 1); 97 $this->assertTrue(strpos($HTML, 'AUTOINDEX1:1') !== false); 98 $this->assertTrue(strpos($HTML, 'AUTOINDEX2:2') !== false); [all …]
|
/plugin/upgrade/vendor/splitbrain/php-cli/src/ |
H A D | Colors.php | 66 $this->enabled = false; 70 $this->enabled = false; 80 $this->enabled = true; 88 $this->enabled = false; 96 return $this->enabled; 110 $this->set($color, $channel); 112 $this->reset($channel); 125 return $this->getColorCode($color) . $text . $this->getColorCode('reset'); 137 if (!$this [all...] |
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/ |
H A D | DifferTest.php | 40 $this->differ = new Differ; 51 …$this->assertEquals($expected, $this->differ->diffToArray($from, $to, new TimeEfficientImplementat… 62 … $this->assertEquals($expected, $this->differ->diff($from, $to, new TimeEfficientImplementation)); 73 …$this->assertEquals($expected, $this->differ->diffToArray($from, $to, new MemoryEfficientImplement… 84 …$this->assertEquals($expected, $this->differ->diff($from, $to, new MemoryEfficientImplementation)); 91 $this->assertEquals( 99 $this->assertEquals( 101 $this->differ->diff(1, 2) 115 $this->assertEquals($expected, $result); 397 $this->expectException('\InvalidArgumentException'); [all …]
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Generator/ |
H A D | abstract_class.phpt | 39 $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); 57 'Foo', 'one', $arguments, '', $this, true 79 'Foo', 'two', $arguments, '', $this, true 101 'Foo', 'three', $arguments, '', $this, true 116 $expects = $this->expects($any); 122 $this->__phpunit_originalObject = $originalObject; 127 if ($this->__phpunit_invocationMocker === null) { 128 …$this->__phpunit_invocationMocker = new PHPUnit_Framework_MockObject_InvocationMocker($this->__php… 131 return $this->__phpunit_invocationMocker; 141 $this->__phpunit_getInvocationMocker()->verify(); [all …]
|
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/ |
H A D | MockHandler.php | 55 $this->onFulfilled = $onFulfilled; 56 $this->onRejected = $onRejected; 65 if (!$this->queue) { 73 $this->lastRequest = $request; 74 $this->lastOptions = $options; 120 if ($this->onRejected) { 140 $this->queue[] = $value; 155 return $this->lastRequest; 165 return $this->lastOptions; 175 return count($this->queue); [all …]
|
/plugin/dokumicrobugtracker/ |
H A D | syntax.php | 81 return ($this->getConf('use_captcha')); 118 elseif (!$this->_captcha_ok()) 167 {$Generated_Report = $this->_report_render();} 179 $status = $this->_get_one_value($bug,'status'); 198 $values = explode(',', $this->getConf($pref_name)); 298 return $this->_edit_scripts_render(); 300 return $this->_default_scripts_render(); 318 …$body .= '<tr id = "'.$data['project'].' '.$this->_get_one_value($bug,'id').'" class="'.$this->_st… 354 if ($this->getConf('send_email')==1) 358 $from=$this->getConf('email_address') ; [all …]
|
/plugin/findologicxmlexport/vendor/sebastian/environment/tests/ |
H A D | ConsoleTest.php | 24 $this->console = new Console; 32 $this->assertInternalType('boolean', $this->console->isInteractive()); 40 $this->assertInternalType('boolean', $this->console->isInteractive(STDOUT)); 50 $this->assertInternalType('boolean', $this->console->hasColorSupport()); 60 $this->assertInternalType('integer', $this->console->getNumberOfColumns());
|
/plugin/latexit/_test/ |
H A D | recursionhandler.test.php | 32 $this->r = RecursionHandler::getInstance(); 39 $this->r->insert("page"); 40 $this->assertTrue($this->r->disallow("page")); 41 $this->assertFalse($this->r->disallow("anotherpage")); 42 $this->r->remove("page"); 43 $this->assertFalse($this->r->disallow("page"));
|
/plugin/authowncloud/ |
H A D | auth.php | 37 $this->success = false; 39 $this->cando['addUser'] = true; 40 $this->cando['modGroups'] = true; 41 $this->cando['logout'] = true; 42 $this->cando['delUser'] = true; 43 $this->cando['modLogin'] = true; 44 $this->cando['modPass'] = true; 45 $this->cando['modName'] = true; 46 $this->cando['modMail'] = true; 47 $this->cando['getUsers'] = true; [all …]
|
/plugin/displayfile/ |
H A D | syntax.php | 59 $error = $this->_validate($target, $title, $text); 71 if (!$this->_isPhpFixRequired($text, $language)) 75 $this->_displayHeader($renderer, $title); 76 $this->_displayBody($renderer, $text, $language); 87 $root = $this->getConf('root_path'); 93 { return $this->getLang('error_root_empty'); } 99 { return $this->getLang('error_root_invalid'); } 124 { return sprintf($this->getLang('error_self'), $title); } 184 return sprintf($this->getLang('error_read'), $title); 201 if ($this->_isPhpFixCandidate($text, $language)) [all …]
|
/plugin/authgooglesheets/vendor/google/apiclient/src/Utils/ |
H A D | UriTemplate.php | 63 return $this->resolveNextSection($string, $parameters); 92 if (isset($this->operators[$data[0]])) { 93 $op = $this->operators[$data[0]]; 144 $data = $this->replaceVars($data, $parameters); 161 return $this->combine( 175 return $this->combineList( 225 $pvalue = $this->getValue($pvalue, $length); 240 $pvalue = $this->getValue($pvalue, $length); 242 $pkey = $this->getValue($pkey, $length); 264 $value = str_replace($this->reservedEncoded, $this->reserved, $value); [all …]
|
/plugin/twofactor/action/ |
H A D | profile.php | 22 $controller->register_hook('MENU_ITEMS_ASSEMBLY', 'AFTER', $this, 'handleUserMenuAssembly'); 24 $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'handlePreProcess'); 25 $controller->register_hook('TPL_ACT_UNKNOWN', 'BEFORE', $this, 'handleUnknownAction'); 38 // If this is not the user menu, then get out. 43 $menuitem = new MenuItem($this->getLang('btn_twofactor_profile')); 64 // We will be handling this action's permissions here. 79 if ($this->handleProfile()) { 101 echo $this->locale_xhtml('profile'); 104 $this->printProviderSetup(); 106 if (!$this [all...] |
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | module.graphic.pcd.php | 28 $info = &$this->getid3->info; 35 $this->fseek($info['avdataoffset'] + 72); 37 $PCDflags = $this->fread(1); 50 if ($this->ExtractData > 3) { 52 …$this->error('Cannot extract PSD image data for detail levels above BASE (level-3) because encrypt… 55 } elseif ($this->ExtractData > 0) { 66 $this->fseek($info['avdataoffset'] + $PCD_dataOffset); 75 $PCD_data_Y1 = $this->fread($PCD_width); 76 $PCD_data_Y2 = $this->fread($PCD_width); 77 $PCD_data_Cb = $this->fread(intval(round($PCD_width / 2))); [all …]
|
H A D | module.audio.shorten.php | 26 $info = &$this->getid3->info; 28 $this->fseek($info['avdataoffset']); 30 $ShortenHeader = $this->fread(8); 43 $this->fseek($info['avdataend'] - 12); 44 $SeekTableSignatureTest = $this->fread(12); 49 $this->fseek($info['shn']['seektable']['offset']); 50 $SeekTableMagic = $this->fread(4); 75 $SeekTableData = $this->fread($info['shn']['seektable']['length'] - 16); 130 $this->error(GETID3_HELPERAPPSDIR.$required_file.' does not exist'); 144 $this->error('shorten binary was not found in path or /usr/local/bin'); [all …]
|
/plugin/scrape/HTMLPurifier/Filter/ |
H A D | ExtractStyleBlocks.php |
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | css.border.style.inc.php | 10 $this->CSSSubProperty($owner); 48 return $this->_defaultValue; 79 $v1 = $this->parse_style($values[0]); 82 $v1 = $this->parse_style($values[0]); 83 $v2 = $this->parse_style($values[1]); 86 $v1 = $this->parse_style($values[0]); 87 $v2 = $this->parse_style($values[1]); 88 $v3 = $this->parse_style($values[2]); 91 $v1 = $this->parse_style($values[0]); 97 return $this->default_value(); [all …]
|
/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ |
H A D | Serializer.php | 55 $this->indent = $indent; 56 $this->indentString = $indentString; 57 $this->isFirstLineIndented = $indentFirstLine; 58 $this->lineLength = $lineLength; 71 $indent = str_repeat($this->indentString, $this->indent); 72 $firstIndent = $this->isFirstLineIndented ? $indent : ''; 74 $wrapLength = $this->lineLength ? $this->lineLength - strlen($indent) - 3 : null; 76 $text = $this->removeTrailingSpaces( 78 $this->addAsterisksForEachLine( 80 $this->getSummaryAndDescriptionTextBlock($docblock, $wrapLength) [all …]
|
/plugin/translation2/ |
H A D | action.php | 27 $controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, '_prepare'); 28 $controller->register_hook('JQUERY_READY', 'BEFORE', $this, '_addjs'); 33 $this->loadConfig(); 41 if (strlen(trim($this->getConf('languages'))) == 0) { 42 $this->conf['languages'] = implode(',', $supportedLanguages); 46 …trpos($this->getConf('languages'), $this->getConf('default_language')) === false) $this->conf['def… 53 if (strpos($this->getConf('languages'), $blang) !== false) { 70 … $event->data[] = 'jQuery(\'DIV#bar__topleft\').append(\'' . $this->html_langswitcher() . '\');'; 104 $languages = explode(',', $this->getConf('languages')); 108 …$newID = (($lang!=$this->getConf('default_language'))?$lang.':':'') . (($ID{2}==':')?substr($ID… [all …]
|
/plugin/gtime/gtlib/asn1/ |
H A D | ASN1ObjectId.php | 65 $this->value = $value; 76 return $this->value; 88 $tokens = explode('.', $this->value); 93 $this->append($bytes, ($b1 * 40 + $b2)); 145 $this->value = ''; 182 $this->value .= $byte1; 183 $this->value .= '.'; 184 $this->value .= $byte2; 185 $this->value .= '.'; 191 $this->value .= $current->getValue(); [all …]
|
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ |
H A D | Pocket.php | 24 $this->baseApiUri = new Uri('https://getpocket.com/v3/'); 48 'redirect_uri' => $this->credentials->getCallbackUrl(), 53 $url = clone $this->getAuthorizationEndpoint(); 63 $responseBody = $this->httpClient->retrieveResponse( 64 $this->getRequestTokenEndpoint(), 66 'consumer_key' => $this->credentials->getConsumerId(), 67 'redirect_uri' => $this->credentials->getCallbackUrl(), 71 $code = $this->parseRequestTokenResponse($responseBody); 91 'consumer_key' => $this->credentials->getConsumerId(), 95 $responseBody = $this [all...] |