Created
August 5, 2014 22:22
-
-
Save anonymous/e3e1bbf3620078f8564e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function decideOnLocaleId () | |
{ | |
if ( is_null ( $this -> localeId ) ) | |
{ | |
$locales = $this -> plansLangs -> getLocales () -> getRes () ; | |
var_dump ( $locales ) ;//NULL | |
var_dump ( $this -> plansLangs -> getLocales () -> getRes () ) ;// some array | |
return $locales[ 0 ][ $this -> plansLangs -> getLocales () -> getPkName () ] ; | |
} | |
return $this -> localeId ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment