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

Class: UploadItemsController

Source Location: /modules/publishxp/UploadItems.inc

Class UploadItemsController

Class Overview

Controller to process the uploading of photos from Windows XP.

Each photo is uploaded via a seperate HTTP request. The initial response from this page is to return JavaScript code that instructs Windows how to upload the photos. Subsequent requests from Windows include the photo data and text. This page processes the data and applies the options to be used while uploading.

Located in /modules/publishxp/UploadItems.inc [line 43]

GalleryController
   |
   --UploadItemsController

Properties

Methods

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

Inherited From GalleryController

GalleryController::assertIsGenuineRequest()
Verifies the genuineness of the request
GalleryController::getItem()
Return the current item, as specified in the itemId request variable.
GalleryController::handleRequest()
Take the appropriate action based on the user input provided.
GalleryController::isAllowedInEmbedOnly()
Does this controller allow direct access even in embed-only mode?
GalleryController::isAllowedInMaintenance()
Does this controller allow access to non-admins when site is in maintenance mode?
GalleryController::loadController()
Load a controller
GalleryController::omitAuthTokenCheck()
Whether the controller opts-out from the framework's auth token check.
GalleryController::permissionCheck()
GalleryController::shouldSaveSession()
Should session be saved and session cookie sent when this controller is used?

[ Top ]
Property Summary
array   $_optionInstances   ItemAddOption instances to use when handling this request. Only used by test code.

[ Top ]
Method Summary
void   handleRequest()  
void   setOptionInstances()   Tests can use this method to hardwire a specific set of option instances to use.
string   _getCharsetFromRequest()   Detects the specified Windows locale and translates it into a charset.

[ Top ]
Properties
array   $_optionInstances [line 49]

ItemAddOption instances to use when handling this request. Only used by test code.

API Tags:
Access:  private


[ Top ]
Methods
handleRequest  [line 65]

  void handleRequest( $form  )

Parameters:
   $form: 

API Tags:
See:  GalleryController::handleRequest


Redefinition of:
GalleryController::handleRequest()
Take the appropriate action based on the user input provided.

[ Top ]
setOptionInstances  [line 58]

  void setOptionInstances( array $optionInstances  )

Tests can use this method to hardwire a specific set of option instances to use.

This avoids situations where some of the option instances will do unpredictable things and derail the tests.

Parameters:
array   $optionInstances:  (optionId => ItemAddOption, ...)


[ Top ]
_getCharsetFromRequest  [line 188]

  string _getCharsetFromRequest( )

Detects the specified Windows locale and translates it into a charset.

Documentation: http://windowssdk.msdn.microsoft.com/en-us/library/ms649627.aspx


API Tags:
Return:  charset (MS Windows code page)
Access:  private


[ Top ]

Documentation generated on Fri, 08 Oct 2010 06:02:32 -0700 by phpDocumentor 1.3.0RC6