Class AttachedFiles

Description

Wicked AttachedFiles class.

$Horde: wicked/lib/Page/AttachedFiles.php,v 1.36.2.2 2010/04/26 15:39:36 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/AttachedFiles.php (line 19)

Page
   |
   --AttachedFiles
Variable Summary
Method Summary
 AttachedFiles AttachedFiles ( $referrer)
 string content ()
 mixed display ()
 integer getPermissions ()
 void handleAction ()
 void pageName ()
 void pageTitle ()
 void referrer ()
Variables
array $supportedModes = array(
WICKED_MODE_CONTENT => true,
WICKED_MODE_EDIT => true,
WICKED_MODE_REMOVE => true,
WICKED_MODE_DISPLAY => true)
(line 26)

Display modes supported by this page.


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

The page for which we'd like to manipulate attachments.

Inherited Variables

Inherited from Page

Page::$_page
Page::$_proc
Methods
Constructor AttachedFiles (line 42)

Constructor.

AttachedFiles AttachedFiles ( $referrer)
  • $referrer
content (line 62)

Returns this page rendered in Content mode.

  • return: The page content, or PEAR_Error.
string content ()
display (line 105)

Returns this page rendered 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 52)

Returns the current 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 182)

Retrieves the form fields and processes the attachment.

void handleAction ()

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

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

Redefinition of:
Page::pageTitle()
referrer (line 174)
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:54 +0000 by phpDocumentor 1.4.3