Class MvBlog_import

Description

Class that holds methods that can be used to import other blogs

Located in /common/mvblog_import.php (line 25)

MvBlog_common
   |
   --MvBlog_import
Variable Summary
Method Summary
MvBlog_import __construct ()
bool run_module (string $type, [array $options = array()])
void show_options ()
Variables
Methods
Constructor __construct (line 41)

Class constructor that populates the supported_blogs variable.

  • todo: read the supported blogtools from classes available
  • access: public
MvBlog_import __construct ()

Redefinition of:
MvBlog_common::__construct()
Setup stuff and handle settings etc and populate the data containers.
run_module (line 66)

Create an object for the selected blogtool import

  • return: true on success, false on failure
  • access: public
bool run_module (string $type, [array $options = array()])
  • string $type: The blogtool to import from. Can be 'wordpress' only for now
  • array $options: Additional options to pass to the import module
show_options (line 51)

Show a list with all supported blogtools with a link to the module main info page

  • access: public
void show_options ()

Inherited Methods

Inherited From MvBlog_common

MvBlog_common::__construct()
MvBlog_common::copy_files()
MvBlog_common::db_quote()
MvBlog_common::html_footer()
MvBlog_common::html_header()
MvBlog_common::replace_dossier_ref()
MvBlog_common::replace_num_ref()
MvBlog_common::show_captcha()
MvBlog_common::_get_active_plugins()
MvBlog_common::_get_authors()
MvBlog_common::_get_categories()
MvBlog_common::_get_dossiers()
MvBlog_common::_get_menuitems()
MvBlog_common::_get_posts()
MvBlog_common::_get_settings()
MvBlog_common::_get_webroot()
MvBlog_common::_handle_magic_quotes()
MvBlog_common::_handle_php_bugs()
MvBlog_common::_init_db()
MvBlog_common::_magic_quotes_strip()
MvBlog_common::_sanitize()

Documentation generated on Fri, 28 Dec 2007 13:17:40 +0100 by phpDocumentor 1.4.1