baserCMS クラスリファレンス

BcContentsRoute extends Route
in package

Class BcContentsRoute

Table of Contents

Methods

getParams()  : mixed
コンテンツに関連するパラメーター情報を取得する
match()  : mixed
Reverse route
parse()  : array<string|int, mixed>|null
Parse
_getContentTypeByParams()  : bool|string
パラメーターよりコンテンツタイプを取得する

Methods

getParams()

コンテンツに関連するパラメーター情報を取得する

public getParams( $requestUrl,  $entryUrl,  $plugin,  $type,  $entityId, mixed $alias) : mixed
Parameters
$requestUrl :
$entryUrl :
$plugin :
$type :
$entityId :
$alias : mixed
Tags
checked
noTodo
Return values
mixed

false|array

match()

Reverse route

public match(array<string|int, mixed> $url[, mixed $context = [] ]) : mixed
Parameters
$url : array<string|int, mixed>

Array of parameters to convert to a string.

$context : mixed = []
Tags
checked
noTodo
unitTest
Return values
mixed

either false or a string URL.

parse()

Parse

public parse(string $url, string $method) : array<string|int, mixed>|null
Parameters
$url : string
$method : string
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>|null

_getContentTypeByParams()

パラメーターよりコンテンツタイプを取得する

protected _getContentTypeByParams(array<string|int, mixed> $params[, bool $useAction = true ]) : bool|string
Parameters
$params : array<string|int, mixed>

パラメーター

$useAction : bool = true

アクションを判定に入れるかどうか

Tags
checked
noTodo
Return values
bool|string

        
On this page

Search results