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

Class: ConfirmImportController

Source Location: /modules/migrate/ConfirmImport.inc

Class ConfirmImportController

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 ]
Method Summary
void   checkTruncation()   Print message if any fields were truncated on imported item.
string   convertHtml()   Convert html according to given markup type
string   convertHtmlToBbcode()   Converts HTML to BBCode
GalleryStatus   createG1ToG2Mapping()   Create the G1->G2 map entries so that Gallery1 links can be redirected to Gallery2 links.
void   handleRequest()  
GalleryStatus   performImport()   Actually perform the import

[ Top ]
Methods
checkTruncation  [line 1504]

  void checkTruncation( &$item, $sourceData  )

Print message if any fields were truncated on imported item.

Parameters:
   &$item: 
   $sourceData: 


[ Top ]
convertHtml  [line 1436]

  string convertHtml( string $markupType, string $item, [ $sourceEncoding = 'UTF-8']  )

Convert html according to given markup type

Parameters:
string   $markupType:  markup type (none, bbcode, html)
string   $item:  input string
   $sourceEncoding: 


[ Top ]
convertHtmlToBbcode  [line 1460]

  string convertHtmlToBbcode( string $item  )

Converts HTML to BBCode

Parameters:
string   $item:  item to convert


[ Top ]
createG1ToG2Mapping  [line 1491]

  GalleryStatus createG1ToG2Mapping( int $itemId, string $g1AlbumName, [string $g1ItemName = null]  )

Create the G1->G2 map entries so that Gallery1 links can be redirected to Gallery2 links.

Parameters:
int   $itemId: 
string   $g1AlbumName:  G1 album name
string   $g1ItemName:  (optional) G1 item name

API Tags:
Return:  a status code

Information Tags:
Author:  Joseph Elwell <jelwell@yahoo.com>

[ Top ]
handleRequest  [line 38]

  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 ]
performImport  [line 85]

  GalleryStatus performImport( array $form, string $albumsPath  )

Actually perform the import

Parameters:
array   $form:  the form variables
string   $albumsPath:  the albums path

API Tags:
Return:  a status code


[ Top ]

Documentation generated on Fri, 03 Oct 2008 04:49:15 -0700 by phpDocumentor 1.3.0RC6