PHP 클래스 BcAgent

파일 보기 프로젝트 열기: baserproject/basercms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$sessionId boolean セッションIDを付与するかどうか
$type string 検出器タイプ

보호된 프로퍼티들

프로퍼티 타입 설명
$_configName string 設定ファイルのキー名

공개 메소드들

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

보호된 메소드들

메소드 설명
_getDefaultConfig ( ) : array デフォルトの設定値を取得
_setConfig ( array $config ) : void 設定

메소드 상세

_getDefaultConfig() 보호된 메소드

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

_setConfig() 보호된 메소드

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

getDetectorRegex() 공개 메소드

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

isMatchDecisionKey() 공개 메소드

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

프로퍼티 상세

$_configName 보호되어 있는 정적으로 프로퍼티

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

$sessionId 공개적으로 프로퍼티

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

$type 공개적으로 프로퍼티

検出器タイプ
public string $type
리턴 string