Home
last modified time | relevance | path

Searched full:info (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/dokuwiki/_test/tests/inc/
H A Dcommon_pageinfo.test.php25 $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 …]
H A Dchangelog_getrevisioninfo.test.php49 $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 …]
H A Dcommon_basicinfo.test.php21 $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);
H A Dcommon_mediainfo.test.php21 $info = array (
31 return $info;
35 * We're interested in the extra keys for $INFO when its a media request
42 $info = $this->_get_info();
43 $info['image'] = 'testimage.png';
45 $this->assertEquals(mediainfo(),$info);
H A Dtemplate_tpl_get_action.php14 global $INFO;
19 $INFO['writable'] = true;
20 $INFO['exists'] = true;
21 $INFO['draft'] = '';
40 global $INFO;
45 $INFO['writable'] = true;
46 $INFO['exists'] = true;
47 $INFO['draft'] = '';
66 global $INFO;
71 $INFO['writable'] = true;
[all …]
H A Dhttpclient_mock.php56 * @param string $info optional additional info
59 public function errorInfo($info = '') { argument
66 'Info' => $info
H A Dtoolbar.test.php6 global $conf, $INFO, $INPUT;
10 $INFO['userinfo']['name'] = '/*!]]>*/</script><script>alert("\123\")</script>';
11 $INFO['userinfo']['mail'] = 'example@example.org';
/dokuwiki/lib/plugins/styling/_test/
H A Dgeneral.test.php11 * Simple test to make sure the plugin.info.txt is in correct format
14 $file = __DIR__.'/../plugin.info.txt';
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);
[all …]
/dokuwiki/vendor/paragonie/random_compat/
H A Dpsalm.xml11 <RedundantConditionGivenDocblockType errorLevel="info" />
12 <UnresolvableInclude errorLevel="info" />
13 <DuplicateClass errorLevel="info" />
14 <InvalidOperand errorLevel="info" />
15 <UndefinedConstant errorLevel="info" />
16 <MissingReturnType errorLevel="info" />
17 <InvalidReturnType errorLevel="info" />
/dokuwiki/lib/plugins/authad/adLDAP/collections/
H A DadLDAPCollection.php55 * The raw info array from Active Directory
59 protected $info; variable in adLDAPCollection
61 public function __construct($info, adLDAP $adldap) argument
63 $this->setInfo($info);
68 * Set the raw info array from Active Directory
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;
[all …]
/dokuwiki/inc/ChangeLog/
H A DPageChangeLog.php45 * @param array $info Revision info structure of a page
47 * @return array revision info of added log line
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;
H A DMediaChangeLog.php45 * @param array $info Revision info structure of a media file
47 * @return array revision info of added log line
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;
H A DChangeLogTrait.php15 * @return array added log line as revision info
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)
[all …]
/dokuwiki/inc/Action/
H A DDraft.php22 global $INFO;
23 if ($INFO['exists']) {
34 global $INFO;
35 … if (!isset($INFO['draft']) || !file_exists($INFO['draft'])) throw new ActionException('edit');
H A DEdit.php21 global $INFO;
22 if ($INFO['exists']) {
35 global $INFO;
38 if ($INFO['exists'] && !$INFO['writable']) {
47 global $INFO;
59 if ($INFO['exists']) {
74 } elseif (!$INFO['exists']) {
H A DSave.php20 global $INFO;
21 if ($INFO['exists']) {
40 global $INFO;
51 && isset($INFO['meta']['date']['modified'])
52 && $INFO['meta']['date']['modified'] > $DATE
/dokuwiki/lib/plugins/info/
H A Dplugin.info.txt1 base info
5 name Info Plugin
7 url https://www.dokuwiki.org/plugin:info
/dokuwiki/lib/plugins/authpdo/_test/
H A Dmysql.test.php118 $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 …]
H A Dsqlite.test.php80 …$conf['plugin']['authpdo']['update-user-info'] = 'UPDATE user SET name = :name, mail = :mail WHERE…
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']);
[all …]
/dokuwiki/inc/Menu/Item/
H A DAdmin.php16 global $INFO;
24 if (!isset($INFO) || !$INFO['ismanager']) {
H A DEdit.php17 global $INFO;
24 if ($INFO['writable']) {
26 if (!empty($INFO['draft'])) {
31 if (!$INFO['exists']) {
42 …if (auth_quickaclcheck($INFO['id']) < AUTH_READ) throw new \RuntimeException("no permission to rea…
/dokuwiki/inc/Ui/
H A DPageDraft.php25 global $INFO;
28 $draft = new Draft($INFO['id'], $INFO['client']);
35 (new PageDiff($INFO['id']))->compareWith($text)->preference('showIntro', false)->show();
40 $form->setHiddenField('id', $INFO['id']);
/dokuwiki/lib/plugins/authldap/
H A Dauth.php108 $info = $this->fetchUserData($user, true);
109 if (empty($info['dn'])) {
112 $dn = $info['dn'];
127 * Return user info
129 * Returns info about the given user needs to contain
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__);
[all …]
/dokuwiki/lib/exe/
H A Ddetail.php9 global $INPUT, $INFO, $IMG, $ID, $REV, $SRC, $ERROR, $AUTH;
17 // this makes some general info available as well as the info about the
19 $INFO = array_merge(pageinfo(), mediainfo()); variable
/dokuwiki/lib/plugins/authad/
H A Dauth.php179 * Return user info [required auth function]
181 * Returns info about the given user needs to contain
220 //get info for given user
221 $result = $adldap->user()->info($this->getUserName($user), $fields);
226 //general user info
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'];
[all …]

12345678910>>...13