Method |
Description |
|
extractLocaleTagFromFilename ( string $filename ) : mixed |
Extracts a locale tag (identifier) from the filename given. |
|
parseAcceptLanguageHeader ( string $acceptLanguageHeader ) : mixed |
Parses Accept-Language header and returns array of locale tags (like:
en-GB, en), or FALSE if no tags were found. |
|
stringBeginsWith ( string $haystack, string $needle ) : boolean |
Checks if $haystack string begins with $needle string. |
|
stringEndsWith ( string $haystack, string $needle ) : boolean |
Checks if $haystack string ends with $needle string. |
|