From 90b3f22cba8ad85ef2eb38c158fa2da46d798cf8 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 8 Sep 2006 19:31:03 +0000 Subject: merge from 3.0 branch till 1397. --- framework/3rdParty/SafeHtml/HTMLSax3.php | 4 +- .../3rdParty/SafeHtml/HTMLSax3/Decorators.php | 4 +- framework/3rdParty/SafeHtml/HTMLSax3/States.php | 4 +- framework/3rdParty/TinyMCE/tiny_mce.tar | Bin 3164160 -> 3162493 bytes framework/3rdParty/geshi/docs/README | 2 +- framework/3rdParty/geshi/docs/THANKS | 2 +- framework/3rdParty/geshi/geshi.php | 2 +- framework/Caching/TAPCCache.php | 4 +- framework/Caching/TCache.php | 4 +- framework/Caching/TMemCache.php | 4 +- framework/Caching/TSqliteCache.php | 4 +- framework/Collections/TAttributeCollection.php | 4 +- framework/Collections/TDummyDataSource.php | 6 +- framework/Collections/TList.php | 6 +- framework/Collections/TMap.php | 6 +- framework/Collections/TPagedDataSource.php | 8 +- framework/Collections/TPagedList.php | 8 +- framework/Collections/TStack.php | 6 +- framework/Exceptions/TErrorHandler.php | 4 +- framework/Exceptions/TException.php | 28 +-- framework/I18N/TChoiceFormat.php | 2 +- framework/I18N/TDateFormat.php | 2 +- framework/I18N/TGlobalization.php | 2 +- framework/I18N/TI18NControl.php | 2 +- framework/I18N/TNumberFormat.php | 2 +- framework/I18N/TTranslate.php | 2 +- framework/I18N/TTranslateParameter.php | 2 +- framework/I18N/Translation.php | 2 +- framework/I18N/core/CultureInfo.php | 212 ++++++++++----------- framework/I18N/core/Gettext/MO.php | 2 +- framework/I18N/core/Gettext/PO.php | 2 +- framework/I18N/core/Gettext/TGettext.php | 2 +- framework/I18N/core/MessageCache.php | 4 +- framework/I18N/core/TCache_Lite.php | 2 +- framework/IO/TTarFileExtractor.php | 6 +- framework/IO/TTextWriter.php | 4 +- framework/PradoBase.php | 6 +- framework/Security/IUserManager.php | 4 +- framework/Security/TAuthManager.php | 4 +- framework/Security/TAuthorizationRule.php | 6 +- framework/Security/TSecurityManager.php | 6 +- framework/Security/TUser.php | 4 +- framework/Security/TUserManager.php | 6 +- framework/TApplication.php | 10 +- framework/TApplicationComponent.php | 4 +- framework/TComponent.php | 12 +- framework/TModule.php | 4 +- framework/TService.php | 4 +- framework/Util/TDataFieldAccessor.php | 4 +- framework/Util/TLogRouter.php | 12 +- framework/Util/TLogger.php | 4 +- framework/Util/TParameterModule.php | 4 +- framework/Util/TSimpleDateFormatter.php | 4 +- framework/Util/TVarDumper.php | 4 +- framework/Web/Services/TPageService.php | 6 +- framework/Web/TAssetManager.php | 4 +- framework/Web/THttpRequest.php | 12 +- framework/Web/THttpResponse.php | 4 +- framework/Web/THttpSession.php | 8 +- framework/Web/THttpUtility.php | 4 +- framework/Web/UI/TClientScriptManager.php | 6 +- framework/Web/UI/TCompositeControl.php | 4 +- framework/Web/UI/TControl.php | 32 ++-- framework/Web/UI/TControlAdapter.php | 4 +- framework/Web/UI/TForm.php | 4 +- framework/Web/UI/THtmlWriter.php | 4 +- framework/Web/UI/TPage.php | 6 +- framework/Web/UI/TPageStatePersister.php | 4 +- framework/Web/UI/TTemplateControl.php | 4 +- framework/Web/UI/TTemplateManager.php | 6 +- framework/Web/UI/TThemeManager.php | 6 +- framework/Web/UI/WebControls/TBaseDataList.php | 4 +- framework/Web/UI/WebControls/TBaseValidator.php | 10 +- framework/Web/UI/WebControls/TBoundColumn.php | 12 +- framework/Web/UI/WebControls/TBulletedList.php | 10 +- framework/Web/UI/WebControls/TButton.php | 6 +- framework/Web/UI/WebControls/TButtonColumn.php | 6 +- framework/Web/UI/WebControls/TCheckBox.php | 6 +- framework/Web/UI/WebControls/TCheckBoxColumn.php | 8 +- framework/Web/UI/WebControls/TCheckBoxList.php | 4 +- framework/Web/UI/WebControls/TClientScript.php | 4 +- framework/Web/UI/WebControls/TColorPicker.php | 6 +- framework/Web/UI/WebControls/TCompareValidator.php | 6 +- framework/Web/UI/WebControls/TContent.php | 4 +- .../Web/UI/WebControls/TContentPlaceHolder.php | 4 +- framework/Web/UI/WebControls/TCustomValidator.php | 6 +- framework/Web/UI/WebControls/TDataBoundControl.php | 6 +- framework/Web/UI/WebControls/TDataGrid.php | 30 +-- framework/Web/UI/WebControls/TDataGridColumn.php | 6 +- framework/Web/UI/WebControls/TDataList.php | 12 +- .../Web/UI/WebControls/TDataSourceControl.php | 8 +- framework/Web/UI/WebControls/TDataSourceView.php | 8 +- .../Web/UI/WebControls/TDataTypeValidator.php | 4 +- framework/Web/UI/WebControls/TDatePicker.php | 29 ++- framework/Web/UI/WebControls/TDropDownList.php | 4 +- .../Web/UI/WebControls/TDropDownListColumn.php | 12 +- .../Web/UI/WebControls/TEditCommandColumn.php | 8 +- .../Web/UI/WebControls/TEmailAddressValidator.php | 4 +- framework/Web/UI/WebControls/TExpression.php | 4 +- framework/Web/UI/WebControls/TFileUpload.php | 15 +- framework/Web/UI/WebControls/TFont.php | 4 +- framework/Web/UI/WebControls/THead.php | 8 +- framework/Web/UI/WebControls/THiddenField.php | 4 +- framework/Web/UI/WebControls/THtmlArea.php | 4 +- framework/Web/UI/WebControls/THyperLink.php | 4 +- framework/Web/UI/WebControls/THyperLinkColumn.php | 6 +- framework/Web/UI/WebControls/TImage.php | 4 +- framework/Web/UI/WebControls/TImageButton.php | 6 +- framework/Web/UI/WebControls/TImageMap.php | 18 +- framework/Web/UI/WebControls/TInlineFrame.php | 8 +- framework/Web/UI/WebControls/TJavascriptLogger.php | 4 +- framework/Web/UI/WebControls/TLabel.php | 4 +- framework/Web/UI/WebControls/TLinkButton.php | 4 +- framework/Web/UI/WebControls/TListBox.php | 6 +- framework/Web/UI/WebControls/TListControl.php | 6 +- .../Web/UI/WebControls/TListControlValidator.php | 4 +- framework/Web/UI/WebControls/TListItem.php | 4 +- framework/Web/UI/WebControls/TLiteral.php | 4 +- framework/Web/UI/WebControls/TMarkdown.php | 4 +- framework/Web/UI/WebControls/TMultiView.php | 8 +- framework/Web/UI/WebControls/TPager.php | 10 +- framework/Web/UI/WebControls/TPanel.php | 4 +- framework/Web/UI/WebControls/TPanelStyle.php | 8 +- framework/Web/UI/WebControls/TPlaceHolder.php | 4 +- framework/Web/UI/WebControls/TRadioButton.php | 4 +- framework/Web/UI/WebControls/TRadioButtonList.php | 4 +- framework/Web/UI/WebControls/TRangeValidator.php | 6 +- framework/Web/UI/WebControls/TRatingList.php | 4 +- .../UI/WebControls/TRegularExpressionValidator.php | 4 +- framework/Web/UI/WebControls/TRepeatInfo.php | 10 +- framework/Web/UI/WebControls/TRepeater.php | 12 +- .../Web/UI/WebControls/TRequiredFieldValidator.php | 4 +- framework/Web/UI/WebControls/TSafeHtml.php | 4 +- framework/Web/UI/WebControls/TStatements.php | 4 +- framework/Web/UI/WebControls/TStyle.php | 14 +- framework/Web/UI/WebControls/TStyleSheet.php | 2 +- framework/Web/UI/WebControls/TTable.php | 8 +- framework/Web/UI/WebControls/TTableCell.php | 4 +- framework/Web/UI/WebControls/TTableFooterRow.php | 4 +- framework/Web/UI/WebControls/TTableHeaderCell.php | 6 +- framework/Web/UI/WebControls/TTableHeaderRow.php | 4 +- framework/Web/UI/WebControls/TTableRow.php | 8 +- framework/Web/UI/WebControls/TTemplateColumn.php | 18 +- framework/Web/UI/WebControls/TTextBox.php | 8 +- framework/Web/UI/WebControls/TTextHighlighter.php | 4 +- framework/Web/UI/WebControls/TTextProcessor.php | 4 +- .../Web/UI/WebControls/TValidationSummary.php | 10 +- framework/Web/UI/WebControls/TWebControl.php | 4 +- .../Web/UI/WebControls/TWebControlAdapter.php | 4 +- framework/Web/UI/WebControls/TWizard.php | 34 ++-- framework/Xml/TXmlDocument.php | 8 +- framework/interfaces.php | 20 +- framework/prado-cli.php | 3 +- framework/prado.php | 2 +- 154 files changed, 602 insertions(+), 589 deletions(-) (limited to 'framework') diff --git a/framework/3rdParty/SafeHtml/HTMLSax3.php b/framework/3rdParty/SafeHtml/HTMLSax3.php index 35e50f55..1be7aede 100644 --- a/framework/3rdParty/SafeHtml/HTMLSax3.php +++ b/framework/3rdParty/SafeHtml/HTMLSax3.php @@ -19,12 +19,12 @@ // | Authors: Many @ Sitepointforums Advanced PHP Forums | // +----------------------------------------------------------------------+ // -// $Id: HTMLSax3.php,v 1.2 2005/12/22 11:09:09 weizhuo Exp $ +// $Id$ // /** * Main parser components * @package System.Security.SafeHtml -* @version $Id: HTMLSax3.php,v 1.2 2005/12/22 11:09:09 weizhuo Exp $ +* @version $Id$ */ /** * Required classes diff --git a/framework/3rdParty/SafeHtml/HTMLSax3/Decorators.php b/framework/3rdParty/SafeHtml/HTMLSax3/Decorators.php index 6256706c..ac82d073 100644 --- a/framework/3rdParty/SafeHtml/HTMLSax3/Decorators.php +++ b/framework/3rdParty/SafeHtml/HTMLSax3/Decorators.php @@ -19,12 +19,12 @@ // | Authors: Many @ Sitepointforums Advanced PHP Forums | // +----------------------------------------------------------------------+ // -// $Id: Decorators.php,v 1.2 2005/12/22 11:09:09 weizhuo Exp $ +// $Id$ // /** * Decorators for dealing with parser options * @package System.Security.SafeHtml -* @version $Id: Decorators.php,v 1.2 2005/12/22 11:09:09 weizhuo Exp $ +* @version $Id$ * @see TSax3::set_option */ /** diff --git a/framework/3rdParty/SafeHtml/HTMLSax3/States.php b/framework/3rdParty/SafeHtml/HTMLSax3/States.php index 2b863a59..6dfead17 100644 --- a/framework/3rdParty/SafeHtml/HTMLSax3/States.php +++ b/framework/3rdParty/SafeHtml/HTMLSax3/States.php @@ -19,12 +19,12 @@ // | Authors: Many @ Sitepointforums Advanced PHP Forums | // +----------------------------------------------------------------------+ // -// $Id: States.php,v 1.2 2005/12/22 11:09:09 weizhuo Exp $ +// $Id$ // /** * Parsing states. * @package System.Security.SafeHtml -* @version $Id: States.php,v 1.2 2005/12/22 11:09:09 weizhuo Exp $ +* @version $Id$ */ /** * Define parser states diff --git a/framework/3rdParty/TinyMCE/tiny_mce.tar b/framework/3rdParty/TinyMCE/tiny_mce.tar index 125ee624..ee8a5603 100644 Binary files a/framework/3rdParty/TinyMCE/tiny_mce.tar and b/framework/3rdParty/TinyMCE/tiny_mce.tar differ diff --git a/framework/3rdParty/geshi/docs/README b/framework/3rdParty/geshi/docs/README index 11857d5d..9a67fdf1 100644 --- a/framework/3rdParty/geshi/docs/README +++ b/framework/3rdParty/geshi/docs/README @@ -32,4 +32,4 @@ COPYING file for more information. If you do modify this program, please tell me about it! Perhaps you've made a good improvement that I can learn from :) - $Id: README,v 1.6 2005/10/22 07:52:59 oracleshinoda Exp $ + $Id$ diff --git a/framework/3rdParty/geshi/docs/THANKS b/framework/3rdParty/geshi/docs/THANKS index 540efbbe..2b2e5d99 100644 --- a/framework/3rdParty/geshi/docs/THANKS +++ b/framework/3rdParty/geshi/docs/THANKS @@ -84,4 +84,4 @@ PEOPE WHO MADE LANGUAGE FILES Do you want your name in here? Help me out! Make a language file, or suggest a new feature, or make a plugin for GeSHi for some other software, then tell me about it! - $Id: THANKS,v 1.7 2005/11/19 01:02:50 oracleshinoda Exp $ + $Id$ diff --git a/framework/3rdParty/geshi/geshi.php b/framework/3rdParty/geshi/geshi.php index b124c936..983a42a0 100644 --- a/framework/3rdParty/geshi/geshi.php +++ b/framework/3rdParty/geshi/geshi.php @@ -28,7 +28,7 @@ * @author Nigel McNie * @copyright Copyright © 2004, 2005, Nigel McNie * @license http://gnu.org/copyleft/gpl.html GNU GPL - * @version $Id: geshi.php,v 1.23 2005/11/19 02:23:37 oracleshinoda Exp $ + * @version $Id$ * */ diff --git a/framework/Caching/TAPCCache.php b/framework/Caching/TAPCCache.php index 4c5f2779..fb419911 100644 --- a/framework/Caching/TAPCCache.php +++ b/framework/Caching/TAPCCache.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching */ @@ -40,7 +40,7 @@ * * * @author Alban Hanry - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching * @since 3.0b */ diff --git a/framework/Caching/TCache.php b/framework/Caching/TCache.php index b1d53525..d974fe83 100644 --- a/framework/Caching/TCache.php +++ b/framework/Caching/TCache.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching */ @@ -37,7 +37,7 @@ * and optionally {@link flush} * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching * @since 3.0 */ diff --git a/framework/Caching/TMemCache.php b/framework/Caching/TMemCache.php index bd1ae189..c0f9b4bc 100644 --- a/framework/Caching/TMemCache.php +++ b/framework/Caching/TMemCache.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching */ @@ -59,7 +59,7 @@ * of TMemCache. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching * @since 3.0 */ diff --git a/framework/Caching/TSqliteCache.php b/framework/Caching/TSqliteCache.php index acf42906..89c2cdcc 100644 --- a/framework/Caching/TSqliteCache.php +++ b/framework/Caching/TSqliteCache.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching */ @@ -61,7 +61,7 @@ * SQLite DB file (in the namespace format). * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Caching * @since 3.0 */ diff --git a/framework/Collections/TAttributeCollection.php b/framework/Collections/TAttributeCollection.php index abeb3c53..a65a4a89 100644 --- a/framework/Collections/TAttributeCollection.php +++ b/framework/Collections/TAttributeCollection.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections */ @@ -38,7 +38,7 @@ Prado::using('System.Collections.TMap'); * in the collection storage. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ diff --git a/framework/Collections/TDummyDataSource.php b/framework/Collections/TDummyDataSource.php index d7fee4a9..1bb839c5 100644 --- a/framework/Collections/TDummyDataSource.php +++ b/framework/Collections/TDummyDataSource.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections */ @@ -22,7 +22,7 @@ * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -76,7 +76,7 @@ class TDummyDataSource extends TComponent implements IteratorAggregate, Countabl * for traversing its dummy items. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php index 1104ec47..f22d6e7b 100644 --- a/framework/Collections/TList.php +++ b/framework/Collections/TList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections */ @@ -32,7 +32,7 @@ * operation, override {@link insertAt()}, and {@link removeAt()}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -348,7 +348,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl * for traversing the items in the list. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php index ef393866..ca9834d5 100644 --- a/framework/Collections/TMap.php +++ b/framework/Collections/TMap.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections */ @@ -28,7 +28,7 @@ * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -273,7 +273,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable * for traversing the items in the map. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ diff --git a/framework/Collections/TPagedDataSource.php b/framework/Collections/TPagedDataSource.php index a2bce9e3..8f6690e7 100644 --- a/framework/Collections/TPagedDataSource.php +++ b/framework/Collections/TPagedDataSource.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections */ @@ -24,7 +24,7 @@ * within the specified page will be returned and traversed. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -277,7 +277,7 @@ class TPagedDataSource extends TComponent implements IteratorAggregate,Countable * to return a new iterator for traversing the items in a {@link TList} object. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -363,7 +363,7 @@ class TPagedListIterator implements Iterator * to return a new iterator for traversing the items in a {@link TMap} object. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ diff --git a/framework/Collections/TPagedList.php b/framework/Collections/TPagedList.php index 9637f499..e31dfe80 100644 --- a/framework/Collections/TPagedList.php +++ b/framework/Collections/TPagedList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections */ @@ -51,7 +51,7 @@ * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -372,7 +372,7 @@ class TPagedList extends TList * To obtain the page index before it was changed, use {@link getOldPageIndex OldPageIndex}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -410,7 +410,7 @@ class TPagedListPageChangedEventParameter extends TEventParameter * Newly fetched data should be saved in {@link setData Data} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php index f1118d90..66f69f6c 100644 --- a/framework/Collections/TStack.php +++ b/framework/Collections/TStack.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections */ @@ -27,7 +27,7 @@ * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ @@ -181,7 +181,7 @@ class TStack extends TComponent implements IteratorAggregate,Countable * for traversing the items in the list. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Collections * @since 3.0 */ diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index eabe20dc..14c824c9 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions */ @@ -45,7 +45,7 @@ * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ diff --git a/framework/Exceptions/TException.php b/framework/Exceptions/TException.php index 5e846692..745d5769 100644 --- a/framework/Exceptions/TException.php +++ b/framework/Exceptions/TException.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions */ @@ -28,7 +28,7 @@ * "message.txt" will be used instead. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -129,7 +129,7 @@ class TException extends Exception * TSystemException is the base class for all framework-level exceptions. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -143,7 +143,7 @@ class TSystemException extends TException * TApplicationException is the base class for all user application-level exceptions. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -157,7 +157,7 @@ class TApplicationException extends TException * TInvalidOperationException represents an exception caused by invalid operations. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -171,7 +171,7 @@ class TInvalidOperationException extends TSystemException * TInvalidDataTypeException represents an exception caused by invalid data type. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -185,7 +185,7 @@ class TInvalidDataTypeException extends TSystemException * TInvalidDataValueException represents an exception caused by invalid data value. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -200,7 +200,7 @@ class TInvalidDataValueException extends TSystemException * such as error in an application configuration file or control template file. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -214,7 +214,7 @@ class TConfigurationException extends TSystemException * TIOException represents an exception related with improper IO operations. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -228,7 +228,7 @@ class TIOException extends TSystemException * TDbException represents an exception related with DB operations. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -242,7 +242,7 @@ class TDbException extends TSystemException * TDbConnectionException represents an exception caused by DB connection failure. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -256,7 +256,7 @@ class TDbConnectionException extends TDbException * TNotSupportedException represents an exception caused by using an unsupported PRADO feature. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -271,7 +271,7 @@ class TNotSupportedException extends TSystemException * This exception is mainly thrown within a PHP error handler. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ @@ -314,7 +314,7 @@ class TPhpErrorException extends TSystemException * It is used by {@link TErrorHandler} to provide different error output to users. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Exceptions * @since 3.0 */ diff --git a/framework/I18N/TChoiceFormat.php b/framework/I18N/TChoiceFormat.php index cd6ef511..bf646c31 100644 --- a/framework/I18N/TChoiceFormat.php +++ b/framework/I18N/TChoiceFormat.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/TDateFormat.php b/framework/I18N/TDateFormat.php index 0f5507ab..1f27cefe 100644 --- a/framework/I18N/TDateFormat.php +++ b/framework/I18N/TDateFormat.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php index 1ea7ce2b..d3c6d233 100644 --- a/framework/I18N/TGlobalization.php +++ b/framework/I18N/TGlobalization.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/TI18NControl.php b/framework/I18N/TI18NControl.php index efe3ac84..7ca0e6b2 100644 --- a/framework/I18N/TI18NControl.php +++ b/framework/I18N/TI18NControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/TNumberFormat.php b/framework/I18N/TNumberFormat.php index 76373a8e..5f16873e 100644 --- a/framework/I18N/TNumberFormat.php +++ b/framework/I18N/TNumberFormat.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/TTranslate.php b/framework/I18N/TTranslate.php index da5876d4..e1f2fee5 100644 --- a/framework/I18N/TTranslate.php +++ b/framework/I18N/TTranslate.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/TTranslateParameter.php b/framework/I18N/TTranslateParameter.php index 3f9f72ac..7ead6e87 100644 --- a/framework/I18N/TTranslateParameter.php +++ b/framework/I18N/TTranslateParameter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/Translation.php b/framework/I18N/Translation.php index 960ff1f9..33696304 100644 --- a/framework/I18N/Translation.php +++ b/framework/I18N/Translation.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.I18N */ diff --git a/framework/I18N/core/CultureInfo.php b/framework/I18N/core/CultureInfo.php index 299a8b16..bcf2f245 100644 --- a/framework/I18N/core/CultureInfo.php +++ b/framework/I18N/core/CultureInfo.php @@ -13,117 +13,117 @@ * {@link http://prado.sourceforge.net/} * * @author Wei Zhuo - * @version $Revision: 1.6 $ $Date: 2005/12/16 05:26:17 $ + * @version $Id$ * @package System.I18N.core */ - + /** * CultureInfo class. - * - * Represents information about a specific culture including the - * names of the culture, the calendar used, as well as access to - * culture-specific objects that provide methods for common operations, + * + * Represents information about a specific culture including the + * names of the culture, the calendar used, as well as access to + * culture-specific objects that provide methods for common operations, * such as formatting dates, numbers, and currency. - * - * The CultureInfo class holds culture-specific information, such as the - * associated language, sublanguage, country/region, calendar, and cultural - * conventions. This class also provides access to culture-specific + * + * The CultureInfo class holds culture-specific information, such as the + * associated language, sublanguage, country/region, calendar, and cultural + * conventions. This class also provides access to culture-specific * instances of DateTimeFormatInfo and NumberFormatInfo. These objects * contain the information required for culture-specific operations, * such as formatting dates, numbers and currency. - * - * The culture names follow the format "_", + * + * The culture names follow the format "_", * where is a lowercase two-letter code derived from ISO 639 - * codes. You can find a full list of the ISO-639 codes at - * http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt - * - * The is an uppercase two-letter code derived from - * ISO 3166. A copy of ISO-3166 can be found at + * codes. You can find a full list of the ISO-639 codes at + * http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt + * + * The is an uppercase two-letter code derived from + * ISO 3166. A copy of ISO-3166 can be found at * http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html * - * For example, Australian English is "en_AU". - * + * For example, Australian English is "en_AU". + * * @author Xiang Wei Zhuo - * @version v1.0, last update on Sat Dec 04 13:41:46 EST 2004 + * @version $Id$ * @package System.I18N.core */ class CultureInfo { /** * ICU data filename extension. - * @var string + * @var string */ private $dataFileExt = '.dat'; /** * The ICU data array. - * @var array + * @var array */ private $data = array(); /** * The current culture. - * @var string + * @var string */ private $culture; /** * Directory where the ICU data is stored. - * @var string + * @var string */ private $dataDir; /** * A list of ICU date files loaded. - * @var array + * @var array */ private $dataFiles = array(); /** * The current date time format info. - * @var DateTimeFormatInfo + * @var DateTimeFormatInfo */ private $dateTimeFormat; /** * The current number format info. - * @var NumberFormatInfo + * @var NumberFormatInfo */ private $numberFormat; - + /** * A list of properties that are accessable/writable. - * @var array - */ + * @var array + */ protected $properties = array(); /** - * Culture type, all. + * Culture type, all. * @see getCultures() - * @var int + * @var int */ const ALL = 0; /** - * Culture type, neutral. + * Culture type, neutral. * @see getCultures() - * @var int - */ + * @var int + */ const NEUTRAL = 1; - + /** - * Culture type, specific. + * Culture type, specific. * @see getCultures() - * @var int - */ + * @var int + */ const SPECIFIC = 2; /** - * Display the culture name. + * Display the culture name. * @return string the culture name. * @see getName() */ - function __toString() + function __toString() { return $this->getName(); } @@ -134,7 +134,7 @@ class CultureInfo * as an attribute/property to retrieve the value. * @return mixed */ - function __get($name) + function __get($name) { $getProperty = 'get'.$name; if(in_array($getProperty, $this->properties)) @@ -142,33 +142,33 @@ class CultureInfo else throw new Exception('Property '.$name.' does not exists.'); } - + /** * Allow functions that begins with 'set' to be called directly * as an attribute/property to set the value. */ - function __set($name, $value) + function __set($name, $value) { $setProperty = 'set'.$name; if(in_array($setProperty, $this->properties)) $this->$setProperty($value); else throw new Exception('Property '.$name.' can not be set.'); - } + } + - /** - * Initializes a new instance of the CultureInfo class based on the + * 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 + * The culture indentifier must be of the form * "language_(country/region/variant)". * @param string a culture name, e.g. "en_AU". * @return return new CultureInfo. */ - function __construct($culture='en') + function __construct($culture='en') { - $this->properties = get_class_methods($this); - + $this->properties = get_class_methods($this); + if(empty($culture)) $culture = 'en'; @@ -176,41 +176,41 @@ class CultureInfo $this->dataFileExt = $this->fileExt(); $this->setCulture($culture); - + $this->loadCultureData('root'); - $this->loadCultureData($culture); + $this->loadCultureData($culture); } - + /** * Get the default directory for the ICU data. * The default is the "data" directory for this class. - * @return string directory containing the ICU data. + * @return string directory containing the ICU data. */ protected static function dataDir() { return dirname(__FILE__).'/data/'; } - + /** * Get the filename extension for ICU data. Default is ".dat". - * @return string filename extension for ICU data. + * @return string filename extension for ICU data. */ protected static function fileExt() { return '.dat'; } - + /** * Determine if a given culture is valid. Simply checks that the * culture data exists. * @param string a culture - * @return boolean true if valid, false otherwise. + * @return boolean true if valid, false otherwise. */ public function validCulture($culture) { if(preg_match('/^[a-z]{2}(_[A-Z]{2,5}){0,2}$/', $culture)) return is_file(self::dataDir().$culture.self::fileExt()); - + return false; } @@ -235,10 +235,10 @@ class CultureInfo * @param string the culture identifier. */ protected function loadCultureData($culture) - { + { $file_parts = explode('_',$culture); $current_part = $file_parts[0]; - + $files = array($current_part); for($i = 1, $k = count($file_parts); $i < $k; ++$i) @@ -257,29 +257,29 @@ class CultureInfo if(in_array($filename, $this->dataFiles) === false) { array_unshift($this->dataFiles, $file); - + $data = &$this->getData($filename); $this->data[$file] = &$data; - + if(isset($data['__ALIAS'])) $this->loadCultureData($data['__ALIAS'][0]); unset($data); } - } + } } - + /** * Get the data by unserializing the ICU data from disk. * The data files are cached in a static variable inside * this function. * @param string the ICU data filename - * @return array ICU data + * @return array ICU data */ protected function &getData($filename) { static $data = array(); static $files = array(); - + if(!in_array($filename, $files)) { $data[$filename] = unserialize(file_get_contents($filename)); @@ -288,7 +288,7 @@ class CultureInfo return $data[$filename]; } - + /** * Find the specific ICU data information from the data. * The path to the specific ICU data is separated with a slash "/". @@ -297,19 +297,19 @@ class CultureInfo * Use merge=true to return the ICU including the parent culture. * E.g. The currency data for a variant, say "en_AU" contains one * entry, the currency for AUD, the other currency data are stored - * in the "en" data file. Thus to retrieve all the data regarding + * in the "en" data file. Thus to retrieve all the data regarding * currency for "en_AU", you need to use findInfo("Currencies,true);. * @param string the data you want to find. * @param boolean merge the data from its parents. - * @return mixed the specific ICU data. + * @return mixed the specific ICU data. */ - protected function findInfo($path='/', $merge=false) + protected function findInfo($path='/', $merge=false) { $result = array(); foreach($this->dataFiles as $section) - { + { $info = $this->searchArray($this->data[$section], $path); - + if($info) { if($merge) @@ -321,7 +321,7 @@ class CultureInfo return $result; } - + /** * Search the array for a specific value using a path separated using * slash "/" separated path. e.g to find $info['hello']['world'], @@ -330,7 +330,7 @@ class CultureInfo * @param string slash "/" separated array path. * @return mixed the value array using the path */ - private function searchArray($info, $path='/') + private function searchArray($info, $path='/') { $index = explode('/',$path); @@ -345,11 +345,11 @@ class CultureInfo return $array[$value]; } } - + /** - * Gets the culture name in the format + * Gets the culture name in the format * "_(country/regioncode2)". - * @return string culture name. + * @return string culture name. */ function getName() { @@ -359,9 +359,9 @@ class CultureInfo /** * Gets the DateTimeFormatInfo that defines the culturally appropriate * format of displaying dates and times. - * @return DateTimeFormatInfo date time format information for the culture. + * @return DateTimeFormatInfo date time format information for the culture. */ - function getDateTimeFormat() + function getDateTimeFormat() { if(is_null($this->dateTimeFormat)) { @@ -377,7 +377,7 @@ class CultureInfo * Set the date time format information. * @param DateTimeFormatInfo the new date time format info. */ - function setDateTimeFormat($dateTimeFormat) + function setDateTimeFormat($dateTimeFormat) { $this->dateTimeFormat = $dateTimeFormat; } @@ -386,7 +386,7 @@ class CultureInfo * Gets the default calendar used by the culture, e.g. "gregorian". * @return string the default calendar. */ - function getCalendar() + function getCalendar() { $info = $this->findInfo('calendar/default'); return $info[0]; @@ -414,7 +414,7 @@ class CultureInfo * Gets the culture name in English. * Returns array('Language','Country'); * 'Country' is omitted if the culture is neutral. - * @return array array with language and country as elements. + * @return array array with language and country as elements. */ function getEnglishName() { @@ -427,7 +427,7 @@ class CultureInfo if($region) return $language[0].' ('.$region[0].')'; else - return $language[0]; + return $language[0]; } /** @@ -435,7 +435,7 @@ class CultureInfo * Any changes to the invariant culture affects all other * instances of the invariant culture. * The invariant culture is assumed to be "en"; - * @return CultureInfo invariant culture info is "en". + * @return CultureInfo invariant culture info is "en". */ static function getInvariantCulture() { @@ -446,10 +446,10 @@ class CultureInfo } /** - * Gets a value indicating whether the current CultureInfo + * Gets a value indicating whether the current CultureInfo * represents a neutral culture. Returns true if the culture * only contains two characters. - * @return boolean true if culture is neutral, false otherwise. + * @return boolean true if culture is neutral, false otherwise. */ function getIsNeutralCulture() { @@ -459,7 +459,7 @@ class CultureInfo /** * Gets the NumberFormatInfo that defines the culturally appropriate * format of displaying numbers, currency, and percentage. - * @return NumberFormatInfo the number format info for current culture. + * @return NumberFormatInfo the number format info for current culture. */ function getNumberFormat() { @@ -471,7 +471,7 @@ class CultureInfo $data = array( 'NumberElements'=>$elements, 'NumberPatterns'=>$patterns, 'Currencies' => $currencies); - + $this->setNumberFormat(new NumberFormatInfo($data)); } return $this->numberFormat; @@ -487,9 +487,9 @@ class CultureInfo } /** - * Gets the CultureInfo that represents the parent culture of the + * Gets the CultureInfo that represents the parent culture of the * current CultureInfo - * @return CultureInfo parent culture information. + * @return CultureInfo parent culture information. */ function getParent() { @@ -501,26 +501,26 @@ class CultureInfo } /** - * Gets the list of supported cultures filtered by the specified + * Gets the list of supported cultures filtered by the specified * culture type. This is an EXPENSIVE function, it needs to traverse * a list of ICU files in the data directory. * This function can be called statically. * @param int culture type, CultureInfo::ALL, CultureInfo::NEUTRAL * or CultureInfo::SPECIFIC. - * @return array list of culture information available. + * @return array list of culture information available. */ static function getCultures($type=CultureInfo::ALL) { $dataDir = CultureInfo::dataDir(); $dataExt = CultureInfo::fileExt(); $dir = dir($dataDir); - + $neutral = array(); $specific = array(); - while (false !== ($entry = $dir->read())) + while (false !== ($entry = $dir->read())) { - if(is_file($dataDir.$entry) + if(is_file($dataDir.$entry) && substr($entry,-4) == $dataExt && $entry != 'root'.$dataExt) { @@ -545,7 +545,7 @@ class CultureInfo break; case CultureInfo::SPECIFIC : return $specific; - break; + break; } } @@ -554,7 +554,7 @@ class CultureInfo * E.g. array(0 => array('hello'), 1 => 'world'); * becomes array(0 => 'hello', 1 => 'world'); * @param array with single elements arrays - * @return array simplified array. + * @return array simplified array. */ private function simplify($array) { @@ -571,7 +571,7 @@ class CultureInfo /** * Get a list of countries in the language of the localized version. - * @return array a list of localized country names. + * @return array a list of localized country names. */ function getCountries() { @@ -580,7 +580,7 @@ class CultureInfo /** * Get a list of currencies in the language of the localized version. - * @return array a list of localized currencies. + * @return array a list of localized currencies. */ function getCurrencies() { @@ -589,7 +589,7 @@ class CultureInfo /** * Get a list of languages in the language of the localized version. - * @return array list of localized language names. + * @return array list of localized language names. */ function getLanguages() { @@ -598,8 +598,8 @@ class CultureInfo /** * Get a list of scripts in the language of the localized version. - * @return array list of localized script names. - */ + * @return array list of localized script names. + */ function getScripts() { return $this->simplify($this->findInfo('Scripts',true)); @@ -607,8 +607,8 @@ class CultureInfo /** * Get a list of timezones in the language of the localized version. - * @return array list of localized timezones. - */ + * @return array list of localized timezones. + */ function getTimeZones() { return $this->simplify($this->findInfo('zoneStrings',true)); diff --git a/framework/I18N/core/Gettext/MO.php b/framework/I18N/core/Gettext/MO.php index 9f2d5799..b4899949 100644 --- a/framework/I18N/core/Gettext/MO.php +++ b/framework/I18N/core/Gettext/MO.php @@ -29,7 +29,7 @@ // | Copyright (c) 2004 Michael Wallner | // +----------------------------------------------------------------------+ // -// $Id: MO.php,v 1.3 2005/08/27 03:21:12 weizhuo Exp $ +// $Id$ /** * File::Gettext::MO diff --git a/framework/I18N/core/Gettext/PO.php b/framework/I18N/core/Gettext/PO.php index 3a5fda04..7df99496 100644 --- a/framework/I18N/core/Gettext/PO.php +++ b/framework/I18N/core/Gettext/PO.php @@ -28,7 +28,7 @@ // | Copyright (c) 2004 Michael Wallner | // +----------------------------------------------------------------------+ // -// $Id: PO.php,v 1.2 2005/01/05 03:15:14 weizhuo Exp $ +// $Id$ /** * File::Gettext::PO diff --git a/framework/I18N/core/Gettext/TGettext.php b/framework/I18N/core/Gettext/TGettext.php index c13940b3..5dc0ae02 100644 --- a/framework/I18N/core/Gettext/TGettext.php +++ b/framework/I18N/core/Gettext/TGettext.php @@ -28,7 +28,7 @@ // | Copyright (c) 2004 Michael Wallner | // +----------------------------------------------------------------------+ // -// $Id: TGettext.php,v 1.4 2005/01/09 23:36:23 qiangxue Exp $ +// $Id$ /** * File::Gettext diff --git a/framework/I18N/core/MessageCache.php b/framework/I18N/core/MessageCache.php index e39ff63a..08757730 100644 --- a/framework/I18N/core/MessageCache.php +++ b/framework/I18N/core/MessageCache.php @@ -2,7 +2,7 @@ /** * Translation table cache. * @author $Author: weizhuo $ - * @version $Id: MessageCache.php,v 1.3 2005/01/05 03:15:14 weizhuo Exp $ + * @version $Id$ * @package System.I18N.core */ @@ -16,7 +16,7 @@ require_once(dirname(__FILE__).'/TCache_Lite.php'); * It can cache each cataloug+variant or just the whole section. * @package System.I18N.core * @author $Author: weizhuo $ - * @version $Id: MessageCache.php,v 1.3 2005/01/05 03:15:14 weizhuo Exp $ + * @version $Id$ */ class MessageCache { diff --git a/framework/I18N/core/TCache_Lite.php b/framework/I18N/core/TCache_Lite.php index 260e56c4..5eb9825d 100644 --- a/framework/I18N/core/TCache_Lite.php +++ b/framework/I18N/core/TCache_Lite.php @@ -38,7 +38,7 @@ * Mike BENOIT * * @package System.I18N.core -* @version $Id: TCache_Lite.php,v 1.3 2005/10/09 10:24:12 weizhuo Exp $ +* @version $Id$ * @author Fabien MARTY * @copyright 1997-2005 The PHP Group * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL diff --git a/framework/IO/TTarFileExtractor.php b/framework/IO/TTarFileExtractor.php index 1bd245ca..5256141f 100644 --- a/framework/IO/TTarFileExtractor.php +++ b/framework/IO/TTarFileExtractor.php @@ -4,7 +4,7 @@ * * @author Vincent Blavet * @copyright Copyright © 1997-2003 The PHP Group - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.IO */ @@ -25,13 +25,13 @@ // | Author: Vincent Blavet | // +----------------------------------------------------------------------+ // -// $Id: Tar.php,v 1.29 2005/03/17 21:02:31 vblavet Exp $ +// $Id$ /** * TTarFileExtractor class * * @author Vincent Blavet - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.IO * @since 3.0 */ diff --git a/framework/IO/TTextWriter.php b/framework/IO/TTextWriter.php index e63a7f7c..de73aae0 100644 --- a/framework/IO/TTextWriter.php +++ b/framework/IO/TTextWriter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.IO */ @@ -18,7 +18,7 @@ * and can be obtained by calling {@link flush()}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.IO * @since 3.0 */ diff --git a/framework/PradoBase.php b/framework/PradoBase.php index dc99ea34..93bdd084 100644 --- a/framework/PradoBase.php +++ b/framework/PradoBase.php @@ -9,7 +9,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ @@ -36,7 +36,7 @@ require_once(PRADO_DIR.'/Util/TLogger.php'); * rewritten for customization. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -593,7 +593,7 @@ class PradoBase * This class was originally written to cope with the incompatibility between different PHP versions. * It is equivalent to ReflectionClass for PHP version >= 5.1.0 * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ diff --git a/framework/Security/IUserManager.php b/framework/Security/IUserManager.php index b1a6b67c..649c41b6 100644 --- a/framework/Security/IUserManager.php +++ b/framework/Security/IUserManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security */ @@ -18,7 +18,7 @@ * and {@link TUser}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0 */ diff --git a/framework/Security/TAuthManager.php b/framework/Security/TAuthManager.php index e378b51e..481b9ddb 100644 --- a/framework/Security/TAuthManager.php +++ b/framework/Security/TAuthManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security */ @@ -30,7 +30,7 @@ Prado::using('System.Security.IUserManager'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0 */ diff --git a/framework/Security/TAuthorizationRule.php b/framework/Security/TAuthorizationRule.php index 5c8f0f9b..b2f3c235 100644 --- a/framework/Security/TAuthorizationRule.php +++ b/framework/Security/TAuthorizationRule.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security */ /** @@ -23,7 +23,7 @@ * Verb can be either 'get' or 'post'. If it is absent, it means both. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0 */ @@ -171,7 +171,7 @@ class TAuthorizationRule extends TComponent * To check if a user is allowed, call {@link isUserAllowed}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0 */ diff --git a/framework/Security/TSecurityManager.php b/framework/Security/TSecurityManager.php index 89f3711a..5caf96dc 100644 --- a/framework/Security/TSecurityManager.php +++ b/framework/Security/TSecurityManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security */ @@ -35,7 +35,7 @@ * Note, to use encryption, the PHP Mcrypt extension must be loaded. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0 */ @@ -269,7 +269,7 @@ class TSecurityManager extends TModule * - SHA1: an SHA1 hash is generated from the data and used for validation. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0.4 */ diff --git a/framework/Security/TUser.php b/framework/Security/TUser.php index ee52ceaa..3ff41104 100644 --- a/framework/Security/TUser.php +++ b/framework/Security/TUser.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security */ @@ -27,7 +27,7 @@ Prado::using('System.Security.IUserManager'); * TUser is meant to be used together with {@link IUserManager}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0 */ diff --git a/framework/Security/TUserManager.php b/framework/Security/TUserManager.php index c0bbe65d..60e67df8 100644 --- a/framework/Security/TUserManager.php +++ b/framework/Security/TUserManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security */ @@ -43,7 +43,7 @@ Prado::using('System.Security.TUser'); * how users are authenticated and authorized in a Prado application. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0 */ @@ -269,7 +269,7 @@ class TUserManager extends TModule implements IUserManager * - SHA1: the password is recorded as the SHA1 hash value of the original password * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Security * @since 3.0.4 */ diff --git a/framework/TApplication.php b/framework/TApplication.php index 9d50aaf5..9e1026bf 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ @@ -106,7 +106,7 @@ require_once(PRADO_DIR.'/I18N/TGlobalization.php'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -1049,7 +1049,7 @@ class TApplication extends TComponent * - Debug: the application is running in normal production mode. * - Performance: the application is running in performance mode. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0.4 */ @@ -1068,7 +1068,7 @@ class TApplicationMode extends TEnumerable * This class is used internally by TApplication to parse and represent application configuration. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -1255,7 +1255,7 @@ class TApplicationConfiguration extends TComponent * Cache will be exploited if it is enabled. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ diff --git a/framework/TApplicationComponent.php b/framework/TApplicationComponent.php index bd4f0db0..1b320dc0 100644 --- a/framework/TApplicationComponent.php +++ b/framework/TApplicationComponent.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ @@ -28,7 +28,7 @@ * publishing private files: {@link publishAsset} and {@link publishFilePath}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ diff --git a/framework/TComponent.php b/framework/TComponent.php index 986a0b32..95186800 100644 --- a/framework/TComponent.php +++ b/framework/TComponent.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ @@ -67,7 +67,7 @@ * $object->MainContent->SubmitButton->buttonClicked($sender,$param); * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -461,7 +461,7 @@ class TComponent * TTextAlign::Right. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -498,7 +498,7 @@ class TEnumerable * - enum: enumerable type, represented by an array of strings. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -637,7 +637,7 @@ class TPropertyValue * TEventParameter is the base class for all event parameter classes. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -659,7 +659,7 @@ class TEventParameter extends TComponent * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ diff --git a/framework/TModule.php b/framework/TModule.php index ad68ca9f..a67d6168 100644 --- a/framework/TModule.php +++ b/framework/TModule.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ @@ -17,7 +17,7 @@ * used as the basic class for application modules. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ diff --git a/framework/TService.php b/framework/TService.php index f4a6244d..5df31534 100644 --- a/framework/TService.php +++ b/framework/TService.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ @@ -17,7 +17,7 @@ * used as the basic class for application services. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ diff --git a/framework/Util/TDataFieldAccessor.php b/framework/Util/TDataFieldAccessor.php index a3dcbb00..159ec950 100644 --- a/framework/Util/TDataFieldAccessor.php +++ b/framework/Util/TDataFieldAccessor.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util */ @@ -26,7 +26,7 @@ * then field 'MyValue.MySubValue' will return that method call result. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php index a9d37b2f..da2b06f6 100644 --- a/framework/Util/TLogRouter.php +++ b/framework/Util/TLogRouter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util */ @@ -29,7 +29,7 @@ * targets, even if the routes are of the same type. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ @@ -143,7 +143,7 @@ class TLogRouter extends TModule * satisfying both filter conditions will they be returned. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ @@ -316,7 +316,7 @@ abstract class TLogRoute extends TApplicationComponent * specifies how many files to be kept. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ @@ -456,7 +456,7 @@ class TFileLogRoute extends TLogRoute * {@link setSentFrom SentFrom} address. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ @@ -581,7 +581,7 @@ class TEmailLogRoute extends TLogRoute * TBrowserLogRoute prints selected log messages in the response. * * @author Xiang Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ diff --git a/framework/Util/TLogger.php b/framework/Util/TLogger.php index 59c00e4d..6515483f 100644 --- a/framework/Util/TLogger.php +++ b/framework/Util/TLogger.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util */ @@ -18,7 +18,7 @@ * log categories. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ diff --git a/framework/Util/TParameterModule.php b/framework/Util/TParameterModule.php index a72e8fe8..fb962db4 100644 --- a/framework/Util/TParameterModule.php +++ b/framework/Util/TParameterModule.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util */ @@ -40,7 +40,7 @@ * tag, the former takes precedence. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ diff --git a/framework/Util/TSimpleDateFormatter.php b/framework/Util/TSimpleDateFormatter.php index 046a3442..50ca0097 100644 --- a/framework/Util/TSimpleDateFormatter.php +++ b/framework/Util/TSimpleDateFormatter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2006 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util */ @@ -40,7 +40,7 @@ * * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ diff --git a/framework/Util/TVarDumper.php b/framework/Util/TVarDumper.php index 8cde61fa..e16309c3 100644 --- a/framework/Util/TVarDumper.php +++ b/framework/Util/TVarDumper.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util */ @@ -24,7 +24,7 @@ * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Util * @since 3.0 */ diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 6d3a69c7..087cb12a 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.Services */ @@ -69,7 +69,7 @@ Prado::using('System.Web.UI.TThemeManager'); * accessing to any resources. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.Services * @since 3.0 */ @@ -481,7 +481,7 @@ class TPageService extends TService * Configurations along this path are merged together to be provided for the page. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.Services * @since 3.0 */ diff --git a/framework/Web/TAssetManager.php b/framework/Web/TAssetManager.php index 733a2051..4382aee1 100644 --- a/framework/Web/TAssetManager.php +++ b/framework/Web/TAssetManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web */ @@ -38,7 +38,7 @@ * pointing to a valid directory writable by the Web server process. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php index bac43057..dc3143e6 100644 --- a/framework/Web/THttpRequest.php +++ b/framework/Web/THttpRequest.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web */ @@ -53,7 +53,7 @@ * request module. It can be accessed via {@link TApplication::getRequest()}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ @@ -800,7 +800,7 @@ class THttpRequest extends TApplicationComponent implements IteratorAggregate,Ar * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ @@ -888,7 +888,7 @@ class THttpCookieCollection extends TList * domain, path, expire, and secure. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ @@ -1043,7 +1043,7 @@ class THttpCookie extends TComponent * - fragment: anchor * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ @@ -1209,7 +1209,7 @@ class TUri extends TComponent * - Path: the URL format is like /path/to/index.php/name1,value1/name2,value2... * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0.4 */ diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php index bba0cabc..90d2c0ef 100644 --- a/framework/Web/THttpResponse.php +++ b/framework/Web/THttpResponse.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web */ @@ -41,7 +41,7 @@ Prado::using('System.Web.THttpResponseAdapter'); * is use when Charset is null or empty in THttpResponse. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php index eefe50e5..233cd5d2 100644 --- a/framework/Web/THttpSession.php +++ b/framework/Web/THttpSession.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web */ @@ -57,7 +57,7 @@ * and {@link getTimeOut TimeOut} are configurable properties of THttpSession. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ @@ -617,7 +617,7 @@ class THttpSession extends TApplicationComponent implements IteratorAggregate,Ar * for traversing the session variables. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ @@ -706,7 +706,7 @@ class TSessionIterator implements Iterator * - Only: using cookie only. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0.4 */ diff --git a/framework/Web/THttpUtility.php b/framework/Web/THttpUtility.php index 3bb78f0f..e04d9b55 100644 --- a/framework/Web/THttpUtility.php +++ b/framework/Web/THttpUtility.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web */ @@ -14,7 +14,7 @@ * THttpUtility class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web * @since 3.0 */ diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index 73564e69..e128844d 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -16,7 +16,7 @@ * TClientScriptManager manages javascript and CSS stylesheets for a page. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -576,7 +576,7 @@ class TClientScriptManager extends TApplicationComponent * between ActiveControls and validators. * * @author - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TCompositeControl.php b/framework/Web/UI/TCompositeControl.php index 4e33bb83..abf8c1f7 100644 --- a/framework/Web/UI/TCompositeControl.php +++ b/framework/Web/UI/TCompositeControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -16,7 +16,7 @@ * by other controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index ed6213cd..7e49e7ce 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -64,7 +64,7 @@ Prado::using('System.Web.UI.TControlAdapter'); * They work together with page lifecycles to process a page request. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1718,7 +1718,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable * controls to maintain a list of their child controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1803,7 +1803,7 @@ class TControlCollection extends TList * controls to it. This is useful for controls that do not allow child controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1836,7 +1836,7 @@ class TEmptyControlCollection extends TControlCollection * INamingContainer marks a control as a naming container. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1850,7 +1850,7 @@ interface INamingContainer * If a control wants to respond to postback event, it must implement this interface. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1871,7 +1871,7 @@ interface IPostBackEventHandler * If a control wants to load post data, it must implement this interface. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1901,7 +1901,7 @@ interface IPostBackDataHandler * If a control wants to validate user input, it must implement this interface. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1939,7 +1939,7 @@ interface IValidator * If a control wants to be validated by a validator, it must implement this interface. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1957,7 +1957,7 @@ interface IValidatable * If a control wants to check broadcast event, it must implement this interface. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1981,7 +1981,7 @@ interface IBroadcastEventReceiver * This interface must be implemented by theme. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -2001,7 +2001,7 @@ interface ITheme * parsed template structures. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -2024,7 +2024,7 @@ interface ITemplate * {@link TImageButton}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -2102,7 +2102,7 @@ interface IButtonControl * {@link setParameter Parameter} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -2164,7 +2164,7 @@ class TBroadcastEventParameter extends TEventParameter * with the command via {@link getCommandParameter CommandParameter} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -2209,7 +2209,7 @@ class TCommandEventParameter extends TEventParameter * consecutive static strings, expressions and statements. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TControlAdapter.php b/framework/Web/UI/TControlAdapter.php index 732cf470..8a0e992e 100644 --- a/framework/Web/UI/TControlAdapter.php +++ b/framework/Web/UI/TControlAdapter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -17,7 +17,7 @@ * various behaviors for the control to which the adapter is attached. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TForm.php b/framework/Web/UI/TForm.php index f9fd507a..0a90e459 100644 --- a/framework/Web/UI/TForm.php +++ b/framework/Web/UI/TForm.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -23,7 +23,7 @@ * URLs. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/THtmlWriter.php b/framework/Web/UI/THtmlWriter.php index 1dddfd1d..b53cb782 100644 --- a/framework/Web/UI/THtmlWriter.php +++ b/framework/Web/UI/THtmlWriter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -32,7 +32,7 @@ * tags in HTML and XHTML. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index fe8482ce..dc81ccbb 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -22,7 +22,7 @@ Prado::using('System.Web.UI.TClientScriptManager'); * TPage class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -1152,7 +1152,7 @@ class TPage extends TTemplateControl * classes. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.1 */ diff --git a/framework/Web/UI/TPageStatePersister.php b/framework/Web/UI/TPageStatePersister.php index af470a26..baa3e15b 100644 --- a/framework/Web/UI/TPageStatePersister.php +++ b/framework/Web/UI/TPageStatePersister.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -22,7 +22,7 @@ * traffic for transmitting bulky page state. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php index 7d1f2d7e..c8ccaea8 100644 --- a/framework/Web/UI/TTemplateControl.php +++ b/framework/Web/UI/TTemplateControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -23,7 +23,7 @@ Prado::using('System.Web.UI.TCompositeControl'); * different extension name. For template file, the extension name is ".tpl". * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php index 5d5dbc5e..f2424065 100644 --- a/framework/Web/UI/TTemplateManager.php +++ b/framework/Web/UI/TTemplateManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -32,7 +32,7 @@ Prado::using('System.Web.UI.WebControls.TOutputCache'); * template manager module that can be accessed via {@link TPageService::getTemplateManager()}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -146,7 +146,7 @@ class TTemplateManager extends TModule * set their parent as $control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php index ce96a6b4..f87f0783 100644 --- a/framework/Web/UI/TThemeManager.php +++ b/framework/Web/UI/TThemeManager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -34,7 +34,7 @@ Prado::using('System.Web.Services.TPageService'); * and {@link getBufferOutput BufferOutput} are configurable properties of THttpResponse. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -182,7 +182,7 @@ class TThemeManager extends TModule * To apply a theme to a particular control, call {@link applySkin}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TBaseDataList.php b/framework/Web/UI/WebControls/TBaseDataList.php index 2884ec22..c5da7acd 100644 --- a/framework/Web/UI/WebControls/TBaseDataList.php +++ b/framework/Web/UI/WebControls/TBaseDataList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -37,7 +37,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * content can be specified via {@link setHorizontalAlign HorizontalAlign}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index bc8c3607..77abdd9a 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -70,7 +70,7 @@ Prado::using('System.Web.UI.WebControls.TLabel'); * override the method {@link evaluateIsValid}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -585,7 +585,7 @@ abstract class TBaseValidator extends TLabel implements IValidator * See the quickstart documentation for further details. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -687,7 +687,7 @@ class TValidatorClientSide extends TClientSideOptions * - Fixed: Similar to Dynamic except that the error message physically occupies the page layout (even though it may not be visible) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -710,7 +710,7 @@ class TValidatorDisplayStyle extends TEnumerable * - String * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php index 26fad32b..533bb24c 100644 --- a/framework/Web/UI/WebControls/TBoundColumn.php +++ b/framework/Web/UI/WebControls/TBoundColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -36,7 +36,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -106,7 +106,7 @@ class TBoundColumn extends TDataGridColumn parent::initializeCell($cell,$columnIndex,$itemType); switch($itemType) { - case TDataGrid::IT_EDITITEM: + case TListItemType::EditItem: $control=$cell; if(!$this->getReadOnly()) { @@ -118,9 +118,9 @@ class TBoundColumn extends TDataGridColumn if(($dataField=$this->getDataField())!=='') $control->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; - case TDataGrid::IT_ITEM: - case TDataGrid::IT_ALTERNATINGITEM: - case TDataGrid::IT_SELECTEDITEM: + case TListItemType::Item: + case TListItemType::AlternatingItem: + case TListItemType::SelectedItem: if($this->getDataField()!=='') $cell->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index f7bcc5ac..5105d14d 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -33,7 +33,7 @@ Prado::using('System.Web.UI.WebControls.TListControl'); * will be raised under such a circumstance. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -410,7 +410,7 @@ class TBulletedList extends TListControl implements IPostBackEventHandler * of the item that is currently being clicked. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -445,7 +445,7 @@ class TBulletedListEventParameter extends TEventParameter * for a {@link TBulletedList} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -474,7 +474,7 @@ class TBulletStyle extends TEnumerable * - LinkButton: the bulleted list items are displayed as link buttons that can cause postbacks * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TButton.php b/framework/Web/UI/WebControls/TButton.php index 1dd239a4..59df8f7c 100644 --- a/framework/Web/UI/WebControls/TButton.php +++ b/framework/Web/UI/WebControls/TButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ * if the button does not cause a postback. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -296,7 +296,7 @@ class TButton extends TWebControl implements IPostBackEventHandler, IButtonContr * - Button: a client button (normally does not perform form submission) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TButtonColumn.php b/framework/Web/UI/WebControls/TButtonColumn.php index 5f2c228d..adf6879f 100644 --- a/framework/Web/UI/WebControls/TButtonColumn.php +++ b/framework/Web/UI/WebControls/TButtonColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -48,7 +48,7 @@ Prado::using('System.Web.UI.WebControls.TImageButton'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -227,7 +227,7 @@ class TButtonColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) { $buttonType=$this->getButtonType(); if($buttonType===TButtonColumnType::LinkButton) diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index 84138ffe..2b9fd6b7 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -36,7 +36,7 @@ * that may bring security vulnerabilities. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -431,7 +431,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl * - Right: right aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TCheckBoxColumn.php b/framework/Web/UI/WebControls/TCheckBoxColumn.php index d7fac8cf..beef3aa1 100644 --- a/framework/Web/UI/WebControls/TCheckBoxColumn.php +++ b/framework/Web/UI/WebControls/TCheckBoxColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -38,7 +38,7 @@ Prado::using('System.Web.UI.WebControls.TCheckBox'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -89,10 +89,10 @@ class TCheckBoxColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) { $checkBox=new TCheckBox; - if($this->getReadOnly() || $itemType!==TDataGrid::IT_EDITITEM) + if($this->getReadOnly() || $itemType!==TListItemType::EditItem) $checkBox->setEnabled(false); $cell->setHorizontalAlign('Center'); $cell->getControls()->add($checkBox); diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index 21cc330b..89357b55 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ Prado::using('System.Web.UI.WebControls.TCheckBox'); * The alignment of the text besides each checkbox can be specified via {@link setTextAlign TextAlign}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TClientScript.php b/framework/Web/UI/WebControls/TClientScript.php index ff236c42..78febb61 100644 --- a/framework/Web/UI/WebControls/TClientScript.php +++ b/framework/Web/UI/WebControls/TClientScript.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -32,7 +32,7 @@ * rendered in place. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php index a1284b5e..a4ae7a19 100644 --- a/framework/Web/UI/WebControls/TColorPicker.php +++ b/framework/Web/UI/WebControls/TColorPicker.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -16,7 +16,7 @@ * Be aware, this control is EXPERIMENTAL and is not stablized yet. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -253,7 +253,7 @@ class TColorPicker extends TTextBox * - Full * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php index 2b1028ef..f25697da 100644 --- a/framework/Web/UI/WebControls/TCompareValidator.php +++ b/framework/Web/UI/WebControls/TCompareValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -40,7 +40,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * LessThan and LessThanEqual. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -249,7 +249,7 @@ class TCompareValidator extends TBaseValidator * - LessThanEqual * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php index 0ccc57f8..ae4fea15 100644 --- a/framework/Web/UI/WebControls/TContent.php +++ b/framework/Web/UI/WebControls/TContent.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -25,7 +25,7 @@ * {@link TContent} and {@link TContentPlaceHolder} controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TContentPlaceHolder.php b/framework/Web/UI/WebControls/TContentPlaceHolder.php index 9cf5068c..e2c58261 100644 --- a/framework/Web/UI/WebControls/TContentPlaceHolder.php +++ b/framework/Web/UI/WebControls/TContentPlaceHolder.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -24,7 +24,7 @@ * {@link TContent} and {@link TContentPlaceHolder} controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TCustomValidator.php b/framework/Web/UI/WebControls/TCustomValidator.php index cdef6f66..18bceb50 100644 --- a/framework/Web/UI/WebControls/TCustomValidator.php +++ b/framework/Web/UI/WebControls/TCustomValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -48,7 +48,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * with the TCustomValidator. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -139,7 +139,7 @@ class TCustomValidator extends TBaseValidator * OnServerValidate event of TCustomValidator components. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataBoundControl.php b/framework/Web/UI/WebControls/TDataBoundControl.php index 3f8ddc7e..599bdef2 100644 --- a/framework/Web/UI/WebControls/TDataBoundControl.php +++ b/framework/Web/UI/WebControls/TDataBoundControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -39,7 +39,7 @@ Prado::using('System.Collections.TPagedDataSource'); * custom paging, set {@link setAllowCustomPaging AllowCustomPaging} to true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -523,7 +523,7 @@ abstract class TDataBoundControl extends TWebControl * - Pager: pager * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index 48b6a8c9..ccbd8be3 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -11,7 +11,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -143,7 +143,7 @@ Prado::using('System.Web.UI.WebControls.TPanel'); * - Save the data in viewstate and get it back during postbacks. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1515,7 +1515,7 @@ class TDataGrid extends TBaseDataList implements INamingContainer * The {@link getItem Item} property indicates the datagrid item related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1553,7 +1553,7 @@ class TDataGridItemEventParameter extends TEventParameter * The {@link getPager Pager} property indicates the datagrid pager related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1594,7 +1594,7 @@ class TDataGridPagerEventParameter extends TEventParameter * raises the Command event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1650,7 +1650,7 @@ class TDataGridCommandEventParameter extends TCommandEventParameter * gives the sort expression carried with the sort command. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1704,7 +1704,7 @@ class TDataGridSortCommandEventParameter extends TEventParameter * returns the new page index carried with the page command. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1758,7 +1758,7 @@ class TDataGridPageChangedEventParameter extends TEventParameter * gives the index of the item from the bound data source. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1873,7 +1873,7 @@ class TDataGridItem extends TTableRow implements INamingContainer * TDataGridPager represents a datagrid pager. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1932,7 +1932,7 @@ class TDataGridPager extends TPanel implements INamingContainer * TDataGridItemCollection represents a collection of data grid items. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1960,7 +1960,7 @@ class TDataGridItemCollection extends TList * TDataGridColumnCollection represents a collection of data grid columns. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2014,7 +2014,7 @@ class TDataGridColumnCollection extends TList * TDataGridPagerStyle specifies the styles available for a datagrid pager. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2225,7 +2225,7 @@ class TDataGridPagerStyle extends TPanelStyle * - Numeric: pager buttons are displayed as numeric page numbers * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -2245,7 +2245,7 @@ class TDataGridPagerMode extends TEnumerable * - PushButton: form submit buttons * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -2266,7 +2266,7 @@ class TDataGridPagerButtonType extends TEnumerable * - TopAndBottom: pager appears on both top and bottom of the data grid. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDataGridColumn.php b/framework/Web/UI/WebControls/TDataGridColumn.php index dacc7206..30349244 100644 --- a/framework/Web/UI/WebControls/TDataGridColumn.php +++ b/framework/Web/UI/WebControls/TDataGridColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -45,7 +45,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * which is the major logic for managing the data and presentation of cells in the column. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -400,7 +400,7 @@ abstract class TDataGridColumn extends TApplicationComponent * - ImageButton: image buttons * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index c0aa5da6..63e15ebc 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -106,7 +106,7 @@ Prado::using('System.Web.UI.WebControls.TRepeatInfo'); * - Save the data in viewstate and get it back during postbacks. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1226,7 +1226,7 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs * The {@link getItem Item} property indicates the DataList item related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1267,7 +1267,7 @@ class TDataListItemEventParameter extends TEventParameter * raises the Command event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1322,7 +1322,7 @@ class TDataListCommandEventParameter extends TCommandEventParameter * is given by {@link getItemType ItemType} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1430,7 +1430,7 @@ class TDataListItem extends TWebControl implements INamingContainer * TDataListItemCollection represents a collection of data list items. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataSourceControl.php b/framework/Web/UI/WebControls/TDataSourceControl.php index 51b06f9a..572dfa79 100644 --- a/framework/Web/UI/WebControls/TDataSourceControl.php +++ b/framework/Web/UI/WebControls/TDataSourceControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -14,7 +14,7 @@ * IDataSource class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -29,7 +29,7 @@ interface IDataSource * TDataSourceControl class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -90,7 +90,7 @@ abstract class TDataSourceControl extends TControl implements IDataSource * TDataSourceControl class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataSourceView.php b/framework/Web/UI/WebControls/TDataSourceView.php index 1e0ffcef..d9009989 100644 --- a/framework/Web/UI/WebControls/TDataSourceView.php +++ b/framework/Web/UI/WebControls/TDataSourceView.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -14,7 +14,7 @@ * TDataSourceSelectParameters class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -76,7 +76,7 @@ class TDataSourceSelectParameters extends TComponent * TDataSourceView class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -179,7 +179,7 @@ abstract class TDataSourceView extends TComponent * TReadOnlyDataSourceView class * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDataTypeValidator.php b/framework/Web/UI/WebControls/TDataTypeValidator.php index e6cdb30e..5d3e0083 100644 --- a/framework/Web/UI/WebControls/TDataTypeValidator.php +++ b/framework/Web/UI/WebControls/TDataTypeValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -30,7 +30,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * provided, the string will be assumed to be in GNU datetime format. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index 73a69abc..86d119ac 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -60,7 +60,7 @@ Prado::using('System.Web.UI.WebControls.TTextBox'); * drop down list (day, month and year) are presented to select the date . * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -600,7 +600,7 @@ class TDatePicker extends TTextBox */ protected function renderCalendarDayOptions($writer, $selected=null) { - $days = array(); for($i=1;$i<=31;$i++) $days[$i] = $i; + $days = $this->getDropDownDayOptions(); $writer->addAttribute('id', $this->getClientID().'_day'); $writer->addAttribute('name', $this->getUniqueID().'$day'); $writer->addAttribute('class', 'datepicker_day_options'); @@ -611,6 +611,22 @@ class TDatePicker extends TTextBox $writer->renderEndTag(); } + /** + * @return array list of day options for a drop down list. + */ + protected function getDropDownDayOptions() + { + $formatter = Prado::createComponent('System.Util.TSimpleDateFormatter', + $this->getDateFormat()); + $days = array(); + $requiresPadding = $formatter->getDayPattern() === 'dd'; + for($i=1;$i<=31;$i++) + { + $days[$i] = $requiresPadding ? str_pad($i, 2, '0', STR_PAD_LEFT) : $i; + } + return $days; + } + /** * Renders the month drop down list options. * @param THtmlWriter the writer used for the rendering purpose @@ -618,7 +634,6 @@ class TDatePicker extends TTextBox */ protected function renderCalendarMonthOptions($writer, $selected=null) { - $info = $this->getLocalizedCalendarInfo(); $writer->addAttribute('id', $this->getClientID().'_month'); $writer->addAttribute('name', $this->getUniqueID().'$month'); @@ -806,7 +821,7 @@ class TDatePicker extends TTextBox * is changed. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -840,7 +855,7 @@ class TDatePickerClientScript extends TClientSideOptions * - DropDownList: dropdown lists are used to pick up date values * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -861,7 +876,7 @@ class TDatePickerInputMode extends TEnumerable * - ImageButton: Shows an image next to the text input, clicking on the image shows the date picker, * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TDropDownList.php b/framework/Web/UI/WebControls/TDropDownList.php index 04f3780c..5bcf0f35 100644 --- a/framework/Web/UI/WebControls/TDropDownList.php +++ b/framework/Web/UI/WebControls/TDropDownList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -29,7 +29,7 @@ Prado::using('System.Web.UI.WebControls.TListControl'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TDropDownListColumn.php b/framework/Web/UI/WebControls/TDropDownListColumn.php index bcbd87e4..dbc20f7a 100644 --- a/framework/Web/UI/WebControls/TDropDownListColumn.php +++ b/framework/Web/UI/WebControls/TDropDownListColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2006 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -52,7 +52,7 @@ Prado::using('System.Web.UI.WebControls.TDropDownList'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -242,7 +242,7 @@ class TDropDownListColumn extends TDataGridColumn } switch($itemType) { - case TDataGrid::IT_EDITITEM: + case TListItemType::EditItem: if(!$this->getReadOnly()) { $listControl=clone $this->_listControl; @@ -254,9 +254,9 @@ class TDropDownListColumn extends TDataGridColumn $control=$cell; $control->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; - case TDataGrid::IT_ITEM: - case TDataGrid::IT_ALTERNATINGITEM: - case TDataGrid::IT_SELECTEDITEM: + case TListItemType::Item: + case TListItemType::AlternatingItem: + case TListItemType::SelectedItem: if($this->getDataField()!=='') $cell->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); break; diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php index 327e03a2..74e92852 100644 --- a/framework/Web/UI/WebControls/TEditCommandColumn.php +++ b/framework/Web/UI/WebControls/TEditCommandColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -47,7 +47,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -209,13 +209,13 @@ class TEditCommandColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem) { $button=$this->createButton('Edit',$this->getEditText(),false,''); $cell->getControls()->add($button); $cell->registerObject('EditButton',$button); } - else if($itemType===TDataGrid::IT_EDITITEM) + else if($itemType===TListItemType::EditItem) { $controls=$cell->getControls(); $button=$this->createButton('Update',$this->getUpdateText(),$this->getCausesValidation(),$this->getValidationGroup()); diff --git a/framework/Web/UI/WebControls/TEmailAddressValidator.php b/framework/Web/UI/WebControls/TEmailAddressValidator.php index e1150233..be2eca01 100644 --- a/framework/Web/UI/WebControls/TEmailAddressValidator.php +++ b/framework/Web/UI/WebControls/TEmailAddressValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -24,7 +24,7 @@ Prado::using('System.Web.UI.WebControls.TRegularExpressionValidator'); * checkdnsrr() is available in the installed PHP. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TExpression.php b/framework/Web/UI/WebControls/TExpression.php index 9b7e4903..6097f1c8 100644 --- a/framework/Web/UI/WebControls/TExpression.php +++ b/framework/Web/UI/WebControls/TExpression.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -22,7 +22,7 @@ * make sure {@link setExpression Expression} does not come directly from user input. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TFileUpload.php b/framework/Web/UI/WebControls/TFileUpload.php index 62c51ccf..04c2c496 100644 --- a/framework/Web/UI/WebControls/TFileUpload.php +++ b/framework/Web/UI/WebControls/TFileUpload.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ * (whether it succeeds or not). * * @author Marcus Nyeholt , Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -174,22 +174,21 @@ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidata * @param string the file name used to save the uploaded file * @param boolean whether to delete the temporary file after saving. * If true, you will not be able to save the uploaded file again. - * @throws TInvalidOperationException file uploading failed or the uploaded - * file cannot be found on the server. + * @return boolean true if the file saving is successful */ public function saveAs($fileName,$deleteTempFile=true) { if($this->_errorCode===UPLOAD_ERR_OK) { if($deleteTempFile) - move_uploaded_file($this->_localName,$fileName); + return move_uploaded_file($this->_localName,$fileName); else if(is_uploaded_file($this->_localName)) - file_put_contents($fileName,file_get_contents($this->_localName)); + return file_put_contents($fileName,file_get_contents($this->_localName))!==false; else - throw new TInvalidOperationException('fileupload_saveas_failed'); + return false; } else - throw new TInvalidOperationException('fileupload_saveas_forbidden'); + return false; } /** diff --git a/framework/Web/UI/WebControls/TFont.php b/framework/Web/UI/WebControls/TFont.php index 3fb8bbad..4ab77c42 100644 --- a/framework/Web/UI/WebControls/TFont.php +++ b/framework/Web/UI/WebControls/TFont.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -16,7 +16,7 @@ * TFont encapsulates the CSS style fields related with font settings. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THead.php b/framework/Web/UI/WebControls/THead.php index a803d484..93858da0 100644 --- a/framework/Web/UI/WebControls/THead.php +++ b/framework/Web/UI/WebControls/THead.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -37,7 +37,7 @@ * theme will not be rendered. * * @author Marcus Nyeholt and Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0 */ @@ -186,7 +186,7 @@ class THead extends TControl * attributes for a meta tag, respectively. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -321,7 +321,7 @@ class TMetaTag extends TComponent * contained in a {@link THead} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THiddenField.php b/framework/Web/UI/WebControls/THiddenField.php index 54ecde08..f9fdd3b0 100644 --- a/framework/Web/UI/WebControls/THiddenField.php +++ b/framework/Web/UI/WebControls/THiddenField.php @@ -6,7 +6,7 @@ * @link http://www.xisc.com/ * @copyright Copyright © 2004-2005, Qiang Xue * @license http://www.opensource.org/licenses/bsd-license.php BSD License - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -19,7 +19,7 @@ * event will be raised. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 2a1e311d..94b3152b 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2006 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI */ @@ -72,7 +72,7 @@ Prado::using('System.Web.UI.WebControls.TTextBox'); * * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php index 7827038a..af28acef 100644 --- a/framework/Web/UI/WebControls/THyperLink.php +++ b/framework/Web/UI/WebControls/THyperLink.php @@ -6,7 +6,7 @@ * @link http://www.xisc.com/ * @copyright Copyright © 2004-2005, Qiang Xue * @license http://www.opensource.org/licenses/bsd-license.php BSD License - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -23,7 +23,7 @@ * the content enclosed within the control tag will be rendered. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/THyperLinkColumn.php b/framework/Web/UI/WebControls/THyperLinkColumn.php index b8dbb607..9b20bbfc 100644 --- a/framework/Web/UI/WebControls/THyperLinkColumn.php +++ b/framework/Web/UI/WebControls/THyperLinkColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -45,7 +45,7 @@ Prado::using('System.Web.UI.WebControls.THyperLink'); * datagrid cell is the first child. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -177,7 +177,7 @@ class THyperLinkColumn extends TDataGridColumn public function initializeCell($cell,$columnIndex,$itemType) { parent::initializeCell($cell,$columnIndex,$itemType); - if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) { $link=new THyperLink; $link->setText($this->getText()); diff --git a/framework/Web/UI/WebControls/TImage.php b/framework/Web/UI/WebControls/TImage.php index e4b07f79..00e32765 100644 --- a/framework/Web/UI/WebControls/TImage.php +++ b/framework/Web/UI/WebControls/TImage.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ * or {@link setDescriptionUrl DescriptionUrl} property, respectively. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index 669779cd..ad5d7bf0 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -52,7 +52,7 @@ Prado::using('System.Web.UI.WebControls.TImage'); * TImageButton displays the {@link setText Text} property as the hint text to the displayed image. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -325,7 +325,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven * {@link TImageButton::onClick Click} event of {@link TImageButton} controls. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TImageMap.php b/framework/Web/UI/WebControls/TImageMap.php index b765ec8c..22b06e66 100644 --- a/framework/Web/UI/WebControls/TImageMap.php +++ b/framework/Web/UI/WebControls/TImageMap.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -33,7 +33,7 @@ Prado::using('System.Web.UI.WebControls.TImage'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -230,7 +230,7 @@ class TImageMap extends TImage implements IPostBackEventHandler * access {@link getPostBackValue PostBackValue}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -262,7 +262,7 @@ class TImageMapEventParameter extends TEventParameter * THotSpotCollection represents a collection of hotspots in an imagemap. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -293,7 +293,7 @@ class THotSpotCollection extends TList * and {@link TRectangleHotSpot}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -525,7 +525,7 @@ abstract class THotSpot extends TComponent * control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -603,7 +603,7 @@ class TCircleHotSpot extends THotSpot * TImageMap} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -697,7 +697,7 @@ class TRectangleHotSpot extends THotSpot * TImageMap} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -744,7 +744,7 @@ class TPolygonHotSpot extends THotSpot * - Inactive: the hotspot is inactive (not clickable) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TInlineFrame.php b/framework/Web/UI/WebControls/TInlineFrame.php index f0ecf3f5..c893f399 100644 --- a/framework/Web/UI/WebControls/TInlineFrame.php +++ b/framework/Web/UI/WebControls/TInlineFrame.php @@ -7,7 +7,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -27,7 +27,7 @@ * Original Prado v2 IFrame Author Information * @author Jason Ragsdale * @author Harry Pottash - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -213,7 +213,7 @@ class TInlineFrame extends TWebControl * - Bottom: bottom aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -238,7 +238,7 @@ class TInlineFrameAlign extends TEnumerable * - Both: show both horizontal and vertical scroll bars all the time. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TJavascriptLogger.php b/framework/Web/UI/WebControls/TJavascriptLogger.php index 0296a276..3a294b6b 100644 --- a/framework/Web/UI/WebControls/TJavascriptLogger.php +++ b/framework/Web/UI/WebControls/TJavascriptLogger.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -26,7 +26,7 @@ * http://gleepglop.com/javascripts/logger/ * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TLabel.php b/framework/Web/UI/WebControls/TLabel.php index 65517fc9..5d213529 100644 --- a/framework/Web/UI/WebControls/TLabel.php +++ b/framework/Web/UI/WebControls/TLabel.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -26,7 +26,7 @@ * Make sure it does not contain dangerous characters that you want to avoid. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TLinkButton.php b/framework/Web/UI/WebControls/TLinkButton.php index bcf43060..d7586bde 100644 --- a/framework/Web/UI/WebControls/TLinkButton.php +++ b/framework/Web/UI/WebControls/TLinkButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -50,7 +50,7 @@ * as an image button by enclosing an <img> tag as the body of TLinkButton. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TListBox.php b/framework/Web/UI/WebControls/TListBox.php index 0191c168..c49e2561 100644 --- a/framework/Web/UI/WebControls/TListBox.php +++ b/framework/Web/UI/WebControls/TListBox.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -32,7 +32,7 @@ Prado::using('System.Web.UI.WebControls.TListControl'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -217,7 +217,7 @@ class TListBox extends TListControl implements IPostBackDataHandler, IValidatabl * - Multiple: allow multiple selection * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index 3a0a4f76..7576154e 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -74,7 +74,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * for an explanation of the format string. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -781,7 +781,7 @@ abstract class TListControl extends TDataBoundControl * TListItemCollection maintains a list of {@link TListItem} for {@link TListControl}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TListControlValidator.php b/framework/Web/UI/WebControls/TListControlValidator.php index 010a7e77..a2e2700d 100644 --- a/framework/Web/UI/WebControls/TListControlValidator.php +++ b/framework/Web/UI/WebControls/TListControlValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -57,7 +57,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * * * @author Xiang Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TListItem.php b/framework/Web/UI/WebControls/TListItem.php index fd5cebd3..21b8c631 100644 --- a/framework/Web/UI/WebControls/TListItem.php +++ b/framework/Web/UI/WebControls/TListItem.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ * if the list control supports so. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TLiteral.php b/framework/Web/UI/WebControls/TLiteral.php index 60e4a6f6..02061304 100644 --- a/framework/Web/UI/WebControls/TLiteral.php +++ b/framework/Web/UI/WebControls/TLiteral.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -27,7 +27,7 @@ * does not contain unwanted characters that may bring security vulnerabilities. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TMarkdown.php b/framework/Web/UI/WebControls/TMarkdown.php index 740653a5..04e030cb 100644 --- a/framework/Web/UI/WebControls/TMarkdown.php +++ b/framework/Web/UI/WebControls/TMarkdown.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -39,7 +39,7 @@ Prado::using('System.3rdParty.Markdown.MarkdownParser'); * and enclosed within a pair of square brackets (e.g. [php]). * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php index 00c0ce93..04311322 100644 --- a/framework/Web/UI/WebControls/TMultiView.php +++ b/framework/Web/UI/WebControls/TMultiView.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -32,7 +32,7 @@ * when its active view is changed during a postback. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -272,7 +272,7 @@ class TMultiView extends TControl * TViewCollection represents a collection that only takes {@link TView} instances * as collection elements. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -307,7 +307,7 @@ class TViewCollection extends TControlCollection * and when a view is deactivated, it raises {@link onDeactivate OnDeactivate}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TPager.php b/framework/Web/UI/WebControls/TPager.php index a6bf75e7..e3aee892 100644 --- a/framework/Web/UI/WebControls/TPager.php +++ b/framework/Web/UI/WebControls/TPager.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -36,7 +36,7 @@ * Multiple pagers can be associated with the same data-bound control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.2 */ @@ -557,7 +557,7 @@ class TPager extends TWebControl implements INamingContainer * returns the new page index carried with the page command. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.2 */ @@ -611,7 +611,7 @@ class TPagerPageChangedEventParameter extends TEventParameter * - DropDownList: a dropdown list is used to select pages * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -632,7 +632,7 @@ class TPagerMode extends TEnumerable * - PushButton: form submit buttons * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php index a9ce260c..58814543 100644 --- a/framework/Web/UI/WebControls/TPanel.php +++ b/framework/Web/UI/WebControls/TPanel.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -35,7 +35,7 @@ Prado::using('System.Web.UI.WebControls.TPanelStyle'); * by setting the {@link setDefaultButton DefaultButton} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TPanelStyle.php b/framework/Web/UI/WebControls/TPanelStyle.php index d3f8cee8..eef126ba 100644 --- a/framework/Web/UI/WebControls/TPanelStyle.php +++ b/framework/Web/UI/WebControls/TPanelStyle.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -20,7 +20,7 @@ Prado::using('System.Web.UI.WebControls.TStyle'); * TPanelStyle represents the CSS style specific for panel HTML tag. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -239,7 +239,7 @@ class TPanelStyle extends TStyle * - RightToLeft: content in a panel is right to left * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -263,7 +263,7 @@ class TContentDirection extends TEnumerable * - Vertical: vertical scroll bar only * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TPlaceHolder.php b/framework/Web/UI/WebControls/TPlaceHolder.php index bc6858ff..f3066ede 100644 --- a/framework/Web/UI/WebControls/TPlaceHolder.php +++ b/framework/Web/UI/WebControls/TPlaceHolder.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -18,7 +18,7 @@ * by manipulating the {@link TControl::getControls Controls} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php index 9b6786aa..dac194b7 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -49,7 +49,7 @@ Prado::using('System.Web.UI.WebControls.TRadioButtonList'); * that may bring security vulnerabilities. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRadioButtonList.php b/framework/Web/UI/WebControls/TRadioButtonList.php index 95725836..b314b963 100644 --- a/framework/Web/UI/WebControls/TRadioButtonList.php +++ b/framework/Web/UI/WebControls/TRadioButtonList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -29,7 +29,7 @@ Prado::using('System.Web.UI.WebControls.TCheckBoxList'); * one radiobutton can be selected at a time. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php index a868dd67..a5cc2807 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * defaulted as UTF-8. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -320,7 +320,7 @@ class TRangeValidator extends TBaseValidator * - StringLength * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php index 05578136..36febe7b 100644 --- a/framework/Web/UI/WebControls/TRatingList.php +++ b/framework/Web/UI/WebControls/TRatingList.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TRadioButtonList'); * This class is EXPERIMENTAL. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRegularExpressionValidator.php b/framework/Web/UI/WebControls/TRegularExpressionValidator.php index 3099514b..c4f7ceac 100644 --- a/framework/Web/UI/WebControls/TRegularExpressionValidator.php +++ b/framework/Web/UI/WebControls/TRegularExpressionValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -43,7 +43,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * Use a {@link TRequiredFieldValidator} to ensure the input is not empty. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRepeatInfo.php b/framework/Web/UI/WebControls/TRepeatInfo.php index f5a827aa..386f1bd0 100644 --- a/framework/Web/UI/WebControls/TRepeatInfo.php +++ b/framework/Web/UI/WebControls/TRepeatInfo.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -17,7 +17,7 @@ Prado::using('System.Web.UI.WebControls.TTable'); * This interface must be implemented by classes who want to use {@link TRepeatInfo}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -70,7 +70,7 @@ interface IRepeatInfoUser * the column and repeat direction settings. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -526,7 +526,7 @@ class TRepeatInfo extends TComponent * - Horizontal * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -547,7 +547,7 @@ class TRepeatDirection extends TEnumerable * - Raw: the repeated contents are stacked together without any additional decorations * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php index c5b3e2ef..357a8730 100644 --- a/framework/Web/UI/WebControls/TRepeater.php +++ b/framework/Web/UI/WebControls/TRepeater.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -65,7 +65,7 @@ Prado::using('System.Util.TDataFieldAccessor'); * - Save the data in viewstate and get it back during postbacks. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -567,7 +567,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer * The {@link getItem Item} property indicates the repeater item related with the event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -608,7 +608,7 @@ class TRepeaterItemEventParameter extends TEventParameter * raises the Command event. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -663,7 +663,7 @@ class TRepeaterCommandEventParameter extends TCommandEventParameter * is given by {@link getItemType ItemType} property. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -760,7 +760,7 @@ class TRepeaterItem extends TControl implements INamingContainer * TRepeaterItemCollection represents a collection of repeater items. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TRequiredFieldValidator.php b/framework/Web/UI/WebControls/TRequiredFieldValidator.php index c99d9c19..8f75d205 100644 --- a/framework/Web/UI/WebControls/TRequiredFieldValidator.php +++ b/framework/Web/UI/WebControls/TRequiredFieldValidator.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -26,7 +26,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator'); * of selected values different from the initial value is greater than zero. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TSafeHtml.php b/framework/Web/UI/WebControls/TSafeHtml.php index a625a84d..f96d3983 100644 --- a/framework/Web/UI/WebControls/TSafeHtml.php +++ b/framework/Web/UI/WebControls/TSafeHtml.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -31,7 +31,7 @@ * the body of TSafeHtml in a template. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TStatements.php b/framework/Web/UI/WebControls/TStatements.php index 961b569d..0812eb84 100644 --- a/framework/Web/UI/WebControls/TStatements.php +++ b/framework/Web/UI/WebControls/TStatements.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -23,7 +23,7 @@ * make sure {@link setStatements Statements} does not come directly from user input. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php index 2c03f3e7..cc383766 100644 --- a/framework/Web/UI/WebControls/TStyle.php +++ b/framework/Web/UI/WebControls/TStyle.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TFont'); * TStyle encapsulates the CSS style applied to a control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -377,7 +377,7 @@ class TStyle extends TComponent * TTableStyle represents the CSS style specific for HTML table. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -618,7 +618,7 @@ class TTableStyle extends TStyle * TTableItemStyle represents the CSS style specific for HTML table item. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -773,7 +773,7 @@ class TTableItemStyle extends TStyle * - Justify: the begin and end are justified * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -797,7 +797,7 @@ class THorizontalAlign extends TEnumerable * - Middle: middle aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -821,7 +821,7 @@ class TVerticalAlign extends TEnumerable * - Both: both horizontal and vertical grid lines are shown * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TStyleSheet.php b/framework/Web/UI/WebControls/TStyleSheet.php index f8f4ab9f..84c388c6 100644 --- a/framework/Web/UI/WebControls/TStyleSheet.php +++ b/framework/Web/UI/WebControls/TStyleSheet.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ diff --git a/framework/Web/UI/WebControls/TTable.php b/framework/Web/UI/WebControls/TTable.php index d3036c9c..ef310822 100644 --- a/framework/Web/UI/WebControls/TTable.php +++ b/framework/Web/UI/WebControls/TTable.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -61,7 +61,7 @@ Prado::using('System.Web.UI.WebControls.TTableRow'); * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -358,7 +358,7 @@ class TTable extends TWebControl * TTableRowCollection is used to maintain a list of rows belong to a table. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -395,7 +395,7 @@ class TTableRowCollection extends TControlCollection * - Right: right aligned * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTableCell.php b/framework/Web/UI/WebControls/TTableCell.php index 826602ee..8b80e1f2 100644 --- a/framework/Web/UI/WebControls/TTableCell.php +++ b/framework/Web/UI/WebControls/TTableCell.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ * indicates whether the contents in the cell should be wrapped. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TTableFooterRow.php b/framework/Web/UI/WebControls/TTableFooterRow.php index 3b178d52..2711374d 100644 --- a/framework/Web/UI/WebControls/TTableFooterRow.php +++ b/framework/Web/UI/WebControls/TTableFooterRow.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TTableRow'); * TTableFooterRow displays a table footer row. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TTableHeaderCell.php b/framework/Web/UI/WebControls/TTableHeaderCell.php index 497b2088..dcad878b 100644 --- a/framework/Web/UI/WebControls/TTableHeaderCell.php +++ b/framework/Web/UI/WebControls/TTableHeaderCell.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -22,7 +22,7 @@ Prado::using('System.Web.UI.WebControls.TTableCell'); * TTableHeaderCell displays a table header cell on a Web page. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -111,7 +111,7 @@ class TTableHeaderCell extends TTableCell * - Column: the scope is column-wise * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTableHeaderRow.php b/framework/Web/UI/WebControls/TTableHeaderRow.php index 87e01abd..56d9d0fc 100644 --- a/framework/Web/UI/WebControls/TTableHeaderRow.php +++ b/framework/Web/UI/WebControls/TTableHeaderRow.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -21,7 +21,7 @@ Prado::using('System.Web.UI.WebControls.TTableRow'); * TTableHeaderRow displays a table header row. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TTableRow.php b/framework/Web/UI/WebControls/TTableRow.php index d4bf7984..23dbcb70 100644 --- a/framework/Web/UI/WebControls/TTableRow.php +++ b/framework/Web/UI/WebControls/TTableRow.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -24,7 +24,7 @@ Prado::using('System.Web.UI.WebControls.TTableCell'); * {@link setVerticalAlign VerticalAlign} properties, respectively. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -160,7 +160,7 @@ class TTableRow extends TWebControl * TTableCellCollection is used to maintain a list of cells belong to a table row. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -195,7 +195,7 @@ class TTableCellCollection extends TControlCollection * - Footer: in table footer * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTemplateColumn.php b/framework/Web/UI/WebControls/TTemplateColumn.php index f83e3290..7235fc8c 100644 --- a/framework/Web/UI/WebControls/TTemplateColumn.php +++ b/framework/Web/UI/WebControls/TTemplateColumn.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn'); * header will be displayed with {@link setHeaderText HeaderText}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -138,18 +138,18 @@ class TTemplateColumn extends TDataGridColumn $template=null; switch($itemType) { - case TDataGrid::IT_HEADER: + case TListItemType::Header: $template=$this->_headerTemplate; break; - case TDataGrid::IT_FOOTER: + case TListItemType::Footer: $template=$this->_footerTemplate; break; - case TDataGrid::IT_ITEM: - case TDataGrid::IT_ALTERNATINGITEM: - case TDataGrid::IT_SELECTEDITEM: + case TListItemType::Item: + case TListItemType::AlternatingItem: + case TListItemType::SelectedItem: $template=$this->_itemTemplate; break; - case TDataGrid::IT_EDITITEM: + case TListItemType::EditItem: $template=$this->_editItemTemplate===null?$this->_itemTemplate:$this->_editItemTemplate; break; } @@ -159,7 +159,7 @@ class TTemplateColumn extends TDataGridColumn $cell->getControls()->clear(); $template->instantiateIn($cell); } - else if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM) + else if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem) $cell->setText(' '); } } diff --git a/framework/Web/UI/WebControls/TTextBox.php b/framework/Web/UI/WebControls/TTextBox.php index fa190164..ad6de40c 100644 --- a/framework/Web/UI/WebControls/TTextBox.php +++ b/framework/Web/UI/WebControls/TTextBox.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -44,7 +44,7 @@ * Currently, no alternatives are available. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -484,7 +484,7 @@ class TTextBox extends TWebControl implements IPostBackDataHandler, IValidatable * - Password: the textbox will hide user input like a password input box * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -501,7 +501,7 @@ class TTextBoxMode extends TEnumerable * by a {@link TTextBox} control. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TTextHighlighter.php b/framework/Web/UI/WebControls/TTextHighlighter.php index f4e72895..80f6069b 100644 --- a/framework/Web/UI/WebControls/TTextHighlighter.php +++ b/framework/Web/UI/WebControls/TTextHighlighter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 Wei Zhuo * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -28,7 +28,7 @@ Prado::using('System.Web.UI.WebControls.TTextProcessor'); * to true, the highlighted result may be shown with line numbers. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TTextProcessor.php b/framework/Web/UI/WebControls/TTextProcessor.php index 4c4c68f2..cd9d9d1b 100644 --- a/framework/Web/UI/WebControls/TTextProcessor.php +++ b/framework/Web/UI/WebControls/TTextProcessor.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 Wei Zhuo * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -23,7 +23,7 @@ * Note, all child classes must implement {@link processText} method. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI * @since 3.0.1 */ diff --git a/framework/Web/UI/WebControls/TValidationSummary.php b/framework/Web/UI/WebControls/TValidationSummary.php index e42652ff..212f8859 100644 --- a/framework/Web/UI/WebControls/TValidationSummary.php +++ b/framework/Web/UI/WebControls/TValidationSummary.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -30,7 +30,7 @@ * {@link setEnableClientScript EnableClientScript} is true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -401,7 +401,7 @@ class TValidationSummary extends TWebControl * See the quickstart documentation for further details. * * @author Wei Zhuo - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -470,7 +470,7 @@ class TClientSideValidationSummaryOptions extends TClientSideOptions * - BulletList: the error messages are displayed as a bulleted list. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -493,7 +493,7 @@ class TValidationSummaryDisplayMode extends TEnumerable * - Fixed: Similar to Dynamic except that the error messages physically occupy the page layout (even though they may not be visible) * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Web/UI/WebControls/TWebControl.php b/framework/Web/UI/WebControls/TWebControl.php index f8c50842..a45bab05 100644 --- a/framework/Web/UI/WebControls/TWebControl.php +++ b/framework/Web/UI/WebControls/TWebControl.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -34,7 +34,7 @@ Prado::using('System.Web.UI.WebControls.TWebControlAdapter'); * the body contents enclosed within the HTML tag. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TWebControlAdapter.php b/framework/Web/UI/WebControls/TWebControlAdapter.php index 23205bba..c4ca67b7 100644 --- a/framework/Web/UI/WebControls/TWebControlAdapter.php +++ b/framework/Web/UI/WebControls/TWebControlAdapter.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -19,7 +19,7 @@ * browsers. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index a4a0e36a..d72cdf77 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls */ @@ -76,7 +76,7 @@ Prado::using('System.Web.UI.WebControls.TDataList'); * - side bar: {@link getSideBarStyle SideBarStyle} and {@link getSideBarButtonStyle SideBarButtonStyle}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1419,7 +1419,7 @@ class TWizard extends TWebControl implements INamingContainer * Otherwise, {@link setButtonText ButtonText} will be displayed as the button caption. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1557,7 +1557,7 @@ class TWizardNavigationButtonStyle extends TStyle * set {@link setAllowReturn AllowReturn} to true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1647,7 +1647,7 @@ class TWizardStep extends TView * TCompleteWizardStep represents a wizard step of type TWizardStepType::Complete. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1682,7 +1682,7 @@ class TCompleteWizardStep extends TWizardStep * if the navigation template is not specified, default navigation will be used. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1784,7 +1784,7 @@ class TTemplatedWizardStep extends TWizardStep implements INamingContainer * by a {@link TWizard}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1848,7 +1848,7 @@ class TWizardStepCollection extends TList * {@link getCancelButton CancelButton}, {@link getCompleteButton CompleteButton}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -1940,7 +1940,7 @@ class TWizardNavigationContainer extends TControl implements INamingContainer * to true. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2005,7 +2005,7 @@ class TWizardNavigationEventParameter extends TEventParameter * TWizardSideBarTemplate class. * TWizardSideBarTemplate is the default template for wizard sidebar. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2030,7 +2030,7 @@ class TWizardSideBarTemplate extends TComponent implements ITemplate * TWizardSideBarListItemTemplate class. * TWizardSideBarListItemTemplate is the default template for each item in the sidebar datalist. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2053,7 +2053,7 @@ class TWizardSideBarListItemTemplate extends TComponent implements ITemplate * TWizardNavigationTemplate class. * TWizardNavigationTemplate is the base class for various navigation templates. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2125,7 +2125,7 @@ class TWizardNavigationTemplate extends TComponent implements ITemplate * TWizardStartNavigationTemplate is the template used as default wizard start navigation panel. * It consists of two buttons, Next and Cancel. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2155,7 +2155,7 @@ class TWizardStartNavigationTemplate extends TWizardNavigationTemplate * TWizardFinishNavigationTemplate is the template used as default wizard finish navigation panel. * It consists of three buttons, Previous, Complete and Cancel. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2189,7 +2189,7 @@ class TWizardFinishNavigationTemplate extends TWizardNavigationTemplate * TWizardStepNavigationTemplate is the template used as default wizard step navigation panel. * It consists of three buttons, Previous, Next and Cancel. * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0 */ @@ -2230,7 +2230,7 @@ class TWizardStepNavigationTemplate extends TWizardNavigationTemplate * - Link: a hyperlink button * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ @@ -2254,7 +2254,7 @@ class TWizardNavigationButtonType extends TEnumerable * - Finish: the last step before the Complete step. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Web.UI.WebControls * @since 3.0.4 */ diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php index 0d766c68..cc5b40f9 100644 --- a/framework/Xml/TXmlDocument.php +++ b/framework/Xml/TXmlDocument.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Xml */ @@ -22,7 +22,7 @@ * TBD: xpath * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Xml * @since 3.0 */ @@ -266,7 +266,7 @@ class TXmlElement extends TComponent * * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Xml * @since 3.0 */ @@ -428,7 +428,7 @@ class TXmlDocument extends TXmlElement * You may manipulate the collection with the operations defined in {@link TList}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System.Xml * @since 3.0 */ diff --git a/framework/interfaces.php b/framework/interfaces.php index b28d3881..ee31cfaf 100644 --- a/framework/interfaces.php +++ b/framework/interfaces.php @@ -6,7 +6,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ @@ -16,7 +16,7 @@ * This interface must be implemented by application modules. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -43,7 +43,7 @@ interface IModule * This interface must be implemented by services. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -74,7 +74,7 @@ interface IService * This interface must be implemented by writers. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -98,7 +98,7 @@ interface ITextWriter * This interface must be implemented by user objects. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -151,7 +151,7 @@ interface IUser * {@link TPageStatePersister}, {@link TApplicationStatePersister}. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -176,7 +176,7 @@ interface IStatePersister * This interface must be implemented by cache managers. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -230,7 +230,7 @@ interface ICache * cache dependencies. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -249,7 +249,7 @@ interface ICacheDependency * to end-users. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ @@ -268,7 +268,7 @@ interface IRenderable * This interface must be implemented by classes that are capable of performing databinding. * * @author Qiang Xue - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System * @since 3.0 */ diff --git a/framework/prado-cli.php b/framework/prado-cli.php index 36739ad2..7dd197f3 100755 --- a/framework/prado-cli.php +++ b/framework/prado-cli.php @@ -30,7 +30,6 @@ Options: $details Example: php prado-cli.php -c ./example1 - EOD; } @@ -199,7 +198,7 @@ EOD; // | Author: Andrei Zmievski | // +----------------------------------------------------------------------+ // -// $Id: Getopt.php,v 1.21.4.7 2003/12/05 21:57:01 andrei Exp $ +// $Id$ /** * Command-line options parsing class. diff --git a/framework/prado.php b/framework/prado.php index d55898b4..2eeda291 100644 --- a/framework/prado.php +++ b/framework/prado.php @@ -14,7 +14,7 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005 PradoSoft * @license http://www.pradosoft.com/license/ - * @version $Revision: $ $Date: $ + * @version $Id$ * @package System */ -- cgit v1.2.3