Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Mcamara
LaravelLocalization
LaravelLocalization
checkUrl
Mcamara\LaravelLocalization\LaravelLocalization::checkUrl PHP Méthode
LaravelLocalization Class Documentation
Afficher le fichier
Open project: mcamara/laravel-localization
checkUrl()
protected
méthode
Returns true if the string given is a valid url
protected
checkUrl
(
string
$url
) :
boolean
$url
string
String to check if it is a valid url
Résultat
boolean
Is the string given a valid url?
protected function checkUrl($url) { return filter_var($url, FILTER_VALIDATE_URL); }
LaravelLocalization
__construct
checkLocaleInSupportedLocales
checkUrl
createUrlFromUri
extractAttributes
findTranslatedRouteByPath
findTranslatedRouteByUrl
getConfigRepository
getCurrentLocale
getCurrentLocaleDirection
getCurrentLocaleName
getCurrentLocaleNative
getCurrentLocaleNativeReading
getCurrentLocaleRegional
getCurrentLocaleScript
getDefaultLocale
getLocalizedURL
getNonLocalizedURL
getRouteNameFromAPath
getSupportedLanguagesKeys
getSupportedLocales
getTranslatedRoutes
getURLFromRouteNameTranslated
hideDefaultLocaleInURL
localizeURL
setBaseUrl
setLocale
setRouteName
setSupportedLocales
substituteAttributesInRoute
transRoute
unparseUrl
useAcceptLanguageHeader