Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 74) sorted by relevance

123

/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);
[all...]
/dokuwiki/inc/ChangeLog/
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[
53 buildLogLine(array& $info, $timestamp = null) global() argument
[all...]
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)
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;
43 addLogEntry(array $info, $timestamp = null) global() argument
[all...]
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)
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;
43 addLogEntry(array $info, $timestamp = null) global() argument
[all...]
H A DRevisionInfo.php21 protected $info;
26 * @param array $info Revision Information structure with entries:
40 public function __construct($info = null)
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[
16 protected $info; global() variable in dokuwiki\\ChangeLog\\RevisionInfo
35 __construct($info = null) global() argument
92 append(array $info) global() argument
[all...]
H A DChangeLog.php109 * Parses a changelog line into its components and save revision info to the cache pool
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;
133 * @param bool $retrieveCurrentRevInfo allows to skip for getting other revision info in the
297 $info = $this->parseAndCacheLogLine($lines[$i]);
298 if (is_array($info)) {
106 cacheRevisionInfo($info) global() argument
[all...]
/dokuwiki/lib/plugins/extension/
H A Dadmin.php81 foreach ($installed as $info) {
83 $this->getLang('msg_' . $info['type'] . '_' . $info['action'] . '_success'),
84 $info['base']
136 foreach ($installed as $info) {
138 $this->getLang('msg_' . $info['type'] . '_' . $info['action'] . '_success'),
139 $info['base']
145 foreach ($installed as $info) {
147 $this->getLang('msg_' . $info['typ
[all...]
/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['serve
482 filter($user, $info) global() argument
[all...]
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPComputers.php63 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 returned is our guy (unique usernames)
H A DadLDAPGroups.php74 $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(
416 public function info($groupName, $fields = NULL) global() function in adLDAPGroups
[all...]
H A DadLDAPContacts.php113 $info = @$this->info($distinguishedName, array("memberof", "primarygroupid"));
114 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry returned is our contact
133 public function info($distinguishedName, $fields = NULL) function in adLDAPContacts
171 $info = $this->info($distinguishedName, $fields);
173 if ($info !== false) {
174 $collection = new adLDAPContactCollection($info, $this->adldap);
/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['d
764 filter($user, $info) global() argument
[all...]
/dokuwiki/inc/
H A Dcommon.php161 * @param bool $htmlClient add info about whether is mobile browser
162 * @return array with info for a request of $id
171 // set info about manager/admin status.
172 $info = [];
173 $info['isadmin'] = false;
174 $info['ismanager'] = false;
176 $info['userinfo'] = $USERINFO;
177 $info['perm'] = auth_quickaclcheck($id);
178 $info['client'] = $INPUT->server->str('REMOTE_USER');
180 if ($info['per
[all...]
H A Dsearch.php204 $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['fil
[all...]
/dokuwiki/lib/plugins/info/
H A Dplugin.info.txt1 base info
7 url http://dokuwiki.org/plugin:info
H A Dsyntax.php74 //handle various info stuff
113 $renderer->doc .= "no info about " . htmlspecialchars($data[0]);
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
[all...]
/dokuwiki/inc/Ui/
H A DRecent.php92 $RevInfo->showEditor(), // editor info
154 * $info['date'] is to be incremented 1 second when such deletion detected.
156 protected function checkCurrentRevision(array &$info) argument
158 if ($info['mode'] == RevisionInfo::MODE_PAGE) {
159 $changelog = new PageChangelog($info['id']);
161 $changelog = new MediaChangelog($info['id']);
163 if (!$changelog->isCurrentRevision($info['date'])) {
166 // the page or media file was externally deleted, updated info because the link is already red
168 $info = array_merge($info,
[all...]
H A DMediaRevisions.php71 foreach ($revisions as $info) {
72 $rev = $info['date'];
73 $RevInfo = new RevisionInfo($info);
95 $RevInfo->showEditor(), // editor info
H A DPageRevisions.php70 foreach ($revisions as $info) {
71 $rev = $info['date'];
73 $RevInfo = new RevisionInfo($info);
96 $RevInfo->showEditor(), // editor info
/dokuwiki/bin/
H A Drender.php57 $info = [];
58 $result = p_render($renderer, p_get_instructions($source), $info);
/dokuwiki/inc/Extension/
H A DAdminPlugin.php26 $info = $this->getInfo();
27 $menutext = $info['name'] . ' ...';
/dokuwiki/lib/plugins/authplain/
H A Dauth.php77 * Return user info
79 * Returns info about the given user needs to contain
88 * @param bool $requireGroups (optional) ignored by this plugin, grps info always supplied
288 foreach ($this->users as $user => $info) {
289 $count += $this->filter($user, $info);
317 foreach ($this->users as $user => $info) {
318 if ($this->filter($user, $info)) {
320 $out[$user] = $info;
344 foreach ($this->users as $info) {
345 $groups = array_merge($groups, array_diff($info['grp
455 filter($user, $info) global() argument
[all...]
/dokuwiki/inc/Remote/
H A DApiCore.php35 'core.getAPIVersion' => (new ApiCall([$this, 'getAPIVersion'], 'info'))->setPublic(),
37 'core.getWikiVersion' => new ApiCall('getVersion', 'info'),
38 'core.getWikiTitle' => (new ApiCall([$this, 'getWikiTitle'], 'info'))->setPublic(),
39 'core.getWikiTime' => (new ApiCall([$this, 'getWikiTime'], 'info')),
75 // region info
491 $info = $pagelog->getRevisionInfo($rev);
496 $info['user'],
497 $info['ip'],
498 $info['sum'],
499 $info['typ
[all...]
/dokuwiki/inc/File/
H A DMediaFile.php130 $info = getimagesize($this->path);
131 if ($info === false) return;
132 [$this->width, $this->height] = $info;
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingRenderer.php29 $info = $renderer->getInfo();
30 $this->prompts[$plugin] = $info['name'];

123