/dokuwiki/_test/tests/inc/ |
D | common_pageinfo.test.php | 25 $info = array ( 34 $info['rev'] = null; 35 $info['subscribed'] = false; 36 $info['locked'] = false; 37 $info['exists'] = false; 38 $info['writable'] = true; 39 $info['editable'] = true; 40 $info['lastmod'] = false; 41 $info['currentrev'] = false; 42 $info['meta'] = array(); [all …]
|
D | common_basicinfo.test.php | 21 $info = array ( 31 return $info; 41 $info = $this->_get_info(); 42 $this->assertEquals(basicinfo($ID,true),$info); 45 unset($info['ismobile']); 46 $this->assertEquals(basicinfo($ID,false),$info); 52 $info = array( 60 $this->assertEquals(basicinfo($ID,true),$info);
|
D | changelog_getrevisioninfo.test.php | 49 $info = $pagelog->getRevisionInfo($rev); 50 $this->assertEquals($infoexpected, $info); 52 $info = $pagelog->getRevisionInfo($rev); 53 $this->assertEquals($infoexpected, $info); 65 $info = $pagelog->getRevisionInfo($rev); 66 $this->assertEquals($infoexpected, $info); 78 $info = $pagelog->getRevisionInfo($rev); 79 $this->assertEquals($infoexpected, $info); 91 $info = $pagelog->getRevisionInfo($rev); 92 $this->assertEquals($infoexpected, $info); [all …]
|
D | common_mediainfo.test.php | 21 $info = array ( 31 return $info; 42 $info = $this->_get_info(); 43 $info['image'] = 'testimage.png'; 45 $this->assertEquals(mediainfo(),$info);
|
D | init_fullpath.test.php | 29 $info = "Testing '$from' resulted in '".fullpath($from)."'"; 31 $this->assertEquals(fullpath($from), $to, $info); 78 $info = "Testing '$from' resulted in '".fullpath($from)."'"; 80 $this->assertEquals(fullpath($from), $to, $info);
|
D | httpclient_mock.php | 56 * @param string $info optional additional info 59 public function errorInfo($info = '') { argument 66 'Info' => $info
|
/dokuwiki/lib/plugins/authad/adLDAP/collections/ |
D | adLDAPCollection.php | 59 protected $info; variable in adLDAPCollection 61 public function __construct($info, adLDAP $adldap) argument 63 $this->setInfo($info); 70 * @param array $info 72 public function setInfo(array $info) argument 74 if ($this->info && sizeof($info) >= 1) { 75 unset($this->info); 77 $this->info = $info; 88 if (isset($this->info[0]) && is_array($this->info[0])) { 89 foreach ($this->info[0] as $keyAttr => $valueAttr) { [all …]
|
/dokuwiki/lib/plugins/styling/_test/ |
D | general.test.php | 17 $info = confToHash($file); 19 $this->assertArrayHasKey('base', $info); 20 $this->assertArrayHasKey('author', $info); 21 $this->assertArrayHasKey('email', $info); 22 $this->assertArrayHasKey('date', $info); 23 $this->assertArrayHasKey('name', $info); 24 $this->assertArrayHasKey('desc', $info); 25 $this->assertArrayHasKey('url', $info); 27 $this->assertEquals('styling', $info['base']); 28 $this->assertMatchesRegularExpression('/^https?:\/\//', $info['url']); [all …]
|
/dokuwiki/inc/ChangeLog/ |
D | ChangeLogTrait.php | 17 abstract public function addLogEntry(array $info, $timestamp = null); argument 29 $info = sexplode("\t", rtrim($line, "\n"), 8); 30 if ($info[3]) { // we need at least the page id to consider it a valid line 32 'date' => (int)$info[0], // unix timestamp 33 'ip' => $info[1], // IP address (127.0.0.1) 34 'type' => $info[2], // log line type 35 'id' => $info[3], // page id 36 'user' => $info[4], // user name 37 'sum' => $info[5], // edit summary (or action reason) 38 'extra' => $info[6], // extra data (varies by line type) [all …]
|
D | PageChangeLog.php | 45 * @param array $info Revision info structure of a page 51 public function addLogEntry(array $info, $timestamp = null) argument 55 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]); 58 $logline = static::buildLogLine($info, $timestamp); 63 $this->currentRevision = $info['date']; 64 $info['mode'] = $this->getMode(); 65 $this->cache[$this->id][$this->currentRevision] = $info; 66 return $info;
|
D | MediaChangeLog.php | 45 * @param array $info Revision info structure of a media file 51 public function addLogEntry(array $info, $timestamp = null) argument 55 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]); 58 $logline = static::buildLogLine($info, $timestamp); 63 $this->currentRevision = $info['date']; 64 $info['mode'] = $this->getMode(); 65 $this->cache[$this->id][$this->currentRevision] = $info; 66 return $info;
|
D | RevisionInfo.php | 21 protected $info; variable in dokuwiki\\ChangeLog\\RevisionInfo 26 * @param array $info Revision Information structure with entries: 40 public function __construct($info = null) argument 42 if (!is_array($info) || !isset($info['id'])) { 43 $info = [ 48 $this->info = $info; 77 if (isset($value) && !array_key_exists($key, $this->info)) { 79 $this->info[$key] = $value; 81 if (array_key_exists($key, $this->info)) { 83 return $this->info[$key]; [all …]
|
D | ChangeLog.php | 116 $info = static::parseLogLine($value); 117 if (is_array($info)) { 118 $info['mode'] = $this->getMode(); 119 $this->cache[$this->id][$info['date']] ??= $info; 120 return $info; 297 $info = $this->parseAndCacheLogLine($lines[$i]); 298 if (is_array($info)) { 299 $revs[] = $info['date']; 343 $info = []; 354 $info = $this->parseAndCacheLogLine($lines[$i]); [all …]
|
/dokuwiki/lib/plugins/authpdo/_test/ |
D | sqlite.test.php | 130 $info = $auth->getUserData('admin'); 131 $this->assertEquals('admin', $info['user']); 132 $this->assertEquals('The Admin', $info['name']); 133 $this->assertEquals('admin@example.com', $info['mail']); 134 $this->assertEquals(array('additional', 'admin', 'user'), $info['grps']); 143 $info = $auth->getUserData('test'); 144 $this->assertEquals('test', $info['user']); 145 $this->assertEquals('A Test user', $info['name']); 146 $this->assertEquals('test@example.com', $info['mail']); 147 $this->assertEquals(array('newgroup', 'user'), $info['grps']); [all …]
|
D | mysql.test.php | 118 $info = 'DSN: ' . $auth->getConf('dsn'); 119 $this->assertTrue($auth->success, $info); 123 $this->assertGreaterThanOrEqual(count($users), count($list), $info); 128 $this->assertGreaterThanOrEqual(1, $list, $info); 151 $this->assertTrue($ok, $info); 153 $this->assertEquals($newuser['user'], $check['user'], $info); 154 $this->assertEquals($newuser['mail'], $check['mail'], $info); 156 $this->assertEquals($groups, $check['grps'], $info); 168 $info = 'DSN: ' . $auth->getConf('dsn') . ' User:' . $user['user']; 171 $this->assertTrue($auth->checkPass($user['user'], $user['pass']), $info); [all …]
|
/dokuwiki/lib/plugins/authad/adLDAP/classes/ |
D | adLDAPComputers.php | 63 public function info($computerName, $fields = NULL) function in adLDAPComputers 90 $info = $this->info($computerName, $fields); 92 if ($info !== false) { 93 $collection = new adLDAPComputerCollection($info, $this->adldap); 139 $info = @$this->info($computerName, array("memberof", "primarygroupid")); 140 …$groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry retur…
|
D | adLDAPGroups.php | 74 $childGroup = $this->info($child, array("cn")); 110 $groupInfo = $this->info($group, array("cn")); 139 $groupInfo = $this->info($group, array("cn")); 200 $groupInfo = $this->info($group, array("*")); 219 $parentGroup = $this->info($parent, array("cn")); 226 $childGroup = $this->info($child, array("cn")); 254 $groupInfo = $this->info($group, array("cn")); 287 $groupInfo = $this->info($group, array("cn")); 316 $info = $this->info($group, array("member","cn")); 317 $groups = $info[0]["member"]; [all …]
|
/dokuwiki/lib/plugins/authad/ |
D | auth.php | 221 $result = $adldap->user()->info($this->getUserName($user), $fields); 227 $info = []; 228 $info['name'] = $result[0]['displayname'][0]; 229 $info['mail'] = $result[0]['mail'][0]; 230 $info['uid'] = $result[0]['samaccountname'][0]; 231 $info['dn'] = $result[0]['dn']; 233 $info['lastpwd'] = $result[0]['pwdlastset'][0] / 10_000_000 - 11_644_473_600; 235 … $info['expires'] = !($result[0]['useraccountcontrol'][0] & 0x10000); //ADS_UF_DONT_EXPIRE_PASSWD 240 $info[$field] = $result[0][strtolower($field)][0]; 245 …$info['grps'] = $adldap->user()->groups($this->getUserName($user), (bool) $this->opts['recursive_g… [all …]
|
/dokuwiki/lib/plugins/authldap/ |
D | auth.php | 108 $info = $this->fetchUserData($user, true); 109 if (empty($info['dn'])) { 112 $dn = $info['dn']; 188 $info = []; 189 $info['user'] = $user; 190 $this->debug('LDAP user to find: ' . hsc($info['user']), 0, __LINE__, __FILE__); 192 $info['server'] = $this->getConf('server'); 193 $this->debug('LDAP Server: ' . hsc($info['server']), 0, __LINE__, __FILE__); 196 $base = $this->makeFilter($this->getConf('usertree'), $info); 198 $filter = $this->makeFilter($this->getConf('userfilter'), $info); [all …]
|
/dokuwiki/inc/ |
D | common.php | 175 $info = []; 176 $info['isadmin'] = false; 177 $info['ismanager'] = false; 179 $info['userinfo'] = $USERINFO; 180 $info['perm'] = auth_quickaclcheck($id); 181 $info['client'] = $INPUT->server->str('REMOTE_USER'); 183 if ($info['perm'] == AUTH_ADMIN) { 184 $info['isadmin'] = true; 185 $info['ismanager'] = true; 187 $info['ismanager'] = true; [all …]
|
D | search.php | 204 $info = []; 205 $info['id'] = pathID($file, true); 206 if ($info['id'] !== cleanID($info['id'])) { 208 msg(hsc($info['id']) . ' is not a valid file name for DokuWiki - skipped', -1); 213 $info['perm'] = auth_quickaclcheck(getNS($info['id']) . ':*'); 214 if (empty($opts['skipacl']) && $info['perm'] < AUTH_READ) { 219 if (!empty($opts['pattern']) && !@preg_match($opts['pattern'], $info['id'])) { 223 $info['file'] = PhpString::basename($file); 224 $info['size'] = filesize($base . '/' . $file); 225 $info['mtime'] = filemtime($base . '/' . $file); [all …]
|
/dokuwiki/lib/plugins/info/ |
D | plugin.info.txt | 1 base info 7 url https://www.dokuwiki.org/plugin:info
|
D | syntax.php | 144 foreach ($plginfo as $info) { 147 $renderer->externallink($info['url'], $info['name']); 150 $renderer->cdata($info['date']); 153 $renderer->emaillink($info['email'], $info['author']); 155 $renderer->cdata($info['desc']); 178 $info = $po->getInfo(); 180 $hid = $this->addToToc($info['name'], 2, $renderer); 181 … $doc = '<h2><a name="' . $hid . '" id="' . $hid . '">' . hsc($info['name']) . '</a></h2>'; 183 $doc .= '<p>' . strtr(hsc($info['desc']), ["\n" => "<br />"]) . '</p>';
|
/dokuwiki/inc/Remote/Response/ |
D | Media.php | 78 $info = $pagelog->getRevisionInfo($this->revision); 79 $this->author = is_array($info) ? ($info['user'] ?: $info['ip']) : '';
|
D | Page.php | 98 $info = $pagelog->getRevisionInfo($this->revision); 99 $this->author = is_array($info) ? ($info['user'] ?: $info['ip']) : '';
|