PrefixModelAsController::setLocale
Distill the locale from the URL's language prefix. If the prefix isn't a proper locale, return false
Signature
protected function setLocale(
$prefix )
Parameters
$prefix
—
Returns
- boolean
- valid locale found