a-blog cms PHP API Reference

DiffEngine extends Engine
in package

Table of Contents

Properties

$compiler  : Compiler
$config  : stdClass
$destination  : Destination
$finder  : Finder
$logger  : Logger
$maxPublish  : int
$nameServer  : string
$targetCategoryIds  : array<string|int, int>
$targetEntryIds  : array<string|int, int>
$terminateFlag  : TerminateCheck

Methods

__construct()  : mixed
DiffEngine constructor.
init()  : mixed
初期設定
run()  : mixed
Run
runDiff()  : mixed
Run
copyAssets()  : void
copy assets
copyThemeItems()  : void
copy theme items
copyThemeRequireItems()  : void
copy theme require items
deleteOldFiles()  : void
delete files
extractTheme()  : array<string|int, mixed>
get themes
getConfig()  : mixed
processExportAssets()  : mixed
アセットの書き出し
processExportCategoryArchivePage()  : PromiseInterface<string|int, null>
カテゴリーアーカイブページの書き出し
processExportCategoryPagenation()  : PromiseInterface<string|int, null>
カテゴリーページの書き出し
processExportCategoryTop()  : PromiseInterface<string|int, null>
カテゴリートップの書き出し
processExportEntry()  : PromiseInterface<string|int, null>
エントリーの書き出し
processExportPagenation()  : PromiseInterface<string|int, null>
ページの書き出し
processExportTheme()  : PromiseInterface<string|int, null>
テーマのテンプレート書き出し
processExportThemeAssets()  : mixed
テーマのアセット書き出し
processExportTop()  : PromiseInterface<string|int, null>
トップページの書き出し
processResolvCssPath()  : mixed
css の url属性のパス解決
resolvePathInCss()  : void
css の url属性のパス解決
setDiffItems()  : mixed
指定された日付より新しいエントリーを設定

Properties

$config

protected stdClass $config

$finder

protected Finder $finder

$maxPublish

protected int $maxPublish

$nameServer

protected string $nameServer

$targetCategoryIds

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

$targetEntryIds

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

Methods

__construct()

DiffEngine constructor.

public __construct() : mixed

init()

初期設定

public init(Logger $logger, Destination $destination, int $maxPublish, string $nameServer, stdClass $config) : mixed
Parameters
$logger : Logger
$destination : Destination
$maxPublish : int
$nameServer : string
$config : stdClass
Tags
throws
Exception

runDiff()

Run

public runDiff(string $from) : mixed
Parameters
$from : string

(YYYY-MM-DD HH:ii:ss)

copyAssets()

copy assets

protected copyAssets() : void

copyThemeItems()

copy theme items

protected copyThemeItems(string $theme) : void
Parameters
$theme : string

copyThemeRequireItems()

copy theme require items

protected copyThemeRequireItems(string $theme) : void
Parameters
$theme : string

deleteOldFiles()

delete files

protected deleteOldFiles() : void

extractTheme()

get themes

protected extractTheme(string $theme) : array<string|int, mixed>
Parameters
$theme : string
Return values
array<string|int, mixed>

getConfig()

protected getConfig(mixed $key, mixed $default, mixed $i) : mixed
Parameters
$key : mixed
$default : mixed
$i : mixed

processExportAssets()

アセットの書き出し

protected processExportAssets() : mixed

processExportCategoryArchivePage()

カテゴリーアーカイブページの書き出し

protected processExportCategoryArchivePage(array<string|int, int> $categoryIds) : PromiseInterface<string|int, null>
Parameters
$categoryIds : array<string|int, int>
Return values
PromiseInterface<string|int, null>

processExportCategoryPagenation()

カテゴリーページの書き出し

protected processExportCategoryPagenation(array<string|int, int> $categoryIds) : PromiseInterface<string|int, null>
Parameters
$categoryIds : array<string|int, int>
Return values
PromiseInterface<string|int, null>

processExportCategoryTop()

カテゴリートップの書き出し

protected processExportCategoryTop() : PromiseInterface<string|int, null>
Tags
inheritDoc
Return values
PromiseInterface<string|int, null>

processExportEntry()

エントリーの書き出し

protected processExportEntry() : PromiseInterface<string|int, null>
Tags
inheritDoc
Return values
PromiseInterface<string|int, null>

processExportPagenation()

ページの書き出し

protected processExportPagenation(int $maxPageCount) : PromiseInterface<string|int, null>
Parameters
$maxPageCount : int
Return values
PromiseInterface<string|int, null>

processExportTheme()

テーマのテンプレート書き出し

protected processExportTheme(mixed $themes) : PromiseInterface<string|int, null>
Parameters
$themes : mixed
Tags
inheritDoc
Return values
PromiseInterface<string|int, null>

processExportThemeAssets()

テーマのアセット書き出し

protected processExportThemeAssets(mixed $themes) : mixed
Parameters
$themes : mixed
Tags
inheritDoc

processExportTop()

トップページの書き出し

protected processExportTop() : PromiseInterface<string|int, null>
Return values
PromiseInterface<string|int, null>

processResolvCssPath()

css の url属性のパス解決

protected processResolvCssPath(array<string|int, string> $themes) : mixed
Parameters
$themes : array<string|int, string>

resolvePathInCss()

css の url属性のパス解決

protected resolvePathInCss(string $theme) : void
Parameters
$theme : string

setDiffItems()

指定された日付より新しいエントリーを設定

private setDiffItems(string $from) : mixed
Parameters
$from : string

(YYYY-MM-DD HH:ii:ss)


        
On this page

Search results