Class Wicked
Wicked Base Class.
Copyright 2003-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
public static
Horde_Url
|
|
public static
|
|
public static
|
|
public static
string
|
|
public static
string
|
integer |
MODE_DISPLAY
Display mode. |
#
0
|
integer |
MODE_EDIT
The edit screen. |
#
1
|
integer |
MODE_REMOVE
Page can be removed. |
#
2
|
integer |
MODE_HISTORY
Display the page history. |
#
3
|
integer |
MODE_DIFF
Diff two versions of the page. |
#
4
|
integer |
MODE_LOCKING
Page can be locked. |
#
7
|
integer |
MODE_UNLOCKING
Page can be unlocked. |
#
8
|
integer |
MODE_CREATE
The ability to add a page. |
#
9
|
integer |
MODE_CONTENT
Raw content mode. |
#
10
|
integer |
MODE_BLOCK
Like display, but for a block. |
#
11
|
string |
REGEXP_WIKIWORD
Our wiki word regexp (needed many places). "(!?" . // START WikiPage pattern (1) "[A-Z\xc0-\xde]" . // 1 upper "[A-Za-z0-9\xc0-\xfe]" . // 0+ alpha or digit "[a-z0-9\xdf-\xfe]+" . // 1+ lower or digit "\/?" . // 0/1 slash "[A-Z\xc0-\xde]" . // 1 upper "[A-Za-z0-9\xc0-\xfe\/]" . // 0+ or more alpha or digit or slash ")" . // END WikiPage pattern (/1) "((#" . // START Anchor pattern (2)(3) "[A-Za-z0-9\xc0-\xfe]" . // 1 alpha "(" . // start sub pattern (4) "[-_A-Za-z0-9\xc0-\xfe:.]*" . // 0+ dash, alpha, digit, underscore, // colon, dot "[-_A-Za-z0-9\xc0-\xfe]" . // 1 dash, alpha, digit, or underscore ")?)?)"); // end subpatterns (/4)(/3)(/2) |
#
"(!?[A-Z\xc0-\xde][A-Za-z0-9\xc0-\xfe]*[a-z0-9\xdf-\xfe]+\/?[A-Z\xc0-\xde][A-Za-z0-9\xc0-\xfe\/]*)((\#[A-Za-z0-9\xc0-\xfe]([-_A-Za-z0-9\xc0-\xfe:.]*[-_A-Za-z0-9\xc0-\xfe])?)?)"
|
string |
VFS_ATTACH_PATH
Where we store our attachments in VFS. |
#
'.horde/wicked/attachments'
|