summaryrefslogtreecommitdiff
path: root/framework/I18N
diff options
context:
space:
mode:
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