Class viewfileAction

Description

Display the file in the specified record.

  • license: GNU General Public License (GPL)
  • version: $Id: viewfile.act.php,v 1.14 2007/09/19 14:04:56 adamfranco Exp $
  • copyright: Copyright © 2005, Middlebury College
  • author: Ryan Richards
  • author: Adam Franco
  • since: 11/11/04

Located in /polyphony/main/modules/repository/viewfile.act.php (line 28)

Action
   |
   --ForceAuthAction
      |
      --viewfileAction
Method Summary
void execute ()
mixed getRelm ()
Methods
execute (line 95)

Build the content for this action

  • since: 4/26/05
  • access: public
void execute ()

Redefinition of:
Action::execute()
Execute this action.
getCancelFunction (line 84)

Answer the cancel function for this action, to use if the user hits the 'cancel' button in the http authentication dialog.

  • return: string or null
  • since: 8/7/06
  • access: public
mixed getCancelFunction ()

Redefinition of:
ForceAuthAction::getCancelFunction()
Answer the cancel function for this action, to use if the user hits the 'cancel' button in the http authentication dialog.
getRelm (line 72)

Answer the HTTP Authentication 'Relm' to present to the user for authentication.

  • return: string or null
  • since: 8/7/06
  • access: public
mixed getRelm ()

Redefinition of:
ForceAuthAction::getRelm()
Answer the HTTP Authentication 'Relm' to present to the user for authentication.
getUnauthorizedMessage (line 57)

Return a junk image that says you can't view the file

  • since: 12/22/05
void getUnauthorizedMessage ()

Redefinition of:
Action::getUnauthorizedMessage()
Answer the message to print when the user is not authorized to execute this action
isExecutionAuthorized (line 38)

Check Authorizations

  • since: 4/26/05
  • access: public
boolean isExecutionAuthorized ()

Redefinition of:
ForceAuthAction::isExecutionAuthorized()
Check Authorizations

Inherited Methods

Inherited From ForceAuthAction

ForceAuthAction::authenticate()
ForceAuthAction::getCancelFunction()
ForceAuthAction::getRelm()
ForceAuthAction::isAuthenticated()
ForceAuthAction::isAuthorizedToExecute()
ForceAuthAction::isExecutionAuthorized()

Inherited From Action

Action::execute()
Action::getHeadingText()
Action::getUnauthorizedMessage()
Action::isAuthorizedToExecute()
Action::requestedAction()
Action::requestedModule()

Documentation generated on Wed, 19 Sep 2007 10:27:46 -0400 by phpDocumentor 1.3.0RC3