a-blog cms PHP API Reference

Logger
in package

Table of Contents

Properties

$destinationPath  : string
$json  : stdClass

Methods

addMessage()  : mixed
メッセージを追加
addPercentage()  : mixed
addProcessLog()  : mixed
error()  : mixed
エラー処理
getDestinationPath()  : string
Getter $destinationPath
getJson()  : stdClass
Get json object
getPercentage()  : int
init()  : mixed
初期化
isProcessing()  : bool
処理中か判定
load()  : mixed
ファイルからロード
setDestinationPath()  : mixed
Setter $destinationPath
success()  : mixed
成功時
terminate()  : mixed
終了処理
build()  : mixed
JSON出力

Properties

$destinationPath

protected string $destinationPath = ''

Methods

addMessage()

メッセージを追加

public addMessage(string $message[, int $percentage = 0 ][, int $status = 1 ][, bool $log = true ]) : mixed
Parameters
$message : string
$percentage : int = 0
$status : int = 1
$log : bool = true

addPercentage()

public addPercentage([int $percentage = 0 ]) : mixed
Parameters
$percentage : int = 0

addProcessLog()

public addProcessLog(mixed $message[, mixed $status = 1 ]) : mixed
Parameters
$message : mixed
$status : mixed = 1

error()

エラー処理

public error(mixed $message) : mixed
Parameters
$message : mixed

getDestinationPath()

Getter $destinationPath

public getDestinationPath() : string
Return values
string

getJson()

Get json object

public getJson() : stdClass
Return values
stdClass

getPercentage()

public getPercentage() : int
Return values
int

init()

初期化

public init() : mixed

isProcessing()

処理中か判定

public isProcessing() : bool
Return values
bool

load()

ファイルからロード

public load() : mixed

setDestinationPath()

Setter $destinationPath

public setDestinationPath(string $path) : mixed
Parameters
$path : string

success()

成功時

public success() : mixed

terminate()

終了処理

public terminate() : mixed

build()

JSON出力

protected build() : mixed

        
On this page

Search results