a-blog cms PHP API Reference

PageGenerationService
in package
implements PageGenerationListenerInterface

Table of Contents

Interfaces

PageGenerationListenerInterface

Properties

$pages  : array<string|int, Page>
$pool  : ProcessPool

Methods

addEntryPage()  : void
エントリーページを追加
addPage()  : void
ページを追加
onPageGenerationError()  : void
エラー時の処理
onPageGenerationStart()  : bool
開始時の処理
onPageGenerationSuccess()  : void
成功時の処理
requestStop()  : void
停止を要求する
run()  : array<string|int, mixed>
ページを生成
getConsoleScriptPath()  : string
console.phpスクリプトのパスを取得
getPhpBinPath()  : string
phpの実行パスを取得

Properties

Methods

addEntryPage()

エントリーページを追加

public addEntryPage(string $url, string $destinationPathname, int $entryId[, string|null $userAgent = null ][, bool $withSession = false ]) : void
Parameters
$url : string
$destinationPathname : string
$entryId : int
$userAgent : string|null = null
$withSession : bool = false

addPage()

ページを追加

public addPage(string $url, string $destinationPathname[, string|null $userAgent = null ][, bool $withSession = false ]) : void
Parameters
$url : string
$destinationPathname : string
$userAgent : string|null = null
$withSession : bool = false

onPageGenerationStart()

開始時の処理

public onPageGenerationStart(Page $page) : bool
Parameters
$page : Page
Return values
bool

getConsoleScriptPath()

console.phpスクリプトのパスを取得

private getConsoleScriptPath() : string
Return values
string

getPhpBinPath()

phpの実行パスを取得

private getPhpBinPath() : string
Return values
string

        
On this page

Search results