From cc61c2d74e151a7fb75303f8740edfe74cdd9eb8 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 11 May 2006 11:35:35 +0000 Subject: Update api docs and add API search --- framework/I18N/TGlobalizationAutoDetect.php | 20 ++++++++++++++++---- framework/I18N/core/CultureInfo.php | 2 +- framework/I18N/core/MessageSource.php | 2 +- 3 files changed, 18 insertions(+), 6 deletions(-) (limited to 'framework/I18N') diff --git a/framework/I18N/TGlobalizationAutoDetect.php b/framework/I18N/TGlobalizationAutoDetect.php index 3d550a62..7393d79a 100644 --- a/framework/I18N/TGlobalizationAutoDetect.php +++ b/framework/I18N/TGlobalizationAutoDetect.php @@ -1,15 +1,27 @@ + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005 PradoSoft + * @license http://www.pradosoft.com/license/ + * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $ + * @package System.I18N + */ +/** + * Import the HTTPNeogtiator + */ Prado::using('System.I18N.core.HTTPNegotiator'); /** - * ${classname} - * - * ${description} + * TGlobalizationAutoDetect class will automatically try to resolve the default + * culture using the user browser language settings. * * @author Wei Zhuo * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $ - * @package ${package} + * @package System.I18N */ class TGlobalizationAutoDetect extends TGlobalization { diff --git a/framework/I18N/core/CultureInfo.php b/framework/I18N/core/CultureInfo.php index fe2c45e6..299a8b16 100644 --- a/framework/I18N/core/CultureInfo.php +++ b/framework/I18N/core/CultureInfo.php @@ -161,7 +161,7 @@ class CultureInfo * Initializes a new instance of the CultureInfo class based on the * culture specified by name. E.g. new CultureInfo('en_AU'); * The culture indentifier must be of the form - * "_(country/region/variant)". + * "language_(country/region/variant)". * @param string a culture name, e.g. "en_AU". * @return return new CultureInfo. */ diff --git a/framework/I18N/core/MessageSource.php b/framework/I18N/core/MessageSource.php index d69a13d9..6563f8c9 100644 --- a/framework/I18N/core/MessageSource.php +++ b/framework/I18N/core/MessageSource.php @@ -121,7 +121,7 @@ abstract class MessageSource implements IMessageSource * @param string the location of the resource. * @param string the filename of the custom message source. * @return MessageSource a new message source of the specified type. - * @throw InvalidMessageSourceTypeException + * @throws InvalidMessageSourceTypeException */ static function &factory($type, $source='.', $filename='') { -- cgit v1.2.3