From b44b92c6a43eac75d8213148bd2e86e057e39d07 Mon Sep 17 00:00:00 2001 From: knut <> Date: Thu, 2 Mar 2006 20:08:34 +0000 Subject: Added using() statements to ensure that parent TI18NControl is loaded --- framework/I18N/TDateFormat.php | 5 +++++ framework/I18N/TNumberFormat.php | 6 +++++- framework/I18N/TTranslate.php | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) (limited to 'framework/I18N') 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 @@ -22,6 +22,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 * 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 @@ -17,6 +17,11 @@ * @package System.I18N */ +/** + * Get the parent control class. + */ +Prado::using('System.I18N.TI18NControl'); + /** * TTranslate class. * -- cgit v1.2.3