PHP Class Habari\AdminImportHandler

Inheritance: extends AdminHandler
Show file Open project: habari/system

Public Methods

Method Description
get_form ( $importers, $importer ) : FormUI Builds and returns the form for the first stage of the importer
get_import ( ) Handles GET requests for the import page.
post_import ( ) Handles the submission of the import form, importing data from a WordPress database.

Method Details

get_form() public method

Builds and returns the form for the first stage of the importer
public get_form ( $importers, $importer ) : FormUI
return FormUI The FormUI element used to chose the importer

get_import() public method

Handles GET requests for the import page.
public get_import ( )

post_import() public method

This function should probably be broken into an importer class, since it is WordPress-specific.
public post_import ( )