a-blog cms PHP API Reference

Cache
in package

Table of Contents

Properties

$cacheKey  : string
$cacheKeyWithEntry  : string
$systemCache  : AdapterInterface

Methods

getCacheKey()  : string
テンプレートキャッシュキーを取得
isEnabled()  : bool
テンプレートキャッシュが有効か確認
load()  : string
テンプレートキャッシュを取得
put()  : void
テンプレートキャッシュを保存

Properties

$cacheKey

protected string $cacheKey = ''

$cacheKeyWithEntry

protected string $cacheKeyWithEntry = ''

Methods

getCacheKey()

テンプレートキャッシュキーを取得

public getCacheKey(string $path, string $theme[, bool $entry = false ]) : string
Parameters
$path : string
$theme : string
$entry : bool = false
Return values
string

isEnabled()

テンプレートキャッシュが有効か確認

public isEnabled() : bool
Return values
bool

load()

テンプレートキャッシュを取得

public load(string $path, string $theme) : string
Parameters
$path : string
$theme : string
Tags
throws
Exception
Return values
string

put()

テンプレートキャッシュを保存

public put(string $tpl) : void
Parameters
$tpl : string

        
On this page

Search results