Метод |
Описание |
|
acceptance ( string $type ) : float |
Returns a number between 0 and 1 that defines how "accepted"
a specified MIME type is for the visitor's browser using the
HTTP Accept header |
|
acceptedLanguage ( ) : string |
Returns the user's accepted language |
|
acceptedLanguageCode ( ) : string |
Returns the user's accepted language code |
|
accepts ( string $type ) : boolean |
Returns whether a specified MIME type is accepted by the
visitor's browser |
|
banned ( ) : boolean |
Checks if the ip of the current visitor is banned |
|
ip ( ) : string |
Returns the ip address of the current visitor |
|
referer ( ) : string |
Nobody can remember if it is written with on or two r |
|
referrer ( ) : string |
Returns the referrer if available |
|
ua ( ) : string |
Returns the user agent string of the current visitor |
|
userAgent ( ) : string |
A more readable but longer alternative for ua() |
|