baserCMS クラスリファレンス

BcAbstractDetector
in package

AbstractYes

Class BcAbstractDetector

Table of Contents

Properties

$decisionKeys  : array<string|int, mixed>
判定キーワード
$name  : string
名前
$type  : string
検出器タイプ
$_configName  : string
設定ファイルのキー名
$_detectors  : array<string|int, mixed>
検出器リスト

Methods

__construct()  : mixed
コンストラクタ
find()  : BcAbstractDetector|null
名前をキーとしてインスタンスを探す
findAll()  : array<string|int, BcAbstractDetector>
設定ファイルに存在する全てのインスタンスを返す
findCurrent()  : BcAbstractDetector|null
現在の環境の判定キーの値に合致するインスタンスを返す
isMatchDecisionKey()  : bool
キーがキーワードを含むかどうかを判定
_getDefaultConfig()  : array<string|int, mixed>
デフォルトの設定値を取得
_setConfig()  : void
設定

Properties

$decisionKeys

判定キーワード

public array<string|int, mixed> $decisionKeys

$_configName

設定ファイルのキー名

protected static string $_configName

$_detectors

検出器リスト

protected static array<string|int, mixed> $_detectors = null

Methods

__construct()

コンストラクタ

public __construct(string $name, array<string|int, mixed> $config) : mixed
Parameters
$name : string

名前

$config : array<string|int, mixed>

設定の配列

Tags
checked
noTodo

isMatchDecisionKey()

キーがキーワードを含むかどうかを判定

public abstract isMatchDecisionKey() : bool
Tags
checked
noTodo
unitTest
Return values
bool

_getDefaultConfig()

デフォルトの設定値を取得

protected abstract _getDefaultConfig() : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

_setConfig()

設定

protected abstract _setConfig(array<string|int, mixed> $config) : void
Parameters
$config : array<string|int, mixed>

設定の配列

Tags
checked
noTodo
unitTest

        
On this page

Search results