Class StandardPage

Description

Wicked Page class for most pages.

$Horde: wicked/lib/Page/StandardPage.php,v 1.75.2.3 2010/02/14 17:32:11 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/StandardPage.php (line 18)

Page
   |
   --StandardPage
Direct descendents
Class Description
 class StdHistoryPage Wicked Page class for old versions of pages.
Variable Summary
 array $_lock
 Horde_Lock $_locks
Method Summary
 StandardPage StandardPage (string $pagename)
 boolean allows (integer $mode)
 void changeLog ()
 void diff ( $version)
 void displayContents ( $isBlock)
 void getDiff (string $version, [string $renderer = 'unified'])
 void getLockTime ()
 void getText ()
 void history ()
 void hits ()
 void isLocked ([ $owner = null])
 void lock ()
 void pageID ()
 void pageName ()
 void unlock ()
 void updateText ( $newtext,  $changelog,  $minorchange)
 void version ()
 void versionCreated ()
Variables
array $supportedModes = array(
WICKED_MODE_DISPLAY => true,
WICKED_MODE_EDIT => true,
WICKED_MODE_REMOVE => true,
WICKED_MODE_HISTORY => true,
WICKED_MODE_DIFF => true)
(line 25)

Display modes supported by this page.


Redefinition of:
Page::$supportedModes
Display modes supported by this page. Possible modes:

Redefined in descendants as:
array $_lock = null (line 44)

Lock information if this page is currently locked.

Horde_Lock $_locks = null (line 37)

A Horde_Locks instance for un-/locking this page.

Inherited Variables

Inherited from Page

Page::$_page
Page::$_proc
Methods
Constructor StandardPage (line 51)

Constructs a standard page class to represent a wiki page.

StandardPage StandardPage (string $pagename)
  • string $pagename: The name of the page to represent.
allows (line 132)

Returns if the page allows a mode. Access rights and user state are taken into consideration.

boolean allows (integer $mode)
  • integer $mode: The mode to check for.

Redefinition of:
Page::allows()
Returns if the page allows a mode. Access rights and user state are taken into consideration.
changeLog (line 351)
void changeLog ()
diff (line 367)
void diff ( $version)
  • $version

Redefinition of:
Page::diff()
Render this page in Diff mode.
displayContents (line 165)
void displayContents ( $isBlock)
  • $isBlock

Redefinition of:
Page::displayContents()
getDiff (line 379)

Produces a diff for this page.

void getDiff (string $version, [string $renderer = 'unified'])
  • string $version: Previous version, or null if diffing with `before the beginning' (empty).
  • string $renderer: The diff renderer.
getLockRequestor (line 273)
void getLockRequestor ()
getLockTime (line 288)
void getLockTime ()
getText (line 330)
void getText ()

Redefinition of:
Page::getText()
history (line 205)

Renders this page in History mode.

void history ()

Redefinition of:
Page::history()
Render this page in History mode.
hits (line 344)
void hits ()

Redefinition of:
Page::hits()
isLocked (line 242)
void isLocked ([ $owner = null])
  • $owner

Redefinition of:
Page::isLocked()
lock (line 253)
void lock ()

Redefinition of:
Page::lock()
pageID (line 318)
void pageID ()
pageName (line 323)
void pageName ()

Redefinition of:
Page::pageName()
unlock (line 265)
void unlock ()

Redefinition of:
Page::unlock()
updateText (line 294)
void updateText ( $newtext,  $changelog,  $minorchange)
  • $newtext
  • $changelog
  • $minorchange

Redefinition of:
Page::updateText()
version (line 356)
void version ()

Redefinition of:
Page::version()
versionCreated (line 337)
void versionCreated ()

Redefinition of:
Page::versionCreated()

Inherited Methods

Inherited From Page

 Page::allows()
 Page::author()
 Page::block()
 Page::diff()
 Page::display()
 Page::displayContents()
 Page::formatVersionCreated()
 Page::getCurrentPage()
 Page::getPage()
 Page::getPermissions()
 Page::getProcessor()
 Page::getText()
 Page::handleAction()
 Page::history()
 Page::hits()
 Page::isLocked()
 Page::isOld()
 Page::isValid()
 Page::lock()
 Page::pageName()
 Page::pageTitle()
 Page::pageUrl()
 Page::preDisplay()
 Page::previousVersion()
 Page::referrer()
 Page::remove()
 Page::render()
 Page::supports()
 Page::unlock()
 Page::updateText()
 Page::version()
 Page::versionCreated()

Documentation generated on Sun, 30 Jan 2011 05:42:57 +0000 by phpDocumentor 1.4.3