Toggle navigation
Hot Examples
RU
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
Показать файл
Открыть проект
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