Public Member Functions

AdminImportHandler Class Reference

Inheritance diagram for AdminImportHandler:
Collaboration diagram for AdminImportHandler:

List of all members.

Public Member Functions

 get_import ()
 post_import ()
 get_form ($importers, $importer)

Detailed Description

Habari AdminImportHandler Class Handles import-related actions in the admin

Definition at line 14 of file adminimporthandler.php.


Member Function Documentation

AdminImportHandler::get_form ( importers,
importer 
)

Builds and returns the form for the first stage of the importer

Parameters:
array The list of importers the plugin contains
string The name of the current importer
Returns:
FormUI The FormUI element used to chose the importer

Definition at line 94 of file adminimporthandler.php.

Referenced by get_import().

AdminImportHandler::get_import (  ) 

Handles GET requests for the import page.

Definition at line 19 of file adminimporthandler.php.

Referenced by post_import().

AdminImportHandler::post_import (  ) 

Handles the submission of the import form, importing data from a WordPress database. This function should probably be broken into an importer class, since it is WordPress-specific.

Definition at line 78 of file adminimporthandler.php.


The documentation for this class was generated from the following file: