devel:environment
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:environment [2013-08-07 16:08] – [DOKU_<*>] Klap-in | devel:environment [2023-11-05 14:50] (current) – Klap-in | ||
---|---|---|---|
Line 8: | Line 8: | ||
Holds the current action, see [[Action Modes]]. ([[xref> | Holds the current action, see [[Action Modes]]. ([[xref> | ||
+ | |||
+ | :!: '' | ||
+ | |||
+ | :!: If you are handling an [[devel: | ||
==== $auth ==== | ==== $auth ==== | ||
- | The globally available '' | + | The globally available '' |
==== $conf ==== | ==== $conf ==== | ||
Line 19: | Line 23: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
- | * '' | + | * '' |
Normally you don't need to access this array directly. Both, Plugins and Templates have their own methods to accessing their respective configuration settings. | Normally you don't need to access this array directly. Both, Plugins and Templates have their own methods to accessing their respective configuration settings. | ||
Line 72: | Line 76: | ||
==== $REV ==== | ==== $REV ==== | ||
- | Holds the revision timestamp of the currently rendered page. This is '' | + | Holds the revision timestamp of the currently rendered page. This is '' |
==== $_SERVER[' | ==== $_SERVER[' | ||
This variable is explicitly set by DokuWiki' | This variable is explicitly set by DokuWiki' | ||
+ | <code php> | ||
+ | $userid = $INPUT-> | ||
+ | </ | ||
==== $TEXT ==== | ==== $TEXT ==== | ||
Line 88: | Line 95: | ||
==== $USERINFO ==== | ==== $USERINFO ==== | ||
- | An globally available associative array which hold some information of a **authenticated** user. | + | An globally available associative array which hold some information of an **authenticated** user. |
* pass - hash of the users' password | * pass - hash of the users' password | ||
Line 94: | Line 101: | ||
* mail - the users' mail address | * mail - the users' mail address | ||
* grps - array of groups the user is part of | * grps - array of groups the user is part of | ||
+ | |||
+ | If logged out, or not logged in, this global is set to null. | ||
([[xref> | ([[xref> | ||
+ | |||
+ | The array is filled in [[xref> | ||
==== $JSINFO ==== | ==== $JSINFO ==== | ||
Line 200: | Line 211: | ||
=== DOKU_TPL === | === DOKU_TPL === | ||
- | The URL base path to the current used template. ([[xref> | + | ([[deprecated]]) |
/ | / | ||
Line 212: | Line 223: | ||
=== DOKU_TPLINC === | === DOKU_TPLINC === | ||
- | The server side include path of the current used template. ([[xref> | + | ([[deprecated]]) |
/ | / | ||
Line 225: | Line 236: | ||
/ | / | ||
- | | + | ===== Request Variables ===== |
+ | |||
+ | Since 2012-09-10 “Adora Belle”, request variables are accessible through the [[xref> |
devel/environment.1375884515.txt.gz · Last modified: 2013-08-07 16:08 by Klap-in