Property | Type | Description | |
---|---|---|---|
$supportedModes | array | 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 |
Property | Type | Description | |
---|---|---|---|
$_page | array | The loaded page info. | |
$_proc | Text_Wiki | Instance of a Text_Wiki processor. |
Method | Description | |
---|---|---|
allows ( integer $mode ) : boolean | Returns if the page allows a mode. Access rights and user state are taken into consideration. | |
author ( ) | ||
block ( ) : string | Renders this page for displaying in a block. | |
changeLog ( ) | ||
diff ( string $version ) | Renders this page in diff mode. | |
display ( ) | Renders this page in display mode. | |
displayContents ( $isBlock ) | ||
formatVersionCreated ( ) | ||
getCurrentPage ( ) : Wicked_Page | Returns the page we are currently on. | |
getPage ( $pagename, $pagever = null, $referrer = null ) : Wicked_Page | Returns the requested page. | |
getPermissions ( $pageName = null ) : integer | Retrieve this user's permissions for this page. If a permissions object does not exist, we assume reasonable defaults. | |
getProcessor ( $output_format = 'Xhtml' ) | ||
getText ( ) | ||
handleAction ( ) | ||
history ( ) | Renders this page in history mode. | |
hits ( ) | ||
isLocked ( ) | ||
isOld ( ) | ||
isValid ( ) : boolean | Is this a validly loaded page? | |
lock ( ) | ||
pageName ( ) | ||
pageTitle ( ) | ||
pageUrl ( $linkpage = null, $actionId = null ) | ||
preDisplay ( $mode, $params ) | 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). | |
previousVersion ( ) : string | Returns the previous version number for this page. | |
referrer ( ) | ||
remove ( ) | Renders this page in remove mode. | |
render ( $mode, $params = null ) | ||
supports ( integer $mode ) : boolean | See if the page supports a particular mode. | |
toView ( ) : object | Returns an object with Horde_View properties. | |
unlock ( ) | ||
updateText ( $newtext, $changelog ) | ||
version ( ) | ||
versionCreated ( ) |
Method | Description | |
---|---|---|
_getLinkConf ( boolean $full = false ) : array | Returns a link configuration for Text_Wiki. |
protected _getLinkConf ( boolean $full = false ) : array | ||
$full | boolean | @see Wicked::url() |
return | array | A link configuration for Wiklink and Freelink rules. |
public display ( ) |
public static getCurrentPage ( ) : Wicked_Page | ||
return | Wicked_Page | The current page. |
public static getPage ( $pagename, $pagever = null, $referrer = null ) : Wicked_Page | ||
return | Wicked_Page | The requested page. |
public getPermissions ( $pageName = null ) : integer | ||
return | integer | The permissions bitmask. |
public preDisplay ( $mode, $params ) |
public previousVersion ( ) : string | ||
return | string | A string containing the previous version or null if this is the first version. |
protected Text_Wiki $_proc | ||
return | Text_Wiki |
public array $supportedModes | ||
return | array |