Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Visitor
accepts
Visitor::accepts PHP 메소드
Visitor 0 문서
파일 보기
프로젝트 열기: getkirby/toolkit
accepts()
공개
정적인
메소드
Returns whether a specified MIME type is accepted by the visitor's browser
public
static
accepts
(
string
$type
) :
boolean
$type
string
MIME type like "text/html"
리턴
boolean
public static function accepts($type) { return static::acceptance($type) > 0; }
Visitor
acceptance
acceptedLanguage
acceptedLanguageCode
accepts
banned
ip
referer
referrer
ua
userAgent