PageWicked Abtract Page Class.
$Horde: wicked/lib/Page.php,v 1.106.2.5 2010/02/14 18:16:31 jan Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/Page.php (line 15)
| Class | Description |
|---|---|
Search
|
Wicked SearchAll class. |
StandardPage
|
Wicked Page class for most pages. |
AddPage
|
Wicked AddPage class. |
AllPages
|
Wicked AllPages class. |
AttachedFiles
|
Wicked AttachedFiles class. |
BackLinks
|
Wicked BackLinks class. |
DeletePage
|
Wicked DeletePage class (for confirming deletion). |
EditPage
|
Wicked EditPage class. |
LeastPopular
|
Wicked LeastPopular class. |
LikePages
|
Wicked LikePages class. |
MostPopular
|
Wicked MostPopular class. |
NewPage
|
Wicked NewPage class. |
RecentChanges
|
Wicked RecentChanges class. |
RevertPage
|
Wicked RevertPage class (for confirming reversions). |
SyncPages
|
Wicked SyncPages class. |
MergeOrRename
|
Special page for merging or renaming pages. |
array
$supportedModes
= array() (line 32)
Display modes supported by this page. Possible modes:
WICKED_MODE_CONTENT WICKED_MODE_DISPLAY WICKED_MODE_EDIT WICKED_MODE_REMOVE WICKED_MODE_HISTORY WICKED_MODE_DIFF WICKED_MODE_LOCKING WICKED_MODE_UNLOCKING WICKED_MODE_CREATE
array
$_page
(line 46)
The loaded page info.
Text_Wiki
$_proc
(line 39)
Instance of a Text_Wiki processor.
allows (line 98)
Returns if the page allows a mode. Access rights and user state are taken into consideration.
author (line 251)
block (line 368)
Render this page for displaying in a block. You really must override this function if your page is to be anything like a real page.
diff (line 403)
Render this page in Diff mode.
display (line 338)
Render this page in Display mode. You really must override this function if your page is to be anything like a real page.
displayContents (line 373)
formatVersionCreated (line 240)
getCurrentPage (line 186)
Get the page we are currently on.
getPage (line 198)
Get the page we are currently on.
getPermissions (line 65)
Retrieve this user's permissions for this page. If a permissions object does not exist, we assume reasonable defaults.
getProcessor (line 408)
handleAction (line 575)
history (line 393)
Render this page in History mode.
isLocked (line 515)
isValid (line 53)
Is this a validly loaded page?
pageName (line 540)
pageTitle (line 570)
pageUrl (line 550)
preDisplay (line 358)
Perform any pre-display checks for permissions, searches,
etc. Called before any output is sent so the page can do redirects. If the page wants to take control of flow from here, it can, and is entirely responsible for handling the user (should call exit after redirecting, for example).
$param integer $mode The page render mode. $param array $params Any page parameters.
previousVersion (line 285)
Retrieve the previous version number for this page
referrer (line 545)
remove (line 383)
Render this page in Remove mode.
render (line 489)
supports (line 176)
See if the page supports a particular mode.
updateText (line 530)
versionCreated (line 235)
Documentation generated on Sun, 30 Jan 2011 05:42:56 +0000 by phpDocumentor 1.4.3