a-blog cms PHP API Reference

Resolver
in package

Table of Contents

Methods

resolveLink()  : string|null
ブログを考慮したリンクに変換
resolvePath()  : string|null
指定されたパスをテーマ、テンプレートパスを考慮したパスを変換
rewritePaths()  : string
テンプレートのパスを解決して変換
resolveFilePath()  : string
ファイルパスの解決
resolveLinkAttribute()  : string
リンク属性のパス解決
resolveSrcSetAttribute()  : string
srcset属性のパス解決

Methods

ブログを考慮したリンクに変換

public resolveLink(string $link[, int $bid = 0 ]) : string|null
Parameters
$link : string
$bid : int = 0
Return values
string|null

resolvePath()

指定されたパスをテーマ、テンプレートパスを考慮したパスを変換

public resolvePath(string $path, string $theme, string $tplPath) : string|null
Parameters
$path : string
$theme : string
$tplPath : string
Return values
string|null

rewritePaths()

テンプレートのパスを解決して変換

public rewritePaths(string $txt, string $theme, string $tplPath, int $bid) : string
Parameters
$txt : string
$theme : string
$tplPath : string
$bid : int
Return values
string

resolveFilePath()

ファイルパスの解決

protected resolveFilePath(string $txt, string $theme, string $tplPath) : string
Parameters
$txt : string
$theme : string
$tplPath : string
Return values
string

resolveLinkAttribute()

リンク属性のパス解決

protected resolveLinkAttribute(string $txt, int $bid) : string
Parameters
$txt : string
$bid : int
Return values
string

resolveSrcSetAttribute()

srcset属性のパス解決

protected resolveSrcSetAttribute(string $txt, string $theme, string $tplPath) : string
Parameters
$txt : string
$theme : string
$tplPath : string
Return values
string

        
On this page

Search results