a-blog cms PHP API Reference

Export extends Export
in package

Table of Contents

Properties

$archivesFiles  : array<string|int, string>
$mediaFiles  : array<string|int, string>
$prefix  : string
$storageFiles  : array<string|int, string>
$tables  : array<string|int, mixed>
$targetCategoryIds  : array<string|int, int>
$targetEntryIds  : array<string|int, int>
$targetMediaIds  : array<string|int, int>
$targetModuleIds  : array<string|int, int>
$targetUnitIds  : array<string|int, non-empty-string>

Methods

__construct()  : mixed
Export constructor.
addEntry()  : mixed
export()  : array<string|int, mixed>
exportEntryAssets()  : array<string|int, mixed>
エントリーのアセットを取得
setTables()  : void
set export tables
dumpYaml()  : mixed
fix()  : void
fix data
fixNextLine()  : string
carriage returns \r and \r\n Paragraph Separator (U+2028) Line Separator (U+2029) Next Line (NEL) (U+0085)
fixPath()  : string
fixYaml()  : string
getQueryCategory()  : mixed
getQueryColumn()  : mixed
getQueryEntry()  : mixed
getQueryEntry_sub_category()  : mixed
getQueryField()  : mixed
getQueryGeo()  : SQL_Select
getQueryMedia()  : mixed
getQueryMedia_tag()  : mixed
getQueryModule()  : mixed
getQueryTag()  : mixed

Properties

$archivesFiles

protected array<string|int, string> $archivesFiles = []

$mediaFiles

protected array<string|int, string> $mediaFiles = []

$prefix

protected string $prefix

$storageFiles

protected array<string|int, string> $storageFiles = []

$tables

protected array<string|int, mixed> $tables

$targetCategoryIds

protected array<string|int, int> $targetCategoryIds = []

$targetEntryIds

protected array<string|int, int> $targetEntryIds = []

$targetMediaIds

protected array<string|int, int> $targetMediaIds = []

$targetModuleIds

protected array<string|int, int> $targetModuleIds = []

$targetUnitIds

protected array<string|int, non-empty-string> $targetUnitIds = []

Methods

__construct()

Export constructor.

public __construct() : mixed

addEntry()

public addEntry(mixed $eid) : mixed
Parameters
$eid : mixed

export()

public export(resource $fp) : array<string|int, mixed>
Parameters
$fp : resource
Return values
array<string|int, mixed>

exportEntryAssets()

エントリーのアセットを取得

public exportEntryAssets(array<string|int, int> $eids) : array<string|int, mixed>
Parameters
$eids : array<string|int, int>
Return values
array<string|int, mixed>

setTables()

set export tables

public setTables([array<string|int, mixed> $tables = [] ]) : void
Parameters
$tables : array<string|int, mixed> = []
Tags
throws
RuntimeException

dumpYaml()

protected dumpYaml(resource $fp, array<string|int, mixed> $queryList) : mixed
Parameters
$fp : resource
$queryList : array<string|int, mixed>

fix()

fix data

protected fix(array<string|int, mixed> &$record, string $table) : void
Parameters
$record : array<string|int, mixed>
$table : string

fixNextLine()

carriage returns \r and \r\n Paragraph Separator (U+2028) Line Separator (U+2029) Next Line (NEL) (U+0085)

protected fixNextLine(mixed $txt) : string
Parameters
$txt : mixed
Return values
string

fixPath()

protected fixPath(string $txt) : string
Parameters
$txt : string
Return values
string

fixYaml()

protected fixYaml(string $txt) : string
Parameters
$txt : string
Return values
string

getQueryCategory()

protected getQueryCategory(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryColumn()

protected getQueryColumn(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryEntry()

protected getQueryEntry(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryEntry_sub_category()

protected getQueryEntry_sub_category(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryField()

protected getQueryField(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryMedia()

protected getQueryMedia(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryMedia_tag()

protected getQueryMedia_tag(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryModule()

protected getQueryModule(mixed $sql) : mixed
Parameters
$sql : mixed

getQueryTag()

protected getQueryTag(mixed $sql) : mixed
Parameters
$sql : mixed

        
On this page

Search results