Class NewPage

Description

Wicked NewPage class.

Located in /lib/Page/NewPage.php (line 24)

Page
   |
   --NewPage
Variable Summary
 string $_referrer
 string $_template
Method Summary
 NewPage NewPage ( $referrer)
 mixed display ()
 integer getPermissions ()
 void handleAction ()
 void pageName ()
 void pageTitle ()
 void preDisplay ()
 void referrer ()
Variables
array $supportedModes = array(
WICKED_MODE_DISPLAY => true,
WICKED_MODE_EDIT => true)
(line 31)

Display modes supported by this page.


Redefinition of:
Page::$supportedModes
Display modes supported by this page. Possible modes:
string $_referrer = null (line 40)

The page that we're creating.

string $_template = null (line 47)

Page template to use.

Inherited Variables

Inherited from Page

Page::$_page
Page::$_proc
Methods
Constructor NewPage (line 49)
NewPage NewPage ( $referrer)
  • $referrer
display (line 88)

Render this page in Display mode.

  • return: Returns true or PEAR_Error.
mixed display ()

Redefinition of:
Page::display()
Render this page in Display mode. You really must override this function if your page is to be anything like a real page.
getPermissions (line 60)

Retrieve this user's permissions for the referring page.

  • return: The permissions bitmask.
integer getPermissions ()

Redefinition of:
Page::getPermissions()
Retrieve this user's permissions for this page. If a permissions object does not exist, we assume reasonable defaults.
handleAction (line 120)
void handleAction ()

Redefinition of:
Page::handleAction()
pageName (line 105)
void pageName ()

Redefinition of:
Page::pageName()
pageTitle (line 110)
void pageTitle ()

Redefinition of:
Page::pageTitle()
preDisplay (line 69)

Send them back whence they came if they aren't allowed to edit this page.

void preDisplay ()

Redefinition of:
Page::preDisplay()
Perform any pre-display checks for permissions, searches,
referrer (line 115)
void referrer ()

Redefinition of:
Page::referrer()

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:56 +0000 by phpDocumentor 1.4.3