PHP Class Habari\AdminImportHandler

Inheritance: extends AdminHandler
Afficher le fichier Open project: habari/system

Méthodes publiques

Méthode 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 méthode

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

get_import() public méthode

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

post_import() public méthode

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