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.php59 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/inc/ChangeLog/
H A DChangeLogTrait.php29 $info = explode("\t", rtrim($line, "\n"));
30 if ($info !== false && count($info) > 1) {
35 'id' => $info[3], // page id
36 'user' => $info[4], // user name
39 'sizechange' => (isset($info[7]) && $info[7] !== '') ? (int)$info[7] : null, //
49 * @param array $info Revision info structure
58 'ip' => $info['ip'],
60 'id' => $info['id'],
61 'user' => $info['user'],
66 $info = $entry;
[all …]
H A DPageChangeLog.php37 * @param array $info Revision info structure of a page
43 public function addLogEntry(array $info, $timestamp = null) argument
47 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]);
50 $logline = $this->buildLogLine($info, $timestamp);
55 $this->currentRevision = $info['date'];
56 $this->cache[$this->id][$this->currentRevision] = $info;
57 return $info;
H A DMediaChangeLog.php37 * @param array $info Revision info structure of a media file
43 public function addLogEntry(array $info, $timestamp = null) argument
47 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]);
50 $logline = $this->buildLogLine($info, $timestamp);
55 $this->currentRevision = $info['date'];
56 $this->cache[$this->id][$this->currentRevision] = $info;
57 return $info;
H A DRevisionInfo.php16 protected $info; variable in dokuwiki\\ChangeLog\\RevisionInfo
35 public function __construct($info = null) argument
37 if (is_array($info) && isset($info['id'])) {
39 $info['mode'] = $info['media'] ? 'media' : 'page';
41 $info = [
46 $this->info = $info;
77 $this->info[$key] = $value;
81 return $this->info[$key];
89 * @param array $info
92 public function append(array $info) argument
[all …]
H A DChangeLog.php103 * @param array $info Revision info structure
106 protected function cacheRevisionInfo($info) argument
108 if (!is_array($info)) return false;
110 $this->cache[$this->id][$info['date']] = $this->cache[$this->id][$info['date']] ?? $info;
161 $info = $this->parseLogLine($value);
162 $this->cacheRevisionInfo($info);
289 $revs[] = $info['date'];
333 $info = array();
347 … if (($direction > 0 && $info['date'] > $rev) || ($direction < 0 && $info['date'] < $rev)) {
494 $revs[] = $info['date'];
[all …]
/dokuwiki/lib/plugins/extension/
H A Dadmin.php79 foreach ($installed as $ext => $info) {
81 … $this->getLang('msg_'.$info['type'].'_'.$info['action'].'_success'),
82 $info['base']), 1
133 foreach ($installed as $ext => $info) {
135 $this->getLang('msg_'.$info['type'].'_'.$info['action'].'_success'),
136 $info['base']), 1
142 foreach ($installed as $ext => $info) {
144 $this->getLang('msg_'.$info['type'].'_'.$info['action'].'_success'),
145 $info['base']), 1
/dokuwiki/lib/plugins/authldap/
H A Dauth.php107 if (empty($info['dn'])) {
110 $dn = $info['dn'];
186 $info = array();
187 $info['user'] = $user;
244 $info['grps'] = array();
308 if (!$info['grps'] or !in_array($conf['defaultgroup'], $info['grps'])) {
311 return $info;
332 if (empty($info['dn'])) {
336 $dn = $info['dn'];
434 if ($info === false) {
[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 retur…
H A DadLDAPGroups.php74 $childGroup = $this->info($child, array("cn"));
110 $groupInfo = $this->info($group, array("cn"));
316 $info = $this->info($group, array("member","cn"));
317 $groups = $info[0]["member"];
364 $info = $this->info($group, array("member","cn"));
365 $users = $info[0]["member"];
448 $info = $this->info($groupName, $fields);
449 if ($info !== false) {
475 $info = $this->info($parent, array("memberof"));
477 if (isset($info[0]["memberof"]) && is_array($info[0]["memberof"])) {
[all …]
H A DadLDAPContacts.php113 $info = @$this->info($distinguishedName, array("memberof", "primarygroupid"));
114 …$groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry retur…
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.php222 $info = array();
226 $info['dn'] = $result[0]['dn'];
242 if (is_array($info['grps'])) {
249 if (!is_array($info['grps']) || !in_array($conf['defaultgroup'], $info['grps'])) {
265 $info['expiresin'] = round(($info['expiresat'] - time())/(24*60*60));
286 return $info;
481 if ($info === false) {
527 if ($info === false) {
530 $result[$user] = $info;
554 $result[$user] = $info;
[all …]
/dokuwiki/inc/
H A Dcommon.php207 return $info;
238 $info['exists'] = file_exists($info['filepath']);
239 $info['currentrev'] = @filemtime($info['filepath']);
243 if ($info['exists'] && ($info['currentrev'] == $REV)) {
253 $info['exists'] = file_exists($info['filepath']);
258 $info['writable'] = (is_writable($info['filepath']) && $info['perm'] >= AUTH_EDIT);
260 $info['writable'] = ($info['perm'] >= AUTH_CREATE);
262 $info['editable'] = ($info['writable'] && empty($info['locked']));
263 $info['lastmod'] = @filemtime($info['filepath']);
313 return $info;
[all …]
H A Dsearch.php198 $info = array();
199 $info['id'] = pathID($file,true);
200 if($info['id'] != cleanID($info['id'])){
207 $info['perm'] = auth_quickaclcheck(getNS($info['id']).':*');
218 $info['size'] = filesize($base.'/'.$file);
219 $info['mtime'] = filemtime($base.'/'.$file);
220 $info['writable'] = is_writable($base.'/'.$file);
222 $info['isimg'] = true;
225 $info['isimg'] = false;
228 $info['hash'] = md5(io_readFile(mediaFN($info['id']),false));
[all …]
/dokuwiki/lib/plugins/info/
H A Dplugin.info.txt1 base info
7 url http://dokuwiki.org/plugin:info
H A Dsyntax.php141 foreach ($plginfo as $info) {
144 $renderer->externallink($info['url'], $info['name']);
147 $renderer->cdata($info['date']);
150 $renderer->emaillink($info['email'], $info['author']);
152 $renderer->cdata($info['desc']);
174 $info = $po->getInfo();
176 $hid = $this->addToToc($info['name'], 2, $renderer);
177 … $doc = '<h2><a name="' . $hid . '" id="' . $hid . '">' . hsc($info['name']) . '</a></h2>';
179 $doc .= '<p>' . strtr(hsc($info['desc']), array("\n" => "<br />")) . '</p>';
/dokuwiki/inc/Ui/
H A DRecent.php156 protected function checkCurrentRevision(array &$info) argument
158 $itemType = $info['media'] ? 'media' : 'page';
160 $changelog = new PageChangelog($info['id']);
162 $changelog = new MediaChangelog($info['id']);
164 if (!$changelog->isCurrentRevision($info['date'])) {
169 $info = array_merge($info, $currentRevInfo);
H A DMediaRevisions.php71 foreach ($revisions as $info) {
72 $rev = $info['date'];
73 $info['media'] = true;
74 $RevInfo = new RevisionInfo($info);
H A DPageRevisions.php70 foreach ($revisions as $info) {
71 $rev = $info['date'];
72 $info['media'] = false;
73 $RevInfo = new RevisionInfo($info);
/dokuwiki/inc/Extension/
H A DAdminPlugin.php27 $info = $this->getInfo();
28 $menutext = $info['name'] . ' ...';
/dokuwiki/bin/
H A Drender.php55 $info = array();
56 $result = p_render($renderer, p_get_instructions($source), $info);
/dokuwiki/lib/plugins/authplain/
H A Dauth.php281 foreach ($this->users as $user => $info) {
282 $count += $this->filter($user, $info);
310 foreach ($this->users as $user => $info) {
311 if ($this->filter($user, $info)) {
313 $out[$user] = $info;
337 foreach($this->users as $user => $info) {
338 $groups = array_merge($groups, array_diff($info['grps'], $groups));
470 * @param array $info User's userinfo array
473 protected function filter($user, $info) argument
479 if (!count(preg_grep($pattern, $info['grps']))) return false;
[all …]
/dokuwiki/inc/Remote/
H A DApiCore.php268 $info = array(
277 $info['size'] = filesize($file);
288 return $info;
493 $info = $pagelog->getRevisionInfo($rev);
498 'author' => is_array($info) ? (($info['user']) ? $info['user'] : $info['ip']) : null,
944 if (!empty($info)) {
946 $data['user'] = $info['user'];
947 $data['ip'] = $info['ip'];
948 $data['type'] = $info['type'];
949 $data['sum'] = $info['sum'];
[all …]
/dokuwiki/inc/File/
H A DMediaFile.php122 $info = getimagesize($this->path);
123 if ($info === false) return;
124 list($this->width, $this->height) = $info;
/dokuwiki/inc/lang/et/
H A Dregistermail.txt1 Uus kasutaja on registreeritud. Tema info:

123