|
Open Journal Systems
3.3.0
|
31 $supportedLocales =&
Registry::get(
'siteSupportedLocales',
true,
null);
33 if ($supportedLocales ===
null) {
34 $supportedLocales = array();
38 foreach ($locales as $localeKey) {
39 $supportedLocales[$localeKey] = $localeNames[$localeKey];
42 asort($supportedLocales);
45 return $supportedLocales;
57 return $this->
getData(
'title', $locale);
92 return $this->
getData(
'redirect');
100 $this->
setData(
'redirect', (
int)$redirect);
129 return $this->
getData(
'minPasswordLength');
137 $this->
setData(
'minPasswordLength', $minPasswordLength);
145 return $this->
getData(
'primaryLocale');
153 $this->
setData(
'primaryLocale', $primaryLocale);
161 $locales = $this->
getData(
'installedLocales');
162 return isset($locales) ? $locales : array();
170 $this->
setData(
'installedLocales', $installedLocales);
178 $locales = $this->
getData(
'supportedLocales');
179 return isset($locales) ? $locales : array();
187 $this->
setData(
'supportedLocales', $supportedLocales);
& getData($key, $locale=null)
getLocalizedData($key, $preferredLocale=null)
Any class with an associated DAO should extend this class.
setSupportedLocales($supportedLocales)
getLocalizedContactEmail()
setInstalledLocales($installedLocales)
static getPrimaryLocale()
setPrimaryLocale($primaryLocale)
static & get($key, $createIfEmpty=false, $createWithDefault=null)
Describes system-wide site properties.
getLocalizedContactName()
getLocalizedPageHeaderTitle()
& getSupportedLocaleNames()
setMinPasswordLength($minPasswordLength)
setData($key, $value, $locale=null)