a-blog cms PHP API Reference

SourceResolver extends Resolver
in package

Table of Contents

Properties

$destinationBlogCode  : string
$destinationDomain  : string
$destinationOffsetDir  : string
$destinationPath  : string
$offset  : int

Methods

resolve()  : string
acmsJsReplace()  : bool
acms.jsのクエリのドメイン書き換え処理
getRegex()  : string
matchingPath()  : bool
パスの書き換え
removePortFromUrl()  : string
URLからポート番号を削除する
replacer()  : mixed
パスの書き換え

Properties

Methods

resolve()

public resolve(string $html, string $document_root, string $offset_dir, string $domain, string $blog_code) : string
Parameters
$html : string
$document_root : string
$offset_dir : string
$domain : string
$blog_code : string
Return values
string

acmsJsReplace()

acms.jsのクエリのドメイン書き換え処理

protected acmsJsReplace(string $path, string $format_path, string &$html, array<string|int, mixed> $match, int $mpt) : bool
Parameters
$path : string
$format_path : string
$html : string
$match : array<string|int, mixed>
$mpt : int
Return values
bool

matchingPath()

パスの書き換え

protected matchingPath(string $path, string $format_path, string &$html, array<string|int, mixed> $match, int $mpt) : bool
Parameters
$path : string
$format_path : string
$html : string
$match : array<string|int, mixed>
$mpt : int
Return values
bool

removePortFromUrl()

URLからポート番号を削除する

protected removePortFromUrl(string $url) : string
Parameters
$url : string
Return values
string

replacer()

パスの書き換え

protected replacer(string $path, string &$html, array<string|int, mixed> $match, int $mpt) : mixed
Parameters
$path : string

置き換え対象パス

$html : string

全体html

$match : array<string|int, mixed>
$mpt : int

        
On this page

Search results