a-blog cms PHP API Reference

AssetProvider

Table of Contents

Methods

getFilePaths()  : array<string|int, string>
ファイルのパスを配列で取得
saveFiles()  : void
ファイルを保存する
setFilePaths()  : void
ファイルのパスを配列でセット

Methods

getFilePaths()

ファイルのパスを配列で取得

public getFilePaths() : array<string|int, string>
Return values
array<string|int, string>

saveFiles()

ファイルを保存する

public saveFiles(array<string|int, mixed> $post[, bool $removeOld = true ]) : void
Parameters
$post : array<string|int, mixed>

$_POSTデータ

$removeOld : bool = true

古いファイルを削除するかどうか

setFilePaths()

ファイルのパスを配列でセット

public setFilePaths(array<string|int, string>|string $paths) : void
Parameters
$paths : array<string|int, string>|string

        
On this page

Search results