summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
diff options
context:
space:
mode:
authorxue <>2006-01-31 00:01:49 +0000
committerxue <>2006-01-31 00:01:49 +0000
commit01bc363ac789cfb9d644ce82a949da5cd7e1c220 (patch)
treea059046856645d59cf0cb1badee83eb5c73671e9 /demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
parent265b7e85766ba403ca0a8b58648dd091e483cf38 (diff)
Modified TList and TMap implementation so that they can be more easily extended.
Diffstat (limited to 'demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php')
-rw-r--r--demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php2
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();
}