PHP Class BcAgent

Datei anzeigen Open project: baserproject/basercms Class Usage Examples

Public Properties

Property Type Description
$sessionId boolean セッションIDを付与するかどうか
$type string 検出器タイプ

Protected Properties

Property Type Description
$_configName string 設定ファイルのキー名

Public Methods

Method Description
getDetectorRegex ( ) : string ユーザーエージェントの判定用正規表現を取得
isMatchDecisionKey ( ) : boolean ユーザーエージェントがキーワードを含むかどうかを判定

Protected Methods

Method Description
_getDefaultConfig ( ) : array デフォルトの設定値を取得
_setConfig ( array $config ) : void 設定

Method Details

_getDefaultConfig() protected method

デフォルトの設定値を取得
protected _getDefaultConfig ( ) : array
return array

_setConfig() protected method

設定
protected _setConfig ( array $config ) : void
$config array 設定の配列
return void

getDetectorRegex() public method

ユーザーエージェントの判定用正規表現を取得
public getDetectorRegex ( ) : string
return string

isMatchDecisionKey() public method

ユーザーエージェントがキーワードを含むかどうかを判定
public isMatchDecisionKey ( ) : boolean
return boolean

Property Details

$_configName protected_oe static_oe property

設定ファイルのキー名
protected static string $_configName
return string

$sessionId public_oe property

セッションIDを付与するかどうか
public bool $sessionId
return boolean

$type public_oe property

検出器タイプ
public string $type
return string