summaryrefslogtreecommitdiff
path: root/framework/I18N
diff options
context:
space:
mode:
authorknut <>2006-03-02 20:08:34 +0000
committerknut <>2006-03-02 20:08:34 +0000
commitb44b92c6a43eac75d8213148bd2e86e057e39d07 (patch)
tree39cc4df02a3fda53ff9324bf55c5759d227e2616 /framework/I18N
parent7aaac0616966300e7df112d6bf6f5ccb152c8364 (diff)
Added using() statements to ensure that parent TI18NControl is loaded
Diffstat (limited to 'framework/I18N')
-rw-r--r--framework/I18N/TDateFormat.php5
-rw-r--r--framework/I18N/TNumberFormat.php6
-rw-r--r--framework/I18N/TTranslate.php5
3 files changed, 15 insertions, 1 deletions
diff --git a/framework/I18N/TDateFormat.php b/framework/I18N/TDateFormat.php
index 711dd563..8e7a7e30 100644
--- a/framework/I18N/TDateFormat.php
+++ b/framework/I18N/TDateFormat.php
@@ -23,6 +23,11 @@
Prado::using('System.I18N.core.DateFormat');
/**
+ * Get the parent control class.
+ */
+Prado::using('System.I18N.TI18NControl');
+
+/**
* To format dates and/or time according to the current locale use
* <code>
* <com:TDateFormat Pattern="dd:MMM:yyyy" Value="01/01/2001" />
diff --git a/framework/I18N/TNumberFormat.php b/framework/I18N/TNumberFormat.php
index e50a0de3..bcb1b8d3 100644
--- a/framework/I18N/TNumberFormat.php
+++ b/framework/I18N/TNumberFormat.php
@@ -16,11 +16,15 @@
* @package System.I18N
*/
- /**
+/**
* Get the NumberFormat class.
*/
Prado::using('System.I18N.core.NumberFormat');
+/**
+ * Get the parent control class.
+ */
+Prado::using('System.I18N.TI18NControl');
/**
* To format numbers in locale sensitive manner use
diff --git a/framework/I18N/TTranslate.php b/framework/I18N/TTranslate.php
index e013b37d..ac1debc2 100644
--- a/framework/I18N/TTranslate.php
+++ b/framework/I18N/TTranslate.php
@@ -18,6 +18,11 @@
*/
/**
+ * Get the parent control class.
+ */
+Prado::using('System.I18N.TI18NControl');
+
+/**
* TTranslate class.
*
* This component performs message/string translation. The translation