\Acms\Services\StaticExport\CompilerSourceResolver

Summary

Methods
Properties
Constants
resolve()
No public properties found
No constants found
getRegex()
replacer()
acmsJsReplace()
matchingPath()
$destinationOffsetDir
$destinationPath
$destinationDomain
$destinationBlogCode
$offset
N/A
No private methods found
No private properties found
N/A

Properties

$destinationOffsetDir

$destinationOffsetDir : string

Type

string

$destinationPath

$destinationPath : string

Type

string

$destinationDomain

$destinationDomain : string

Type

string

$destinationBlogCode

$destinationBlogCode : string

Type

string

$offset

$offset : integer

Type

integer

Methods

resolve()

resolve(string  $html, string  $document_root, string  $offset_dir, string  $domain, string  $blog_code) : string

Parameters

string $html
string $document_root
string $offset_dir
string $domain
string $blog_code

Returns

string

getRegex()

getRegex() : string

Returns

string

replacer()

replacer(string  $path, string  $html, array  $match, integer  $mpt) 

パスの書き換え

Parameters

string $path

置き換え対象パス

string $html

全体html

array $match
integer $mpt

acmsJsReplace()

acmsJsReplace(string  $path, string  $format_path, string  $html, array  $match, integer  $mpt) : boolean

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

Parameters

string $path
string $format_path
string $html
array $match
integer $mpt

Returns

boolean

matchingPath()

matchingPath(string  $path, string  $format_path, string  $html, array  $match, integer  $mpt) : boolean

パスの書き換え

Parameters

string $path
string $format_path
string $html
array $match
integer $mpt

Returns

boolean