a-blog cms PHP API Reference

WxrEngine
in package

Table of Contents

Properties

$blogRepository  : BlogRepository
$categoryWriter  : CategoryWriter
$entryWriter  : EntryWriter
$helper  : mixed
$includeChildBlogs  : bool
$logger  : Logger
$targetBlogId  : int
$userWriter  : UserWriter

Methods

__construct()  : mixed
Constructor
export()  : void
エクスポート実行
createWriter()  : XMLWriter
XMLWriter を生成
outputWxr()  : void
書き出しを開始
writeChannelElement()  : void
チャンネル要素を書き出し
writeItems()  : void
アイテム配列を書き出し
writeRootElement()  : void
ルート要素を書き出し

Properties

$helper

protected mixed $helper
Tags
@var

\Acms\Services\Export\Helper;

$includeChildBlogs

protected bool $includeChildBlogs

Methods

__construct()

Constructor

public __construct() : mixed

export()

エクスポート実行

public export(int $bid, bool $includeChildBlogs, string $outputPath) : void
Parameters
$bid : int
$includeChildBlogs : bool
$outputPath : string

createWriter()

XMLWriter を生成

protected createWriter(string $outputPath) : XMLWriter
Parameters
$outputPath : string
Return values
XMLWriter

outputWxr()

書き出しを開始

protected outputWxr(XMLWriter $writer) : void
Parameters
$writer : XMLWriter

writeChannelElement()

チャンネル要素を書き出し

protected writeChannelElement(XMLWriter $writer) : void
Parameters
$writer : XMLWriter

writeItems()

アイテム配列を書き出し

protected writeItems(XMLWriter $writer) : void
Parameters
$writer : XMLWriter

writeRootElement()

ルート要素を書き出し

protected writeRootElement(XMLWriter $writer) : void
Parameters
$writer : XMLWriter

        
On this page

Search results