diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Advanced/Samples/I18N')
-rw-r--r-- | demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php b/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php index 6f868074..9f4c7c4e 100644 --- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php +++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php @@ -35,7 +35,7 @@ class Home extends TPage */
public function getCurrentCulture()
{
- $culture = $this->Application->Globalization->Culture;
+ $culture = $this->getApplication()->getGlobalization()->getCulture();
$cultureInfo = new CultureInfo($culture);
return $cultureInfo->getNativeName();
}
|