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

Class: ItemAddFromPicasa

Source Location: /modules/picasa/ItemAddFromPicasa.inc

Class ItemAddFromPicasa

Class Overview

This plugin enables the upload of ZIP (or similar) Picasa export archives to import them into G2

Located in /modules/picasa/ItemAddFromPicasa.inc [line 33]

ItemAddPlugin
   |
   --ItemAddFromPicasa

Methods

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

Inherited From ItemAddPlugin

ItemAddPlugin::getTitle()
Return a localized title for this plugin, suitable for display to the user
ItemAddPlugin::handleRequest()
Let the plugin handle the incoming request
ItemAddPlugin::isAppropriate()
Is this plugin appropriate at this time? Default is true.
ItemAddPlugin::loadTemplate()
Load the template with data from this plugin

[ Top ]
Method Summary
void   getTitle()  
void   handleRequest()  
void   loadTemplate()  
GalleryStatus   performImport()   Actually performs the import from Picasa into G2. (I realise that this very much resembles ConfirmPicasaImport::performImport, and will unify these at a later time, as this is not too easy (mainly because of the progressBar in ConfirmPicasaImport.)

[ Top ]
Methods
getTitle  [line 393]

  void getTitle( )


API Tags:
See:  ItemAddPlugin::getTitle


Redefinition of:
ItemAddPlugin::getTitle()
Return a localized title for this plugin, suitable for display to the user

[ Top ]
handleRequest  [line 38]

  void handleRequest( $form, &$item  )

Parameters:
   $form: 
   &$item: 

API Tags:
See:  ItemAddPlugin::handleRequest


Redefinition of:
ItemAddPlugin::handleRequest()
Let the plugin handle the incoming request

[ Top ]
loadTemplate  [line 330]

  void loadTemplate( &$template, &$form, $item  )

Parameters:
   &$template: 
   &$form: 
   $item: 

API Tags:
See:  ItemAdd:loadTemplate


Redefinition of:
ItemAddPlugin::loadTemplate()
Load the template with data from this plugin

[ Top ]
performImport  [line 130]

  GalleryStatus performImport( string $picasaXmlPath, $destinationAlbumId, $form  )

Actually performs the import from Picasa into G2. (I realise that this very much resembles ConfirmPicasaImport::performImport, and will unify these at a later time, as this is not too easy (mainly because of the progressBar in ConfirmPicasaImport.)

Parameters:
string   $picasaXmlPath:  the export path, integer the ID of the destination album, array the form variables
   $destinationAlbumId: 
   $form: 

API Tags:
Return:  a status code


[ Top ]

Documentation generated on Sat, 21 Nov 2009 04:57:51 -0800 by phpDocumentor 1.3.0RC6