Documentation

EasyBlogMigratorWordpress_xml extends EasyBlogMigratorBase
in package

Table of Contents

Properties

$app  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$file  : mixed
$input  : mixed
$jconfig  : mixed
$lang  : mixed
$my  : mixed
$namespaces  : mixed
$session  : mixed
$string  : mixed

Methods

__construct()  : mixed
addMigrationLog()  : mixed
Adds migration log
checkXMLPostData()  : mixed
clearXMLData()  : mixed
createComments()  : mixed
Migrate comments from wordpress over
createEasyBlogCategory()  : mixed
createTags()  : mixed
Binds the post and tags
debug()  : mixed
Debug xml file
easyblogCategoryExists()  : mixed
extractData()  : mixed
Extracts the necessary data from the manifest
getDefaultSuperUserId()  : mixed
getEasyBlogCategories()  : mixed
Retrieves a list of EasyBlog categories
getEasyblogCategory()  : mixed
getError()  : mixed
getErrors()  : mixed
getFiles()  : mixed
Retrieves the list of xml file dump from Wordpress
getMigrationStats()  : mixed
Get's the migration statistics
getXMLPostData()  : mixed
hasError()  : mixed
hasErrors()  : mixed
isMigrated()  : mixed
Determines if a post is migrated
isMobile()  : mixed
Determines if this is a mobile layout
isTablet()  : mixed
Determines if this is a tablet layout
loadLanguage()  : mixed
Helper method to load language
logXMLData()  : mixed
mapCoverImage()  : mixed
Import first image and save into local server as cover photo
mapData()  : mixed
Maps the wordpress data into EasyBlog's post format
migrate()  : mixed
Main method to process wordpress migrator
migrateCategory()  : mixed
Migrates wordpress category over
migrateComment()  : mixed
Allows caller to migrate comments recursively
migrateContentMeta()  : mixed
migrateIntroImageToPostCover()  : mixed
Migrate Joomla intro image to the post cover
migrateItem()  : mixed
Migrates a single post item from manifest file
migrateJomcomment()  : mixed
setError()  : mixed
sortComments()  : mixed
Use our own internal method to sort wordpress comments for a post
downloadImage()  : mixed
Performs image download from the external wordpress site

Properties

$app

public mixed $app = \null

$config

public mixed $config = \null

$db

public mixed $db = \null

$doc

public mixed $doc = \null

$input

public mixed $input = \null

$jconfig

public mixed $jconfig = \null

$lang

public mixed $lang = \null

$my

public mixed $my = \null

$string

public mixed $string = \null

Methods

addMigrationLog()

Adds migration log

public addMigrationLog(mixed $uid, mixed $postId) : mixed
Parameters
$uid : mixed
$postId : mixed
Tags
since
5.0
access

public

checkXMLPostData()

public checkXMLPostData(mixed $fileName[, mixed $sourceName = 'post' ]) : mixed
Parameters
$fileName : mixed
$sourceName : mixed = 'post'

clearXMLData()

public clearXMLData(mixed $fileName[, mixed $postid = '' ]) : mixed
Parameters
$fileName : mixed
$postid : mixed = ''

createComments()

Migrate comments from wordpress over

public createComments(mixed $wp, mixed $post) : mixed
Parameters
$wp : mixed
$post : mixed
Tags
since
4.0
access

public

createEasyBlogCategory()

public createEasyBlogCategory(mixed $categoryObject) : mixed
Parameters
$categoryObject : mixed

createTags()

Binds the post and tags

public createTags(mixed $wp, mixed $post) : mixed
Parameters
$wp : mixed
$post : mixed
Tags
since
4.0
access

public

debug()

Debug xml file

public debug() : mixed
Tags
since
5.0
access

public

easyblogCategoryExists()

public easyblogCategoryExists(mixed $category) : mixed
Parameters
$category : mixed

extractData()

Extracts the necessary data from the manifest

public extractData(mixed $item[, mixed $wpOptions = false ]) : mixed
Parameters
$item : mixed
$wpOptions : mixed = false
Tags
since
5.0
access

public

getDefaultSuperUserId()

public getDefaultSuperUserId() : mixed

getEasyBlogCategories()

Retrieves a list of EasyBlog categories

public getEasyBlogCategories() : mixed
Tags
since
5.1
access

public

getEasyblogCategory()

public getEasyblogCategory() : mixed

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getFiles()

Retrieves the list of xml file dump from Wordpress

public getFiles() : mixed
Tags
since
5.1
access

public

getMigrationStats()

Get's the migration statistics

public getMigrationStats() : mixed
Tags
since
5.0
access

public

getXMLPostData()

public getXMLPostData(mixed $fileName[, mixed $sourceName = 'post' ]) : mixed
Parameters
$fileName : mixed
$sourceName : mixed = 'post'

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

isMigrated()

Determines if a post is migrated

public isMigrated(mixed $fileName, mixed $contentId) : mixed
Parameters
$fileName : mixed
$contentId : mixed
Tags
since
5.0
access

public

isMobile()

Determines if this is a mobile layout

public isMobile() : mixed
Tags
since
5.1
access

public

isTablet()

Determines if this is a tablet layout

public isTablet() : mixed
Tags
since
5.3
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

logXMLData()

public logXMLData(mixed $fileName, mixed $postId, mixed $source, mixed $data[, mixed $comments = array() ]) : mixed
Parameters
$fileName : mixed
$postId : mixed
$source : mixed
$data : mixed
$comments : mixed = array()

mapCoverImage()

Import first image and save into local server as cover photo

public mapCoverImage(EasyBlogPost &$post, mixed $wpOptions) : mixed
Parameters
$post : EasyBlogPost
$wpOptions : mixed
Tags
since
5.2
access

public

mapData()

Maps the wordpress data into EasyBlog's post format

public mapData(mixed $wp, mixed $authorId) : mixed
Parameters
$wp : mixed
$authorId : mixed
Tags
since
5.0
access

public

migrate()

Main method to process wordpress migrator

public migrate(mixed $fileName, mixed $authorId[, mixed $options = false ]) : mixed
Parameters
$fileName : mixed
$authorId : mixed
$options : mixed = false
Tags
since
5.0
access

public

migrateCategory()

Migrates wordpress category over

public migrateCategory(mixed $category) : mixed
Parameters
$category : mixed
Tags
since
5.0
access

public

migrateComment()

Allows caller to migrate comments recursively

public migrateComment(mixed $item, mixed $post[, mixed $parentId = 0 ]) : mixed
Parameters
$item : mixed
$post : mixed
$parentId : mixed = 0
Tags
since
5.0
access

public

migrateContentMeta()

public migrateContentMeta(mixed $metaKey, mixed $metaDesc, mixed $blogId) : mixed
Parameters
$metaKey : mixed
$metaDesc : mixed
$blogId : mixed

migrateIntroImageToPostCover()

Migrate Joomla intro image to the post cover

public migrateIntroImageToPostCover(mixed $url, mixed $post) : mixed
Parameters
$url : mixed
$post : mixed
Tags
since
6.0.0
access

public

migrateItem()

Migrates a single post item from manifest file

public migrateItem(mixed $item, mixed $authorId[, mixed $wpOptions = false ]) : mixed
Parameters
$item : mixed
$authorId : mixed
$wpOptions : mixed = false
Tags
since
5.0
access

public

migrateJomcomment()

public migrateJomcomment(mixed $contentId, mixed $blogId, mixed $option) : mixed
Parameters
$contentId : mixed
$blogId : mixed
$option : mixed

setError()

public setError(mixed $msg) : mixed
Parameters
$msg : mixed

sortComments()

Use our own internal method to sort wordpress comments for a post

public sortComments(mixed $a, mixed $b) : mixed
Parameters
$a : mixed
$b : mixed
Tags
since
5.0
access

public

downloadImage()

Performs image download from the external wordpress site

private downloadImage(mixed $url, mixed $post) : mixed
Parameters
$url : mixed
$post : mixed
Tags
since
5.2
access

public


        
On this page

Search results