phpDocumentor Rewrite
UserInterface
[ class tree: Rewrite ] [ index: Rewrite ] [ all elements ]

Class: DownloadItemView

Source Location: /modules/rewrite/DownloadItem.inc

Class DownloadItemView

Class Overview

Send a binary item as HTML instead.

This allows viewing via direct URL (browser will see it is HTML), but not using images directly in a <img> tag on another site.

Located in /modules/rewrite/DownloadItem.inc [line 39]

GalleryView
   |
   --DownloadItemView

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From GalleryView

GalleryView::$_l10Domain

Inherited From GalleryView

GalleryView::autoCacheControl()
Method to opt-in to managed HTTP cache control
GalleryView::doLoadTemplate()
Prepare all the various things that a view requires in order to load up the template properly (like the theme, the form variables, the status variables, etc. then call the view's loadTemplate() method and pass in the given template.
GalleryView::getItem()
Return the current item, as specified in the itemId request variable.
GalleryView::getL10Domain()
Get the localization domain for this view.
GalleryView::getViewDescription()
This should return a description of the current view.
GalleryView::getViewType()
Type of view.
GalleryView::init()
Initialize the view.
GalleryView::isAllowedInEmbedOnly()
Does this view allow direct access even in embed-only mode?
GalleryView::isAllowedInMaintenance()
Does this view allow access to non-admins when site is in maintenance mode?
GalleryView::isControllerLike()
Does this view change any data? Only controllers should change data, but AJAX and some immediate views are handled in views in Gallery.
GalleryView::isImmediate()
Is this an immediate or a buffered view?
GalleryView::loadTemplate()
Load the template with data from this view.
GalleryView::loadThemeAndParameters()
Load theme, theme parameters and item to use for this view.
GalleryView::loadThemeForItem()
Get the theme for this item by finding the theme id for the nearest album.
GalleryView::loadView()
Load a view.
GalleryView::renderImmediate()
Print out the immediate output for this view. This will bypass any global templating. This style of view should be reserved for binary data.
GalleryView::setCacheControl()
Set cache headers for sensitive pages
GalleryView::setStandardTemplateVariables()
Set standard user information available for every view.
GalleryView::shouldSaveSession()
Should session be saved and session cookie sent when this view is accessed?
GalleryView::_getItem()
Return the current item, as specified in the itemId request variable.
GalleryView::_getThemeAndParametersByEvent()
Let non-core code override the theme and its parameters for this request.
GalleryView::_loadTheme()
Load the given theme if it's active.
GalleryView::_permissionCheck()
Process possible permission errors when accessing a view.

[ Top ]
Method Summary
void   isAllowedInEmbedOnly()  
void   isImmediate()  
void   renderImmediate()  
void   shouldSaveSession()  
GalleryStatus   _assertPermissions()   Assert the required permissions for the given item.

[ Top ]
Methods
isAllowedInEmbedOnly  [line 51]

  void isAllowedInEmbedOnly( )


API Tags:
See:  GalleryView::isAllowedInEmbedOnly


Redefinition of:
GalleryView::isAllowedInEmbedOnly()
Does this view allow direct access even in embed-only mode?

[ Top ]
isImmediate  [line 44]

  void isImmediate( )


API Tags:
See:  GalleryView::isImmediate


Redefinition of:
GalleryView::isImmediate()
Is this an immediate or a buffered view?

[ Top ]
renderImmediate  [line 65]

  void renderImmediate( $status, $error  )

Parameters:
   $status: 
   $error: 

API Tags:
See:  GalleryView::renderImmediate


Redefinition of:
GalleryView::renderImmediate()
Print out the immediate output for this view. This will bypass any global templating. This style of view should be reserved for binary data.

[ Top ]
shouldSaveSession  [line 58]

  void shouldSaveSession( )


API Tags:
See:  GalleryView::shouldSaveSession


Redefinition of:
GalleryView::shouldSaveSession()
Should session be saved and session cookie sent when this view is accessed?

[ Top ]
_assertPermissions  [line 144]

  GalleryStatus _assertPermissions( GalleryChildEntity $item, mixed $derivativeType  )

Assert the required permissions for the given item.

Parameters:
GalleryChildEntity   $item:  GalleryDataItem or GalleryChildEntity with a data item as parent. Throws ERROR_MISSING_OBJECT if a non-item has no item as parent.
mixed   $derivativeType: 


[ Top ]

Documentation generated on Wed, 16 Dec 2009 04:38:57 -0800 by phpDocumentor 1.3.0RC6