BcContentsRoute
extends Route
in package
Class BcContentsRoute
Table of Contents
- 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
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
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
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
-
アクションを判定に入れるかどうか