summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-04-24 09:59:46 +0200
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-04-24 09:59:48 +0200
commitdaa4dde508865ef0f08e584987b0695d4847809a (patch)
treee4aaed56bea63ec5d569fc74ff10f0e36618c50e
parenta08d87f68a22df1ffb001ebe1cc3f438c045b843 (diff)
Update to 3.2.1
-rw-r--r--.gitignore2
-rw-r--r--HISTORY13
-rw-r--r--UPGRADE2
-rw-r--r--buildscripts/texbuilder/quickstart/quickstart.tex4
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Common/BlogDataModule.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Common/BlogErrorHandler.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Common/BlogException.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Common/BlogPage.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Common/BlogUser.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Common/BlogUserManager.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Common/XListMenu.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Layouts/MainLayout.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Admin/AdminMenu.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Admin/ConfigMan.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Admin/PostMan.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Admin/UserMan.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/ErrorReport.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Posts/EditCategory.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Posts/EditPost.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Posts/ListPost.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Posts/MyPost.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Posts/NewCategory.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Posts/NewPost.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Posts/ViewPost.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Users/EditUser.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Users/NewUser.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Pages/Users/ViewUser.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Portlets/AccountPortlet.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Portlets/ArchivePortlet.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Portlets/CategoryPortlet.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Portlets/CommentPortlet.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Portlets/LoginPortlet.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Portlets/Portlet.php2
-rwxr-xr-x[-rw-r--r--]demos/blog/protected/Portlets/SearchPortlet.php2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.php2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/ActiveControls/Samples/config.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php4
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml2
-rwxr-xr-x[-rw-r--r--]demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml2
-rw-r--r--demos/quickstart/protected/pages/Configurations/AppConfig.page57
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page4
-rw-r--r--demos/quickstart/protected/pages/GettingStarted/NewFeatures.page12
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/Dao/BaseDao.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/Dao/ProjectDao.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/Dao/ProjectRecord.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/Dao/UserDao.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/DaoManager.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/TimeTrackerException.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/TimeTrackerUser.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/TrackerAuthManager.php2
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Code/UserManager.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/App_Data/TimeTrackerUserTypeHandler.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/pages/TimeTracker/Login.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/pages/TimeTracker/Logout.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/pages/TimeTracker/SiteMap.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/pages/TimeTracker/UserCreate.php4
-rwxr-xr-x[-rw-r--r--]demos/time-tracker/protected/pages/TimeTracker/UserList.php4
-rw-r--r--framework/3rdParty/FirePHPCore/FirePHP.class.php2
-rw-r--r--framework/3rdParty/SafeHtml/HTMLSax3.php4
-rw-r--r--framework/3rdParty/SafeHtml/HTMLSax3/Decorators.php4
-rw-r--r--framework/3rdParty/SafeHtml/HTMLSax3/States.php4
-rw-r--r--framework/3rdParty/WsdlGen/Wsdl.php2
-rw-r--r--framework/3rdParty/WsdlGen/WsdlGenerator.php2
-rw-r--r--framework/3rdParty/WsdlGen/WsdlMessage.php2
-rw-r--r--framework/3rdParty/WsdlGen/WsdlOperation.php2
-rw-r--r--framework/Caching/TAPCCache.php4
-rw-r--r--framework/Caching/TCache.php18
-rw-r--r--framework/Caching/TDbCache.php4
-rw-r--r--framework/Caching/TMemCache.php4
-rw-r--r--framework/Caching/TSqliteCache.php4
-rw-r--r--framework/Collections/TAttributeCollection.php6
-rw-r--r--framework/Collections/TDummyDataSource.php6
-rw-r--r--framework/Collections/TList.php6
-rw-r--r--framework/Collections/TMap.php6
-rw-r--r--framework/Collections/TPagedDataSource.php8
-rw-r--r--framework/Collections/TPagedList.php8
-rw-r--r--framework/Collections/TStack.php6
-rw-r--r--framework/Data/ActiveRecord/Exceptions/TActiveRecordException.php6
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php4
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php6
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php4
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldView.php4
-rw-r--r--framework/Data/ActiveRecord/Scaffold/style.css2
-rw-r--r--framework/Data/ActiveRecord/TActiveRecord.php8
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordConfig.php4
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordCriteria.php4
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordGateway.php4
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordManager.php4
-rw-r--r--framework/Data/Common/Mysql/TMysqlMetaData.php4
-rw-r--r--framework/Data/Common/Mysql/TMysqlTableColumn.php4
-rw-r--r--framework/Data/Common/Mysql/TMysqlTableInfo.php4
-rw-r--r--framework/Data/Common/Oracle/TOracleCommandBuilder.php4
-rw-r--r--framework/Data/Common/Oracle/TOracleMetaData.php4
-rw-r--r--framework/Data/Common/Oracle/TOracleTableColumn.php4
-rw-r--r--framework/Data/Common/Oracle/TOracleTableInfo.php4
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlMetaData.php4
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlTableColumn.php4
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlTableInfo.php4
-rw-r--r--framework/Data/Common/TDbCommandBuilder.php4
-rw-r--r--framework/Data/Common/TDbMetaData.php4
-rw-r--r--framework/Data/Common/TDbTableColumn.php4
-rw-r--r--framework/Data/Common/TDbTableInfo.php4
-rw-r--r--framework/Data/SqlMap/Configuration/TDiscriminator.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php4
-rw-r--r--framework/Data/SqlMap/Configuration/TParameterMap.php4
-rw-r--r--framework/Data/SqlMap/Configuration/TParameterProperty.php4
-rw-r--r--framework/Data/SqlMap/Configuration/TResultMap.php4
-rw-r--r--framework/Data/SqlMap/Configuration/TResultProperty.php4
-rw-r--r--framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php4
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php8
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapStatement.php14
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php8
-rw-r--r--framework/Data/SqlMap/DataMapper/TLazyLoadList.php6
-rw-r--r--framework/Data/SqlMap/DataMapper/TPropertyAccess.php4
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapCache.php10
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapException.php10
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php4
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapTypeHandlerRegistry.php6
-rw-r--r--framework/Data/SqlMap/Statements/IMappedStatement.php4
-rw-r--r--framework/Data/SqlMap/Statements/TCachingStatement.php4
-rw-r--r--framework/Data/SqlMap/Statements/TDeleteMappedStatement.php4
-rw-r--r--framework/Data/SqlMap/Statements/TInsertMappedStatement.php4
-rw-r--r--framework/Data/SqlMap/Statements/TMappedStatement.php12
-rw-r--r--framework/Data/SqlMap/Statements/TPreparedCommand.php9
-rw-r--r--framework/Data/SqlMap/Statements/TPreparedStatement.php37
-rw-r--r--framework/Data/SqlMap/Statements/TPreparedStatementFactory.php4
-rw-r--r--framework/Data/SqlMap/Statements/TSelectMappedStatement.php4
-rw-r--r--framework/Data/SqlMap/Statements/TSimpleDynamicSql.php4
-rw-r--r--framework/Data/SqlMap/Statements/TStaticSql.php4
-rw-r--r--framework/Data/SqlMap/Statements/TUpdateMappedStatement.php4
-rw-r--r--framework/Data/SqlMap/TSqlMapConfig.php4
-rw-r--r--framework/Data/SqlMap/TSqlMapGateway.php4
-rw-r--r--framework/Data/SqlMap/TSqlMapManager.php4
-rw-r--r--framework/Data/TDataSourceConfig.php4
-rw-r--r--framework/Data/TDbCommand.php4
-rw-r--r--framework/Data/TDbConnection.php8
-rw-r--r--framework/Data/TDbDataReader.php4
-rw-r--r--framework/Data/TDbTransaction.php4
-rw-r--r--framework/Exceptions/TErrorHandler.php4
-rw-r--r--framework/Exceptions/TException.php30
-rw-r--r--framework/Exceptions/messages/messages.txt5
-rw-r--r--framework/I18N/TChoiceFormat.php2
-rw-r--r--framework/I18N/TDateFormat.php2
-rw-r--r--framework/I18N/TGlobalization.php2
-rw-r--r--framework/I18N/TI18NControl.php2
-rw-r--r--framework/I18N/TNumberFormat.php2
-rw-r--r--framework/I18N/TTranslate.php2
-rw-r--r--framework/I18N/TTranslateParameter.php2
-rw-r--r--framework/I18N/Translation.php2
-rw-r--r--framework/I18N/core/CultureInfo.php4
-rw-r--r--framework/I18N/core/Gettext/MO.php2
-rw-r--r--framework/I18N/core/Gettext/PO.php2
-rw-r--r--framework/I18N/core/Gettext/TGettext.php2
-rw-r--r--framework/I18N/core/MessageCache.php4
-rw-r--r--framework/I18N/core/NumberFormat.php66
-rw-r--r--framework/I18N/core/TCache_Lite.php2
-rw-r--r--framework/I18N/core/data/fr_CA.dat2
-rw-r--r--framework/I18N/core/data/it_IT.dat2
-rw-r--r--framework/IO/TTarFileExtractor.php6
-rw-r--r--framework/IO/TTextWriter.php4
-rw-r--r--framework/PradoBase.php6
-rw-r--r--framework/Security/IUserManager.php4
-rw-r--r--framework/Security/TAuthManager.php4
-rw-r--r--framework/Security/TAuthorizationRule.php6
-rw-r--r--framework/Security/TDbUserManager.php6
-rw-r--r--framework/Security/TSecurityManager.php6
-rw-r--r--framework/Security/TUser.php4
-rw-r--r--framework/Security/TUserManager.php6
-rw-r--r--framework/TApplication.php75
-rw-r--r--framework/TApplicationComponent.php4
-rw-r--r--framework/TComponent.php1576
-rw-r--r--framework/TModule.php4
-rw-r--r--framework/TService.php4
-rw-r--r--framework/TShellApplication.php4
-rw-r--r--framework/Util/TBehavior.php87
-rw-r--r--framework/Util/TCallChain.php147
-rw-r--r--framework/Util/TClassBehavior.php36
-rw-r--r--framework/Util/TDataFieldAccessor.php4
-rw-r--r--framework/Util/TDateTimeStamp.php5
-rw-r--r--framework/Util/TLogRouter.php18
-rw-r--r--framework/Util/TLogger.php4
-rw-r--r--framework/Util/TParameterModule.php4
-rw-r--r--framework/Util/TSimpleDateFormatter.php4
-rw-r--r--framework/Util/TVarDumper.php4
-rw-r--r--framework/Web/Javascripts/TJavaScript.php4
-rw-r--r--framework/Web/Javascripts/packages.php2
-rw-r--r--framework/Web/Javascripts/source/prado/prado.js2
-rw-r--r--framework/Web/Javascripts/source/prado/scriptaculous-adapter.js3
-rw-r--r--framework/Web/Services/TJsonService.php6
-rw-r--r--framework/Web/Services/TPageService.php6
-rw-r--r--framework/Web/Services/TSoapService.php4
-rw-r--r--framework/Web/TAssetManager.php4
-rw-r--r--framework/Web/TCacheHttpSession.php4
-rw-r--r--framework/Web/THttpRequest.php12
-rw-r--r--framework/Web/THttpResponse.php4
-rw-r--r--framework/Web/THttpSession.php8
-rw-r--r--framework/Web/THttpUtility.php4
-rw-r--r--framework/Web/TUrlMapping.php98
-rw-r--r--framework/Web/UI/ActiveControls/TActiveButton.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBox.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBoxList.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveControlAdapter.php14
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCustomValidator.php6
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php6
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDropDownList.php4
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveFileUpload.php6
-rw-r--r--framework/Web/UI/ActiveControls/TActiveHyperLink.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveImage.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveImageButton.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLabel.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLinkButton.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListBox.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListControlAdapter.php6
-rw-r--r--framework/Web/UI/ActiveControls/TActivePageAdapter.php8
-rw-r--r--framework/Web/UI/ActiveControls/TActivePager.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActivePanel.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButton.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButtonList.php4
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTextBox.php4
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php8
-rw-r--r--framework/Web/UI/ActiveControls/TBaseActiveControl.php6
-rw-r--r--framework/Web/UI/ActiveControls/TCallback.php4
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientScript.php4
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientSide.php4
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackOptions.php4
-rwxr-xr-xframework/Web/UI/ActiveControls/TCallbackResponseAdapter.php6
-rwxr-xr-xframework/Web/UI/ActiveControls/TDraggable.php6
-rwxr-xr-xframework/Web/UI/ActiveControls/TDropContainer.php4
-rw-r--r--framework/Web/UI/ActiveControls/TEventTriggeredCallback.php4
-rw-r--r--framework/Web/UI/ActiveControls/TInPlaceTextBox.php4
-rw-r--r--framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php4
-rw-r--r--framework/Web/UI/ActiveControls/TTriggeredCallback.php4
-rw-r--r--framework/Web/UI/ActiveControls/TValueTriggeredCallback.php4
-rw-r--r--framework/Web/UI/TCachePageStatePersister.php4
-rw-r--r--framework/Web/UI/TClientScriptManager.php23
-rw-r--r--framework/Web/UI/TCompositeControl.php4
-rw-r--r--framework/Web/UI/TControl.php32
-rw-r--r--framework/Web/UI/TControlAdapter.php4
-rw-r--r--framework/Web/UI/TForm.php4
-rw-r--r--framework/Web/UI/THtmlWriter.php4
-rw-r--r--framework/Web/UI/TPage.php6
-rw-r--r--framework/Web/UI/TPageStatePersister.php4
-rw-r--r--framework/Web/UI/TSessionPageStatePersister.php4
-rw-r--r--framework/Web/UI/TTemplateControl.php4
-rw-r--r--framework/Web/UI/TTemplateManager.php6
-rw-r--r--framework/Web/UI/TThemeManager.php6
-rw-r--r--framework/Web/UI/WebControls/TBaseDataList.php4
-rw-r--r--framework/Web/UI/WebControls/TBaseValidator.php10
-rw-r--r--framework/Web/UI/WebControls/TBoundColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TBulletedList.php10
-rw-r--r--framework/Web/UI/WebControls/TButton.php6
-rw-r--r--framework/Web/UI/WebControls/TButtonColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TCaptcha.php4
-rw-r--r--framework/Web/UI/WebControls/TCaptchaValidator.php4
-rw-r--r--framework/Web/UI/WebControls/TCheckBox.php6
-rw-r--r--framework/Web/UI/WebControls/TCheckBoxColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TCheckBoxList.php4
-rw-r--r--framework/Web/UI/WebControls/TClientScript.php4
-rw-r--r--framework/Web/UI/WebControls/TColorPicker.php8
-rw-r--r--framework/Web/UI/WebControls/TCompareValidator.php6
-rw-r--r--framework/Web/UI/WebControls/TConditional.php4
-rw-r--r--framework/Web/UI/WebControls/TContent.php4
-rw-r--r--framework/Web/UI/WebControls/TContentPlaceHolder.php4
-rw-r--r--framework/Web/UI/WebControls/TCustomValidator.php6
-rw-r--r--framework/Web/UI/WebControls/TDataBoundControl.php8
-rw-r--r--framework/Web/UI/WebControls/TDataGrid.php28
-rw-r--r--framework/Web/UI/WebControls/TDataGridColumn.php6
-rw-r--r--framework/Web/UI/WebControls/TDataGridItemRenderer.php4
-rw-r--r--framework/Web/UI/WebControls/TDataGridPagerStyle.php4
-rw-r--r--framework/Web/UI/WebControls/TDataList.php12
-rw-r--r--framework/Web/UI/WebControls/TDataListItemRenderer.php4
-rw-r--r--framework/Web/UI/WebControls/TDataRenderer.php4
-rw-r--r--framework/Web/UI/WebControls/TDataSourceControl.php8
-rw-r--r--framework/Web/UI/WebControls/TDataSourceView.php8
-rw-r--r--framework/Web/UI/WebControls/TDataTypeValidator.php4
-rw-r--r--framework/Web/UI/WebControls/TDatePicker.php10
-rw-r--r--framework/Web/UI/WebControls/TDropDownList.php4
-rw-r--r--framework/Web/UI/WebControls/TDropDownListColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TEditCommandColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TEmailAddressValidator.php4
-rw-r--r--framework/Web/UI/WebControls/TExpression.php4
-rw-r--r--framework/Web/UI/WebControls/TFileUpload.php4
-rw-r--r--framework/Web/UI/WebControls/TFont.php4
-rw-r--r--framework/Web/UI/WebControls/THead.php8
-rw-r--r--framework/Web/UI/WebControls/THiddenField.php4
-rw-r--r--framework/Web/UI/WebControls/THtmlArea.php4
-rw-r--r--framework/Web/UI/WebControls/THtmlElement.php4
-rw-r--r--framework/Web/UI/WebControls/THyperLink.php4
-rw-r--r--framework/Web/UI/WebControls/THyperLinkColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TImage.php4
-rw-r--r--framework/Web/UI/WebControls/TImageButton.php6
-rw-r--r--framework/Web/UI/WebControls/TImageMap.php18
-rw-r--r--framework/Web/UI/WebControls/TInlineFrame.php8
-rw-r--r--framework/Web/UI/WebControls/TItemDataRenderer.php4
-rw-r--r--framework/Web/UI/WebControls/TJavascriptLogger.php4
-rw-r--r--framework/Web/UI/WebControls/TKeyboard.php4
-rw-r--r--framework/Web/UI/WebControls/TLabel.php4
-rw-r--r--framework/Web/UI/WebControls/TLinkButton.php4
-rw-r--r--framework/Web/UI/WebControls/TListBox.php6
-rw-r--r--framework/Web/UI/WebControls/TListControl.php4
-rw-r--r--framework/Web/UI/WebControls/TListControlValidator.php4
-rw-r--r--framework/Web/UI/WebControls/TListItem.php4
-rw-r--r--framework/Web/UI/WebControls/TLiteral.php4
-rw-r--r--framework/Web/UI/WebControls/TMarkdown.php4
-rw-r--r--framework/Web/UI/WebControls/TMultiView.php8
-rw-r--r--framework/Web/UI/WebControls/TOutputCache.php10
-rw-r--r--framework/Web/UI/WebControls/TPager.php10
-rw-r--r--framework/Web/UI/WebControls/TPanel.php4
-rw-r--r--framework/Web/UI/WebControls/TPanelStyle.php8
-rw-r--r--framework/Web/UI/WebControls/TPlaceHolder.php4
-rw-r--r--framework/Web/UI/WebControls/TRadioButton.php4
-rw-r--r--framework/Web/UI/WebControls/TRadioButtonList.php4
-rw-r--r--framework/Web/UI/WebControls/TRangeValidator.php6
-rw-r--r--framework/Web/UI/WebControls/TRatingList.php4
-rw-r--r--framework/Web/UI/WebControls/TRegularExpressionValidator.php4
-rw-r--r--framework/Web/UI/WebControls/TRepeatInfo.php10
-rw-r--r--framework/Web/UI/WebControls/TRepeater.php12
-rw-r--r--framework/Web/UI/WebControls/TRepeaterItemRenderer.php4
-rw-r--r--framework/Web/UI/WebControls/TRequiredFieldValidator.php4
-rw-r--r--framework/Web/UI/WebControls/TSafeHtml.php4
-rw-r--r--framework/Web/UI/WebControls/TSlider.php8
-rw-r--r--framework/Web/UI/WebControls/TStatements.php4
-rw-r--r--framework/Web/UI/WebControls/TStyle.php16
-rw-r--r--framework/Web/UI/WebControls/TStyleSheet.php2
-rw-r--r--framework/Web/UI/WebControls/TTabPanel.php8
-rw-r--r--framework/Web/UI/WebControls/TTable.php8
-rw-r--r--framework/Web/UI/WebControls/TTableCell.php4
-rw-r--r--framework/Web/UI/WebControls/TTableFooterRow.php4
-rw-r--r--framework/Web/UI/WebControls/TTableHeaderCell.php6
-rw-r--r--framework/Web/UI/WebControls/TTableHeaderRow.php4
-rw-r--r--framework/Web/UI/WebControls/TTableRow.php8
-rw-r--r--framework/Web/UI/WebControls/TTemplateColumn.php4
-rw-r--r--framework/Web/UI/WebControls/TTextBox.php8
-rw-r--r--framework/Web/UI/WebControls/TTextHighlighter.php6
-rw-r--r--framework/Web/UI/WebControls/TTextProcessor.php4
-rw-r--r--framework/Web/UI/WebControls/TValidationSummary.php10
-rw-r--r--framework/Web/UI/WebControls/TWebControl.php4
-rw-r--r--framework/Web/UI/WebControls/TWebControlAdapter.php4
-rw-r--r--framework/Web/UI/WebControls/TWizard.php33
-rw-r--r--framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php2
-rw-r--r--framework/Web/UI/WebControls/assets/captcha.php2
-rw-r--r--framework/Xml/TXmlDocument.php8
-rw-r--r--framework/interfaces.php28
-rwxr-xr-xframework/prado-cli.php18
-rw-r--r--framework/prado.php4
-rw-r--r--index.html2
-rw-r--r--requirements/index.php2
-rw-r--r--tests/FunctionalTests/quickstart/ActiveControls/ActiveButtonTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart/ActiveControls/ActiveCheckBoxTestCase.php2
-rw-r--r--tests/FunctionalTests/tickets/protected/controls/ToggleImageButton.php2
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/ExtendedToggleImageButton.php2
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket659.php2
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/ToggleTest.php2
-rw-r--r--tests/test_tools/selenium/php/selenium.php4
-rw-r--r--tests/test_tools/simpletest/authentication.php2
-rw-r--r--tests/test_tools/simpletest/browser.php2
-rw-r--r--tests/test_tools/simpletest/collector.php2
-rw-r--r--tests/test_tools/simpletest/compatibility.php2
-rw-r--r--tests/test_tools/simpletest/cookies.php2
-rw-r--r--tests/test_tools/simpletest/detached.php2
-rw-r--r--tests/test_tools/simpletest/dumper.php2
-rw-r--r--tests/test_tools/simpletest/encoding.php2
-rw-r--r--tests/test_tools/simpletest/errors.php2
-rw-r--r--tests/test_tools/simpletest/exceptions.php2
-rw-r--r--tests/test_tools/simpletest/expectation.php2
-rw-r--r--tests/test_tools/simpletest/form.php2
-rw-r--r--tests/test_tools/simpletest/frames.php2
-rw-r--r--tests/test_tools/simpletest/http.php2
-rw-r--r--tests/test_tools/simpletest/invoker.php2
-rw-r--r--tests/test_tools/simpletest/mock_objects.php2
-rw-r--r--tests/test_tools/simpletest/options.php2
-rw-r--r--tests/test_tools/simpletest/page.php2
-rw-r--r--tests/test_tools/simpletest/parser.php2
-rw-r--r--tests/test_tools/simpletest/reflection_php4.php2
-rw-r--r--tests/test_tools/simpletest/reflection_php5.php2
-rw-r--r--tests/test_tools/simpletest/remote.php2
-rw-r--r--tests/test_tools/simpletest/reporter.php2
-rw-r--r--tests/test_tools/simpletest/runner.php2
-rw-r--r--tests/test_tools/simpletest/scorer.php2
-rw-r--r--tests/test_tools/simpletest/selector.php2
-rw-r--r--tests/test_tools/simpletest/shell_tester.php2
-rw-r--r--tests/test_tools/simpletest/simple_test.php2
-rw-r--r--tests/test_tools/simpletest/simpletest.php2
-rw-r--r--tests/test_tools/simpletest/socket.php2
-rw-r--r--tests/test_tools/simpletest/tag.php2
-rw-r--r--tests/test_tools/simpletest/test_case.php2
-rw-r--r--tests/test_tools/simpletest/unit_tester.php2
-rw-r--r--tests/test_tools/simpletest/url.php2
-rw-r--r--tests/test_tools/simpletest/user_agent.php2
-rw-r--r--tests/test_tools/simpletest/web_tester.php2
-rw-r--r--tests/test_tools/simpletest/xml.php2
-rw-r--r--tests/unit/TComponentTest.php1940
405 files changed, 1107 insertions, 4867 deletions
diff --git a/.gitignore b/.gitignore
index f903f7c7..82fc8856 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+/.idea
+atlassian-ide-plugin.xml
/.cache
/.project
/.settings
diff --git a/HISTORY b/HISTORY
index 31416abc..b662625e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,16 +1,3 @@
-Next Prado iteration: 3.3.0
-
-EHN: Issue #260 - TComponent Update: Behaviors, Class Behaviors, fx global events, and dy one to one events (javalizard)
-EHN: Issue #292 - Events should have priorities to allow event handler order to be specified (javalizard)
-
-Version 3.2.2 to be released
-
-ENH: Issue #433 - Prado object-creation performance micro-optimizations (gabor)
-BUG: Issue #434 - Buttons stops working properly after response->writeFile (ctrlaltca)
-BUG: Issue #435 - TWizard + No ID = Prototype Error (ctrlaltca)
-BUG: Issue #436 - French Canadian date formats should be the same in TDateFormat and TDatePicker (ctrlaltca)
-ENH: Issue #439 - Module lazy loading (ctrlaltca)
-
Version 3.2.1 Jan 19, 2013
BUG: Issue #44 - [895] SDateFormatter cannot parse date earlier than 1970 (ctrlaltca)
diff --git a/UPGRADE b/UPGRADE
index 2c041501..f95c6af3 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -1,5 +1,5 @@
- Upgrading Instructions for PRADO Framework v3.2
+ Upgrading Instructions for PRADO Framework v3.2.1
=================================================
!!!IMPORTANT!!!
diff --git a/buildscripts/texbuilder/quickstart/quickstart.tex b/buildscripts/texbuilder/quickstart/quickstart.tex
index 5315ac17..4bf3402b 100644
--- a/buildscripts/texbuilder/quickstart/quickstart.tex
+++ b/buildscripts/texbuilder/quickstart/quickstart.tex
@@ -52,8 +52,8 @@
%----------------- TITLE --------------
-\title{\Huge \bfseries PRADO v3.2 Quickstart Tutorial
- \thanks{Copyright 2004-2009. All Rights Reserved.}
+\title{\Huge \bfseries PRADO v3.2.1 Quickstart Tutorial
+ \thanks{Copyright 2004-2013. All Rights Reserved.}
}
\author{Qiang Xue and Wei Zhuo}
\date{\today}
diff --git a/demos/blog/protected/Common/BlogDataModule.php b/demos/blog/protected/Common/BlogDataModule.php
index 54eff6b8..a6312dcb 100644..100755
--- a/demos/blog/protected/Common/BlogDataModule.php
+++ b/demos/blog/protected/Common/BlogDataModule.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: BlogDataModule.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Common/BlogErrorHandler.php b/demos/blog/protected/Common/BlogErrorHandler.php
index 88c6e291..fd5a7044 100644..100755
--- a/demos/blog/protected/Common/BlogErrorHandler.php
+++ b/demos/blog/protected/Common/BlogErrorHandler.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: BlogErrorHandler.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('System.Exceptions.TErrorHandler');
diff --git a/demos/blog/protected/Common/BlogException.php b/demos/blog/protected/Common/BlogException.php
index 4b589b6e..39825f4f 100644..100755
--- a/demos/blog/protected/Common/BlogException.php
+++ b/demos/blog/protected/Common/BlogException.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: BlogException.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Common/BlogPage.php b/demos/blog/protected/Common/BlogPage.php
index a1ba21f6..e6da9a8c 100644..100755
--- a/demos/blog/protected/Common/BlogPage.php
+++ b/demos/blog/protected/Common/BlogPage.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: BlogPage.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Common/BlogUser.php b/demos/blog/protected/Common/BlogUser.php
index 96f9c1f1..93990f69 100644..100755
--- a/demos/blog/protected/Common/BlogUser.php
+++ b/demos/blog/protected/Common/BlogUser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: BlogUser.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('System.Security.TUser');
diff --git a/demos/blog/protected/Common/BlogUserManager.php b/demos/blog/protected/Common/BlogUserManager.php
index 8a10af98..898402fa 100644..100755
--- a/demos/blog/protected/Common/BlogUserManager.php
+++ b/demos/blog/protected/Common/BlogUserManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: BlogUserManager.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('System.Security.IUserManager');
diff --git a/demos/blog/protected/Common/XListMenu.php b/demos/blog/protected/Common/XListMenu.php
index 0d9fc668..a3ad4308 100644..100755
--- a/demos/blog/protected/Common/XListMenu.php
+++ b/demos/blog/protected/Common/XListMenu.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: XListMenu.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('System.Web.UI.WebControls.TListControl');
diff --git a/demos/blog/protected/Layouts/MainLayout.php b/demos/blog/protected/Layouts/MainLayout.php
index 35ad16e0..c2fbe04c 100644..100755
--- a/demos/blog/protected/Layouts/MainLayout.php
+++ b/demos/blog/protected/Layouts/MainLayout.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: MainLayout.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Admin/AdminMenu.php b/demos/blog/protected/Pages/Admin/AdminMenu.php
index 6283d604..f4c89724 100644..100755
--- a/demos/blog/protected/Pages/Admin/AdminMenu.php
+++ b/demos/blog/protected/Pages/Admin/AdminMenu.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: AdminMenu.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Admin/ConfigMan.php b/demos/blog/protected/Pages/Admin/ConfigMan.php
index bf4ce37d..be5e3983 100644..100755
--- a/demos/blog/protected/Pages/Admin/ConfigMan.php
+++ b/demos/blog/protected/Pages/Admin/ConfigMan.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ConfigMan.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Admin/PostMan.php b/demos/blog/protected/Pages/Admin/PostMan.php
index ec0e1778..9fa6b7d4 100644..100755
--- a/demos/blog/protected/Pages/Admin/PostMan.php
+++ b/demos/blog/protected/Pages/Admin/PostMan.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: PostMan.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Admin/UserMan.php b/demos/blog/protected/Pages/Admin/UserMan.php
index 4f9e901f..44fd2fc7 100644..100755
--- a/demos/blog/protected/Pages/Admin/UserMan.php
+++ b/demos/blog/protected/Pages/Admin/UserMan.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: UserMan.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/ErrorReport.php b/demos/blog/protected/Pages/ErrorReport.php
index 14085c74..dc92c887 100644..100755
--- a/demos/blog/protected/Pages/ErrorReport.php
+++ b/demos/blog/protected/Pages/ErrorReport.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ErrorReport.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Posts/EditCategory.php b/demos/blog/protected/Pages/Posts/EditCategory.php
index 5588a24b..67c03204 100644..100755
--- a/demos/blog/protected/Pages/Posts/EditCategory.php
+++ b/demos/blog/protected/Pages/Posts/EditCategory.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: EditCategory.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Posts/EditPost.php b/demos/blog/protected/Pages/Posts/EditPost.php
index de97dcc8..7345a3cc 100644..100755
--- a/demos/blog/protected/Pages/Posts/EditPost.php
+++ b/demos/blog/protected/Pages/Posts/EditPost.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: EditPost.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Posts/ListPost.php b/demos/blog/protected/Pages/Posts/ListPost.php
index b093bda8..eba9f675 100644..100755
--- a/demos/blog/protected/Pages/Posts/ListPost.php
+++ b/demos/blog/protected/Pages/Posts/ListPost.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ListPost.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Posts/MyPost.php b/demos/blog/protected/Pages/Posts/MyPost.php
index 840638f8..e1851772 100644..100755
--- a/demos/blog/protected/Pages/Posts/MyPost.php
+++ b/demos/blog/protected/Pages/Posts/MyPost.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: MyPost.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Posts/NewCategory.php b/demos/blog/protected/Pages/Posts/NewCategory.php
index 67ace25e..98eba96d 100644..100755
--- a/demos/blog/protected/Pages/Posts/NewCategory.php
+++ b/demos/blog/protected/Pages/Posts/NewCategory.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: NewCategory.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Posts/NewPost.php b/demos/blog/protected/Pages/Posts/NewPost.php
index 96714297..c1127547 100644..100755
--- a/demos/blog/protected/Pages/Posts/NewPost.php
+++ b/demos/blog/protected/Pages/Posts/NewPost.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: NewPost.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Posts/ViewPost.php b/demos/blog/protected/Pages/Posts/ViewPost.php
index d8642381..05890794 100644..100755
--- a/demos/blog/protected/Pages/Posts/ViewPost.php
+++ b/demos/blog/protected/Pages/Posts/ViewPost.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ViewPost.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Users/EditUser.php b/demos/blog/protected/Pages/Users/EditUser.php
index 7666a1b2..862539f9 100644..100755
--- a/demos/blog/protected/Pages/Users/EditUser.php
+++ b/demos/blog/protected/Pages/Users/EditUser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: EditUser.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Users/NewUser.php b/demos/blog/protected/Pages/Users/NewUser.php
index 68254d83..24932f03 100644..100755
--- a/demos/blog/protected/Pages/Users/NewUser.php
+++ b/demos/blog/protected/Pages/Users/NewUser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: NewUser.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Pages/Users/ViewUser.php b/demos/blog/protected/Pages/Users/ViewUser.php
index 755cb5c2..671e2c0a 100644..100755
--- a/demos/blog/protected/Pages/Users/ViewUser.php
+++ b/demos/blog/protected/Pages/Users/ViewUser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ViewUser.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Portlets/AccountPortlet.php b/demos/blog/protected/Portlets/AccountPortlet.php
index f17db0eb..89a2294f 100644..100755
--- a/demos/blog/protected/Portlets/AccountPortlet.php
+++ b/demos/blog/protected/Portlets/AccountPortlet.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: AccountPortlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('Application.Portlets.Portlet');
diff --git a/demos/blog/protected/Portlets/ArchivePortlet.php b/demos/blog/protected/Portlets/ArchivePortlet.php
index ffb2380c..9deb36f1 100644..100755
--- a/demos/blog/protected/Portlets/ArchivePortlet.php
+++ b/demos/blog/protected/Portlets/ArchivePortlet.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ArchivePortlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('Application.Portlets.Portlet');
diff --git a/demos/blog/protected/Portlets/CategoryPortlet.php b/demos/blog/protected/Portlets/CategoryPortlet.php
index b5c73334..df243df3 100644..100755
--- a/demos/blog/protected/Portlets/CategoryPortlet.php
+++ b/demos/blog/protected/Portlets/CategoryPortlet.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: CategoryPortlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('Application.Portlets.Portlet');
diff --git a/demos/blog/protected/Portlets/CommentPortlet.php b/demos/blog/protected/Portlets/CommentPortlet.php
index 4097f478..df07fb1e 100644..100755
--- a/demos/blog/protected/Portlets/CommentPortlet.php
+++ b/demos/blog/protected/Portlets/CommentPortlet.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: CommentPortlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('Application.Portlets.Portlet');
diff --git a/demos/blog/protected/Portlets/LoginPortlet.php b/demos/blog/protected/Portlets/LoginPortlet.php
index e53063db..8b118390 100644..100755
--- a/demos/blog/protected/Portlets/LoginPortlet.php
+++ b/demos/blog/protected/Portlets/LoginPortlet.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: LoginPortlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('Application.Portlets.Portlet');
diff --git a/demos/blog/protected/Portlets/Portlet.php b/demos/blog/protected/Portlets/Portlet.php
index 146fe080..0df8ce2e 100644..100755
--- a/demos/blog/protected/Portlets/Portlet.php
+++ b/demos/blog/protected/Portlets/Portlet.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: Portlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
/**
diff --git a/demos/blog/protected/Portlets/SearchPortlet.php b/demos/blog/protected/Portlets/SearchPortlet.php
index 6a597a70..018ad883 100644..100755
--- a/demos/blog/protected/Portlets/SearchPortlet.php
+++ b/demos/blog/protected/Portlets/SearchPortlet.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: SearchPortlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('Application.Portlets.Portlet');
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php
index 96d64aea..eb7b027c 100644..100755
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveButton/Home.php
@@ -1,6 +1,6 @@
<?php
-// $Id$
+// $Id: Home.php 3189 2012-07-12 12:16:21Z ctrlaltca $
class Home extends TPage
{
public function buttonClicked($sender, $param)
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php
index 2124b599..56443e96 100644..100755
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveCheckBox/Home.php
@@ -1,5 +1,5 @@
<?php
-// $Id$
+// $Id: Home.php 3189 2012-07-12 12:16:21Z ctrlaltca $
class Home extends TPage
{
public function checkboxClicked($sender,$param)
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php
index f7fbc274..2f74bd37 100644..100755
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TAutoComplete/Home.php
@@ -1,5 +1,5 @@
<?php
-// $Id$
+// $Id: Home.php 3189 2012-07-12 12:16:21Z ctrlaltca $
class Home extends TPage
{
public function suggestNames($sender,$param) {
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.php
index 54e97a8b..cdc2d278 100644..100755
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.php
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TCallbackOptions/Home.php
@@ -1,6 +1,6 @@
<?php
-// $Id$
+// $Id: Home.php 3189 2012-07-12 12:16:21Z ctrlaltca $
class Home extends TPage
{
public function buttonCallback ($sender, $param)
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/config.xml b/demos/quickstart/protected/pages/ActiveControls/Samples/config.xml
index d30f3ca6..e25494fb 100644..100755
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/config.xml
+++ b/demos/quickstart/protected/pages/ActiveControls/Samples/config.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Id$ -->
+<!-- $Id: config.xml 1405 2006-09-10 01:03:56Z wei $ -->
<configuration>
<paths>
<using namespace="System.Web.UI.ActiveControls.*" />
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php b/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php
index d730396b..4eba37ee 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/LanguageList.php
@@ -2,14 +2,14 @@
/**
* Language List
* @author $Author: weizhuo $
- * @version $Id$
+ * @version $Id: LanguageList.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package prado.examples
*/
/**
*
* @author $Author: weizhuo $
- * @version $Id$
+ * @version $Id: LanguageList.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
class LanguageList extends TTemplateControl
{
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml
index af842c02..696fafe0 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.de.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: index.de.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-30T18:01:42Z">
<body>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml
index 5c789e8f..47823b30 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.en.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: index.en.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2005-01-09T13:52:21Z">
<body>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml
index 012daab3..86548092 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.es.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: index.es.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:24:28Z">
<body>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml
index 0a8137cf..e486d644 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.fr.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: index.fr.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2005-01-06T23:48:27Z">
<body>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml
index 362f966b..e1f6cf0d 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.pl.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: index.pl.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T17:43:42Z">
<body>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml
index 79702f3c..ae2c8a2d 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/index.zh.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: qiangxue $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: index.zh.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:07:53Z">
<body>
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml
index d6038f0a..b98547b7 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.de.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: tests.de.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:22:55Z">
<body>
<trans-unit id="1">
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml
index 9f2ca557..50af18b1 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.en.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: tests.en.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T18:10:19Z">
<body>
<trans-unit id="1">
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml
index 0e1b58ad..e4119a6c 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.es.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: tests.es.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:27:45Z">
<body>
<trans-unit id="1">
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml
index 1d3523e9..20609fcb 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.fr.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: tests.fr.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T18:10:19Z">
<body>
<trans-unit id="1">
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml
index ee18d515..82a33cbc 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.pl.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: weizhuo $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: tests.pl.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-28T18:10:19Z">
<body>
<trans-unit id="1">
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml
index 0c7e4897..4f93f268 100644..100755
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/messages/tests.zh.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<xliff version="1.0">
<!-- @author $Author: qiangxue $ -->
-<!-- @version $Id$ -->
+<!-- @version $Id: tests.zh.xml 1398 2006-09-08 19:31:03Z xue $ -->
<file orginal="I18N Example IndexPage" source-language="EN" datatype="plaintext" date="2004-12-29T11:08:54Z">
<body>
<trans-unit id="1">
diff --git a/demos/quickstart/protected/pages/Configurations/AppConfig.page b/demos/quickstart/protected/pages/Configurations/AppConfig.page
index 7887d959..83f1bc7e 100644
--- a/demos/quickstart/protected/pages/Configurations/AppConfig.page
+++ b/demos/quickstart/protected/pages/Configurations/AppConfig.page
@@ -56,61 +56,4 @@ An external configuration file has the same format as described above. Although
By default without explicit configuration, a PRADO application will load a few core modules, such as <tt>THttpRequest</tt>, <tt>THttpResponse</tt>, etc. It will also provide the <tt>TPageService</tt> as a default service. Configuration and usage of these modules and services are covered in individual sections of this tutorial. Note, if your application takes default settings for these modules and service, you do not need to provide an application configuration. However, if these modules or services are not sufficient, or you want to change their behavior by configuring their property values, you will need an application configuration.
</p>
-<com:SinceVersion Version="3.2.2" />
-<p class="block-content">
-By default PRADO instanciates all modules defined in the application configuration at the beginning of the application lifecycle. This can hit the application performance if you have a lot of modules defined but not used at every request.
-Since version 3.2.2 you can set the <tt>lazy</tt> property on modules defined in the application configuration to enable the lazy loading of that module.
-
-<com:TTextHighlighter Language="xml" CssClass="source block-content">
- <modules>
- <module id="ModuleID" class="ModuleClass" lazy="true" PropertyName="PropertyValue" ... />
- </modules>
-</com:TTextHighlighter>
-
-A module with the <tt>lazy</tt> property set won't be instanciated until the first time it gets actually used by the application:
-
-<com:TTextHighlighter Language="php" CssClass="source block-content">
- // requesting the lazy module to the application will instanciate it
- Prado::getApplication()->getModule('ModuleID');
-</com:TTextHighlighter>
-</p>
-
-<com:SinceVersion Version="3.2" />
-<p class="block-content">
-Since version 3.2 the application configuration can be stored in PHP array format in a file named <tt>application.php</tt>.
-The format of the configuration file is exactly the same of its XML counterpart, but following the PHP syntax.
-</p>
-
-<com:TTextHighlighter Language="php" CssClass="source block-content">
-<?php
-return array(
- 'application' => array(
- 'PropertyName' => 'PropertyValue'
- ),
- 'modules' => array(
- 'ModuleID' => array(
- 'class' => 'ModuleClass',
- 'properties' => array(
- 'PropertyName' => 'PropertyValue'
- ),
- ),
- ),
- 'services' => array(
- 'ServiceID' => array(
- 'class' => 'ServiceClass',
- 'properties' => array(
- 'PropertyName' => 'PropertyValue'
- ),
- ),
- ),
-);
-</com:TTextHighlighter>
-
-The use of a PHP application configuration must be defined in the <tt>TApplication</tt> constructor, tipically located in the <tt>index.php</tt> entry script:
-
-<com:TTextHighlighter Language="php" CssClass="source block-content">
-$application=new TApplication('protected',false,TApplication::CONFIG_TYPE_PHP);
-$application->run();
-</com:TTextHighlighter>
-
</com:TContent>
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page
index 50f7bbb4..7baa16d6 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page
@@ -1,9 +1,9 @@
<com:TContent ID="body">
<h1>TConditional Samples</h1>
-<com:TConditional Condition="Prado::getVersion()==='3.2.0'">
+<com:TConditional Condition="Prado::getVersion()==='3.2.1'">
<prop:TrueTemplate>
- <com:TLabel Text="You are using PRADO 3.2.0" />
+ <com:TLabel Text="You are using PRADO 3.2.1" />
</prop:TrueTemplate>
<prop:FalseTemplate>
<com:TLabel Text="You are using PRADO <%= Prado::getVersion() %>" />
diff --git a/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page b/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page
index 2cd3f0a9..98adc925 100644
--- a/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page
+++ b/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page
@@ -6,17 +6,11 @@
This page summarizes the main new features that are introduced in each PRADO release.
</p>
-<h2 id="8001">Version 3.2.2</h2>
-<ul>
-<li>TUrlMappingPattern support for constant parameters</li>
-<li>Lazy module loading in application configuration</li>
-</ul>
-
<h2 id="8001">Version 3.2.1</h2>
<ul>
-<li>TSecurityManager has been enhanced to support all the ciphers available in php</li>
-<li>Added a new UrlFormat for TUrlManager: HiddenPath; works like the 'Path' format, but hides the entryscript.php name</li>
-<li>Updated external packages</li>
+<li>TSecurityManager has been enhanced to support all the ciphers available in php</a></li>
+<li>Added a new UrlFormat for TUrlManager: HiddenPath; works like the 'Path' format, but hides the entryscript.php name</a></li>
+<li>Updated external packages</a></li>
</ul>
<h2 id="8001">Version 3.2.0</h2>
diff --git a/demos/time-tracker/protected/App_Code/Dao/BaseDao.php b/demos/time-tracker/protected/App_Code/Dao/BaseDao.php
index bfd4d847..b37fb5df 100644..100755
--- a/demos/time-tracker/protected/App_Code/Dao/BaseDao.php
+++ b/demos/time-tracker/protected/App_Code/Dao/BaseDao.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: BaseDao.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +14,7 @@
* Base DAO class.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: BaseDao.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/Dao/ProjectDao.php b/demos/time-tracker/protected/App_Code/Dao/ProjectDao.php
index 17893d43..dbaf0e80 100644..100755
--- a/demos/time-tracker/protected/App_Code/Dao/ProjectDao.php
+++ b/demos/time-tracker/protected/App_Code/Dao/ProjectDao.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ProjectDao.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +14,7 @@
* Project DAO class.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: ProjectDao.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/Dao/ProjectRecord.php b/demos/time-tracker/protected/App_Code/Dao/ProjectRecord.php
index 4e52abf4..631b1f8c 100644..100755
--- a/demos/time-tracker/protected/App_Code/Dao/ProjectRecord.php
+++ b/demos/time-tracker/protected/App_Code/Dao/ProjectRecord.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: ProjectRecord.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +14,7 @@
* Time Tracker Project class.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: ProjectRecord.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/Dao/UserDao.php b/demos/time-tracker/protected/App_Code/Dao/UserDao.php
index 7193d9b1..495da072 100644..100755
--- a/demos/time-tracker/protected/App_Code/Dao/UserDao.php
+++ b/demos/time-tracker/protected/App_Code/Dao/UserDao.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: UserDao.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -17,7 +17,7 @@
* this token can be used to perform persistent cookie login.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: UserDao.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/DaoManager.php b/demos/time-tracker/protected/App_Code/DaoManager.php
index decf5a6e..9602ced0 100644..100755
--- a/demos/time-tracker/protected/App_Code/DaoManager.php
+++ b/demos/time-tracker/protected/App_Code/DaoManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: DaoManager.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -18,7 +18,7 @@ Prado::using('System.Data.SqlMap.TSqlMapConfig');
* A Registry for Dao and an implementation of that type.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: DaoManager.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/TimeTrackerException.php b/demos/time-tracker/protected/App_Code/TimeTrackerException.php
index a8b7a4b3..424c7d30 100644..100755
--- a/demos/time-tracker/protected/App_Code/TimeTrackerException.php
+++ b/demos/time-tracker/protected/App_Code/TimeTrackerException.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TimeTrackerException.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -15,7 +15,7 @@
* "exceptions.txt"
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TimeTrackerException.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/TimeTrackerUser.php b/demos/time-tracker/protected/App_Code/TimeTrackerUser.php
index be70525c..da98e786 100644..100755
--- a/demos/time-tracker/protected/App_Code/TimeTrackerUser.php
+++ b/demos/time-tracker/protected/App_Code/TimeTrackerUser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TimeTrackerUser.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -20,7 +20,7 @@ Prado::using('System.Security.TUserManager');
* User class for Time Tracker application.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TimeTrackerUser.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/TrackerAuthManager.php b/demos/time-tracker/protected/App_Code/TrackerAuthManager.php
index e66a9658..48962167 100644..100755
--- a/demos/time-tracker/protected/App_Code/TrackerAuthManager.php
+++ b/demos/time-tracker/protected/App_Code/TrackerAuthManager.php
@@ -4,7 +4,7 @@
* a string token saved in the cookie.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TrackerAuthManager.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Code/UserManager.php b/demos/time-tracker/protected/App_Code/UserManager.php
index 7e3b388a..20b34d47 100644..100755
--- a/demos/time-tracker/protected/App_Code/UserManager.php
+++ b/demos/time-tracker/protected/App_Code/UserManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: UserManager.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +14,7 @@
* User manager module class for time tracker application.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: UserManager.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/App_Data/TimeTrackerUserTypeHandler.php b/demos/time-tracker/protected/App_Data/TimeTrackerUserTypeHandler.php
index 1a938453..3a67afb0 100644..100755
--- a/demos/time-tracker/protected/App_Data/TimeTrackerUserTypeHandler.php
+++ b/demos/time-tracker/protected/App_Data/TimeTrackerUserTypeHandler.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TimeTrackerUserTypeHandler.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -15,7 +15,7 @@
* The TimeTrackerUser requires an instance of IUserManager in constructor.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TimeTrackerUserTypeHandler.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/pages/TimeTracker/Login.php b/demos/time-tracker/protected/pages/TimeTracker/Login.php
index 8287c401..941cb4b7 100644..100755
--- a/demos/time-tracker/protected/pages/TimeTracker/Login.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/Login.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: Login.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -17,7 +17,7 @@
* if successful.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: Login.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/pages/TimeTracker/Logout.php b/demos/time-tracker/protected/pages/TimeTracker/Logout.php
index 2907469b..9f4de556 100644..100755
--- a/demos/time-tracker/protected/pages/TimeTracker/Logout.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/Logout.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: Logout.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +14,7 @@
* Logout page class.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: Logout.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php b/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
index 7b64fc7a..51df0583 100644..100755
--- a/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/SiteMap.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: SiteMap.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +14,7 @@
* SiteMap menu is rendered depending on user roles.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: SiteMap.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/pages/TimeTracker/UserCreate.php b/demos/time-tracker/protected/pages/TimeTracker/UserCreate.php
index 0add6175..2c73752a 100644..100755
--- a/demos/time-tracker/protected/pages/TimeTracker/UserCreate.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/UserCreate.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: UserCreate.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -17,7 +17,7 @@
* If logged in as admin, the user role can be change during creation.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: UserCreate.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/demos/time-tracker/protected/pages/TimeTracker/UserList.php b/demos/time-tracker/protected/pages/TimeTracker/UserList.php
index c7e57cb6..9dc3ab5f 100644..100755
--- a/demos/time-tracker/protected/pages/TimeTracker/UserList.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/UserList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2006 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: UserList.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
*/
@@ -14,7 +14,7 @@
* List all users in a repeater.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: UserList.php 3189 2012-07-12 12:16:21Z ctrlaltca $
* @package Demos
* @since 3.1
*/
diff --git a/framework/3rdParty/FirePHPCore/FirePHP.class.php b/framework/3rdParty/FirePHPCore/FirePHP.class.php
index a6abec0d..7d3b95f6 100644
--- a/framework/3rdParty/FirePHPCore/FirePHP.class.php
+++ b/framework/3rdParty/FirePHPCore/FirePHP.class.php
@@ -1223,7 +1223,7 @@ class FirePHP {
* @author Brett Stimmerman <brettstimmerman[at]gmail[dot]com>
* @author Christoph Dorn <christoph@christophdorn.com>
* @copyright 2005 Michal Migurski
- * @version CVS: $Id$
+ * @version CVS: $Id: FirePHP.class.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @license http://www.opensource.org/licenses/bsd-license.php
* @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198
*/
diff --git a/framework/3rdParty/SafeHtml/HTMLSax3.php b/framework/3rdParty/SafeHtml/HTMLSax3.php
index e82f8436..ff0bad63 100644
--- a/framework/3rdParty/SafeHtml/HTMLSax3.php
+++ b/framework/3rdParty/SafeHtml/HTMLSax3.php
@@ -19,12 +19,12 @@
// | Authors: Many @ Sitepointforums Advanced PHP Forums |
// +----------------------------------------------------------------------+
//
-// $Id$
+// $Id: HTMLSax3.php 3188 2012-07-12 12:13:23Z ctrlaltca $
//
/**
* Main parser components
* @package System.Security.SafeHtml
-* @version $Id$
+* @version $Id: HTMLSax3.php 3188 2012-07-12 12:13:23Z ctrlaltca $
*/
/**
* Required classes
diff --git a/framework/3rdParty/SafeHtml/HTMLSax3/Decorators.php b/framework/3rdParty/SafeHtml/HTMLSax3/Decorators.php
index 38638086..8a33c983 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$
+// $Id: Decorators.php 3188 2012-07-12 12:13:23Z ctrlaltca $
//
/**
* Decorators for dealing with parser options
* @package System.Security.SafeHtml
-* @version $Id$
+* @version $Id: Decorators.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @see TSax3::set_option
*/
/**
diff --git a/framework/3rdParty/SafeHtml/HTMLSax3/States.php b/framework/3rdParty/SafeHtml/HTMLSax3/States.php
index 63bde07f..8afc5fb5 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$
+// $Id: States.php 3188 2012-07-12 12:13:23Z ctrlaltca $
//
/**
* Parsing states.
* @package System.Security.SafeHtml
-* @version $Id$
+* @version $Id: States.php 3188 2012-07-12 12:13:23Z ctrlaltca $
*/
/**
* Define parser states
diff --git a/framework/3rdParty/WsdlGen/Wsdl.php b/framework/3rdParty/WsdlGen/Wsdl.php
index c1a84468..5d9c6aec 100644
--- a/framework/3rdParty/WsdlGen/Wsdl.php
+++ b/framework/3rdParty/WsdlGen/Wsdl.php
@@ -12,7 +12,7 @@
*
* @author Marcus Nyeholt <tanus@users.sourceforge.net>
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: Wsdl.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @package System.Web.Services.SOAP
*/
diff --git a/framework/3rdParty/WsdlGen/WsdlGenerator.php b/framework/3rdParty/WsdlGen/WsdlGenerator.php
index 961c376a..b208fb8b 100644
--- a/framework/3rdParty/WsdlGen/WsdlGenerator.php
+++ b/framework/3rdParty/WsdlGen/WsdlGenerator.php
@@ -11,7 +11,7 @@
* This file is part of the PRADO framework from {@link http://www.xisc.com}
*
* @author Marcus Nyeholt <tanus@users.sourceforge.net>
- * @version $Id$
+ * @version $Id: WsdlGenerator.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @package System.Web.Services.SOAP
*/
diff --git a/framework/3rdParty/WsdlGen/WsdlMessage.php b/framework/3rdParty/WsdlGen/WsdlMessage.php
index 73bb30f5..5e0391ef 100644
--- a/framework/3rdParty/WsdlGen/WsdlMessage.php
+++ b/framework/3rdParty/WsdlGen/WsdlMessage.php
@@ -12,7 +12,7 @@
*
* @author Marcus Nyeholt <tanus@users.sourceforge.net>
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: WsdlMessage.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @package System.Web.Services.SOAP
*/
diff --git a/framework/3rdParty/WsdlGen/WsdlOperation.php b/framework/3rdParty/WsdlGen/WsdlOperation.php
index fe8c1b74..5c9b4be5 100644
--- a/framework/3rdParty/WsdlGen/WsdlOperation.php
+++ b/framework/3rdParty/WsdlGen/WsdlOperation.php
@@ -12,7 +12,7 @@
*
* @author Marcus Nyeholt <tanus@users.sourceforge.net>
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: WsdlOperation.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @package System.Web.Services.SOAP
*/
diff --git a/framework/Caching/TAPCCache.php b/framework/Caching/TAPCCache.php
index 1a95506f..53e3e388 100644
--- a/framework/Caching/TAPCCache.php
+++ b/framework/Caching/TAPCCache.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TAPCCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
*/
@@ -41,7 +41,7 @@
*
* @author Alban Hanry <compte_messagerie@hotmail.com>
* @author Knut Urdalen <knut.urdalen@gmail.com>
- * @version $Id$
+ * @version $Id: TAPCCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.0b
*/
diff --git a/framework/Caching/TCache.php b/framework/Caching/TCache.php
index 1f9d1aca..0a0ca2db 100644
--- a/framework/Caching/TCache.php
+++ b/framework/Caching/TCache.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
*/
@@ -42,7 +42,7 @@ Prado::using('System.Collections.TList');
* the cache acts as an array.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.0
*/
@@ -313,7 +313,7 @@ abstract class TCache extends TModule implements ICache, ArrayAccess
* - {@link TChainedCacheDependency}: checks whether any of a list of dependencies is changed or not
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
@@ -331,7 +331,7 @@ abstract class TCacheDependency extends TComponent implements ICacheDependency
* last modification time remains unchanged.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
@@ -400,7 +400,7 @@ class TFileCacheDependency extends TCacheDependency
* to a certain depth of the subdirectories.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
@@ -556,7 +556,7 @@ class TDirectoryCacheDependency extends TCacheDependency
* set {@link setStateName StateName} to the name of the global state.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
@@ -617,7 +617,7 @@ class TGlobalStateCacheDependency extends TCacheDependency
* (see {@link TList} for more details}).
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
@@ -667,7 +667,7 @@ class TChainedCacheDependency extends TCacheDependency
* will be checked.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
@@ -694,7 +694,7 @@ class TApplicationStateCacheDependency extends TCacheDependency
* for more details.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
diff --git a/framework/Caching/TDbCache.php b/framework/Caching/TDbCache.php
index 1078aa91..01962a55 100644
--- a/framework/Caching/TDbCache.php
+++ b/framework/Caching/TDbCache.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
*/
@@ -82,7 +82,7 @@ Prado::using('System.Data.TDbConnection');
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.1.0
*/
diff --git a/framework/Caching/TMemCache.php b/framework/Caching/TMemCache.php
index 1c27d080..8d2e6a4b 100644
--- a/framework/Caching/TMemCache.php
+++ b/framework/Caching/TMemCache.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMemCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
*/
@@ -77,7 +77,7 @@
* NB : MemCache server(s) must be restarted to apply settings. Require (PECL memcache >= 2.0.0).
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TMemCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.0
*/
diff --git a/framework/Caching/TSqliteCache.php b/framework/Caching/TSqliteCache.php
index 345e3021..a00a8472 100644
--- a/framework/Caching/TSqliteCache.php
+++ b/framework/Caching/TSqliteCache.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqliteCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
*/
@@ -67,7 +67,7 @@
* SQLite DB file (in the namespace format).
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TSqliteCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Caching
* @since 3.0
*/
diff --git a/framework/Collections/TAttributeCollection.php b/framework/Collections/TAttributeCollection.php
index fcec52bb..7abc8b43 100644
--- a/framework/Collections/TAttributeCollection.php
+++ b/framework/Collections/TAttributeCollection.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TAttributeCollection.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
*/
@@ -38,7 +38,7 @@ Prado::using('System.Collections.TMap');
* in the collection storage.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TAttributeCollection.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
@@ -142,7 +142,7 @@ class TAttributeCollection extends TMap
*/
public function hasProperty($name)
{
- return $this->contains($name) || parent::canGetProperty($name) || parent::canSetProperty($name);
+ return $this->contains($name) || parent::hasProperty($name);
}
/**
diff --git a/framework/Collections/TDummyDataSource.php b/framework/Collections/TDummyDataSource.php
index 060559f8..bf74dbec 100644
--- a/framework/Collections/TDummyDataSource.php
+++ b/framework/Collections/TDummyDataSource.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDummyDataSource.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
*/
@@ -22,7 +22,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDummyDataSource.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDummyDataSource.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php
index 4603033a..b82f676e 100644
--- a/framework/Collections/TList.php
+++ b/framework/Collections/TList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
*/
@@ -32,7 +32,7 @@
* operation, override {@link insertAt()}, and {@link removeAt()}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
@@ -405,7 +405,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
*
* @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php
index 8b5baf90..d5f2ffce 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
*/
@@ -28,7 +28,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
@@ -274,7 +274,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
*
* @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
diff --git a/framework/Collections/TPagedDataSource.php b/framework/Collections/TPagedDataSource.php
index 330c09c3..60d2736b 100644
--- a/framework/Collections/TPagedDataSource.php
+++ b/framework/Collections/TPagedDataSource.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPagedDataSource.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
*/
@@ -24,7 +24,7 @@
* within the specified page will be returned and traversed.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPagedDataSource.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPagedDataSource.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPagedDataSource.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
diff --git a/framework/Collections/TPagedList.php b/framework/Collections/TPagedList.php
index 7be246e1..ff03606f 100644
--- a/framework/Collections/TPagedList.php
+++ b/framework/Collections/TPagedList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPagedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
*/
@@ -51,7 +51,7 @@
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPagedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPagedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPagedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php
index 727949b3..06c97046 100644
--- a/framework/Collections/TStack.php
+++ b/framework/Collections/TStack.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TStack.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
*/
@@ -27,7 +27,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStack.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
@@ -182,7 +182,7 @@ class TStack extends TComponent implements IteratorAggregate,Countable
*
* @deprecated Issue 264 : ArrayIterator should be used instead
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStack.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Collections
* @since 3.0
*/
diff --git a/framework/Data/ActiveRecord/Exceptions/TActiveRecordException.php b/framework/Data/ActiveRecord/Exceptions/TActiveRecordException.php
index 6b07cd05..7dd69641 100644
--- a/framework/Data/ActiveRecord/Exceptions/TActiveRecordException.php
+++ b/framework/Data/ActiveRecord/Exceptions/TActiveRecordException.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRecordException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
*/
@@ -14,7 +14,7 @@
* Base exception class for Active Records.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRecordException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1
*/
@@ -38,7 +38,7 @@ class TActiveRecordException extends TDbException
* TActiveRecordConfigurationException class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRecordException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1
*/
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php
index 946d0ac3..41dbb240 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TScaffoldBase.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
*/
@@ -26,7 +26,7 @@ Prado::using('System.Data.ActiveRecord.TActiveRecord');
* file explicitly.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TScaffoldBase.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
* @since 3.1
*/
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php
index 041150ad..ff1c65c7 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TScaffoldEditView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
*/
@@ -43,7 +43,7 @@ Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase');
* xxx is the property name).
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TScaffoldEditView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
* @since 3.1
*/
@@ -294,7 +294,7 @@ class TScaffoldEditView extends TScaffoldBase
* that is called before the save() method is called on the TActiveRecord.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TScaffoldEditView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
* @since 3.1
*/
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php
index df4911b8..2cd2def5 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TScaffoldListView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
*/
@@ -44,7 +44,7 @@ Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase');
* Parameters property of TActiveRecordCriteria.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TScaffoldListView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
* @since 3.1
*/
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
index eb682f7c..63dea8dd 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TScaffoldView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
*/
@@ -35,7 +35,7 @@ Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldSearch');
* the Active Record class to be displayed/edited/added.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TScaffoldView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord.Scaffold
* @since 3.0
*/
diff --git a/framework/Data/ActiveRecord/Scaffold/style.css b/framework/Data/ActiveRecord/Scaffold/style.css
index 864ddb6f..cd34eb76 100644
--- a/framework/Data/ActiveRecord/Scaffold/style.css
+++ b/framework/Data/ActiveRecord/Scaffold/style.css
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: style.css 1866 2007-04-14 05:02:29Z wei $ */
body
{
font-family: Cambria, Georgia, "Times New Roman", Times, serif;
diff --git a/framework/Data/ActiveRecord/TActiveRecord.php b/framework/Data/ActiveRecord/TActiveRecord.php
index 0d58984a..24fa41ce 100644
--- a/framework/Data/ActiveRecord/TActiveRecord.php
+++ b/framework/Data/ActiveRecord/TActiveRecord.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRecord.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
*/
@@ -142,7 +142,7 @@ Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelationContext');
* </code>
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRecord.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1
*/
@@ -1037,7 +1037,7 @@ abstract class TActiveRecord extends TComponent
* be set to false to prevent the requested change event to be performed.
*
* @author Wei Zhuo<weizhuo@gmail.com>
- * @version $Id$
+ * @version $Id: TActiveRecord.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1.2
*/
@@ -1072,7 +1072,7 @@ class TActiveRecordChangeEventParameter extends TEventParameter
* - Exception: throws a TActiveRecordException
*
* @author Yves Berkholz <godzilla80@gmx.net>
- * @version $Id$
+ * @version $Id: TActiveRecord.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @see TActiveRecordManager::setInvalidFinderResult
* @see TActiveRecordConfig::setInvalidFinderResult
diff --git a/framework/Data/ActiveRecord/TActiveRecordConfig.php b/framework/Data/ActiveRecord/TActiveRecordConfig.php
index a08188b4..7421d08b 100644
--- a/framework/Data/ActiveRecord/TActiveRecordConfig.php
+++ b/framework/Data/ActiveRecord/TActiveRecordConfig.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRecordConfig.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
*/
@@ -66,7 +66,7 @@ Prado::using('System.Data.ActiveRecord.TActiveRecordManager');
* </code>
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRecordConfig.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1
*/
diff --git a/framework/Data/ActiveRecord/TActiveRecordCriteria.php b/framework/Data/ActiveRecord/TActiveRecordCriteria.php
index 00da6ca2..afa76c51 100644
--- a/framework/Data/ActiveRecord/TActiveRecordCriteria.php
+++ b/framework/Data/ActiveRecord/TActiveRecordCriteria.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRecordCriteria.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
*/
@@ -28,7 +28,7 @@ Prado::using('System.Data.DataGateway.TSqlCriteria');
* </code>
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRecordCriteria.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1
*/
diff --git a/framework/Data/ActiveRecord/TActiveRecordGateway.php b/framework/Data/ActiveRecord/TActiveRecordGateway.php
index d6728427..c61cdd18 100644
--- a/framework/Data/ActiveRecord/TActiveRecordGateway.php
+++ b/framework/Data/ActiveRecord/TActiveRecordGateway.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRecordGateway.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
*/
@@ -15,7 +15,7 @@
* record as arrays (for most finder methods).
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRecordGateway.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1
*/
diff --git a/framework/Data/ActiveRecord/TActiveRecordManager.php b/framework/Data/ActiveRecord/TActiveRecordManager.php
index 83fcdef4..26c04e87 100644
--- a/framework/Data/ActiveRecord/TActiveRecordManager.php
+++ b/framework/Data/ActiveRecord/TActiveRecordManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRecordManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
*/
@@ -31,7 +31,7 @@ Prado::using('System.Data.ActiveRecord.TActiveRecordGateway');
* the active record gateway to cache the table meta data information.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRecordManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.ActiveRecord
* @since 3.1
*/
diff --git a/framework/Data/Common/Mysql/TMysqlMetaData.php b/framework/Data/Common/Mysql/TMysqlMetaData.php
index ede576d0..9dc995fc 100644
--- a/framework/Data/Common/Mysql/TMysqlMetaData.php
+++ b/framework/Data/Common/Mysql/TMysqlMetaData.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMysqlMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Mysql
*/
@@ -23,7 +23,7 @@ Prado::using('System.Data.Common.Mysql.TMysqlTableInfo');
* See http://netevil.org/node.php?nid=795&SC=1
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMysqlMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Mysql
* @since 3.1
*/
diff --git a/framework/Data/Common/Mysql/TMysqlTableColumn.php b/framework/Data/Common/Mysql/TMysqlTableColumn.php
index b0e67788..6f482537 100644
--- a/framework/Data/Common/Mysql/TMysqlTableColumn.php
+++ b/framework/Data/Common/Mysql/TMysqlTableColumn.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMysqlTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Mysql
*/
@@ -19,7 +19,7 @@ Prado::using('System.Data.Common.TDbTableColumn');
* Describes the column metadata of the schema for a Mysql database table.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMysqlTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Mysql
* @since 3.1
*/
diff --git a/framework/Data/Common/Mysql/TMysqlTableInfo.php b/framework/Data/Common/Mysql/TMysqlTableInfo.php
index b3ff4b52..b190e961 100644
--- a/framework/Data/Common/Mysql/TMysqlTableInfo.php
+++ b/framework/Data/Common/Mysql/TMysqlTableInfo.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMysqlTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Mysql
*/
@@ -20,7 +20,7 @@ Prado::using('System.Data.Common.Mysql.TMysqlTableColumn');
* TMysqlTableInfo class provides additional table information for MySQL database.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMysqlTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Mysql
* @since 3.1
*/
diff --git a/framework/Data/Common/Oracle/TOracleCommandBuilder.php b/framework/Data/Common/Oracle/TOracleCommandBuilder.php
index 060728da..26490d54 100644
--- a/framework/Data/Common/Oracle/TOracleCommandBuilder.php
+++ b/framework/Data/Common/Oracle/TOracleCommandBuilder.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TOracleCommandBuilder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
*/
@@ -18,7 +18,7 @@ Prado :: using('System.Data.Common.TDbCommandBuilder');
* for Oracle database.
*
* @author Marcos Nobre <marconobre[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TOracleCommandBuilder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
* @since 3.1
*/
diff --git a/framework/Data/Common/Oracle/TOracleMetaData.php b/framework/Data/Common/Oracle/TOracleMetaData.php
index 1214af43..793070ed 100644
--- a/framework/Data/Common/Oracle/TOracleMetaData.php
+++ b/framework/Data/Common/Oracle/TOracleMetaData.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TOracleMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Oracle
*/
@@ -21,7 +21,7 @@ Prado::using('System.Data.Common.Oracle.TOracleTableColumn');
* TOracleMetaData loads Oracle database table and column information.
*
* @author Marcos Nobre <marconobre[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TOracleMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Oracle
* @since 3.1
*/
diff --git a/framework/Data/Common/Oracle/TOracleTableColumn.php b/framework/Data/Common/Oracle/TOracleTableColumn.php
index a8e8353b..bbd7212c 100644
--- a/framework/Data/Common/Oracle/TOracleTableColumn.php
+++ b/framework/Data/Common/Oracle/TOracleTableColumn.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TOracleTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Oracle
*/
@@ -19,7 +19,7 @@ Prado::using('System.Data.Common.TDbTableColumn');
* Describes the column metadata of the schema for a PostgreSQL database table.
*
* @author Marcos Nobre <marconobre[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TOracleTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Oracle
* @since 3.1
*/
diff --git a/framework/Data/Common/Oracle/TOracleTableInfo.php b/framework/Data/Common/Oracle/TOracleTableInfo.php
index 6434badc..6aa31fd8 100644
--- a/framework/Data/Common/Oracle/TOracleTableInfo.php
+++ b/framework/Data/Common/Oracle/TOracleTableInfo.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TOracleTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
*/
@@ -15,7 +15,7 @@
* TDbTableInfo class describes the meta data of a database table.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TOracleTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
* @since 3.1
*/
diff --git a/framework/Data/Common/Pgsql/TPgsqlMetaData.php b/framework/Data/Common/Pgsql/TPgsqlMetaData.php
index 547ef001..dd91dfdc 100644
--- a/framework/Data/Common/Pgsql/TPgsqlMetaData.php
+++ b/framework/Data/Common/Pgsql/TPgsqlMetaData.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPgsqlMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Pgsql
*/
@@ -20,7 +20,7 @@ Prado::using('System.Data.Common.Pgsql.TPgsqlTableInfo');
* TPgsqlMetaData loads PostgreSQL database table and column information.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TPgsqlMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Pgsql
* @since 3.1
*/
diff --git a/framework/Data/Common/Pgsql/TPgsqlTableColumn.php b/framework/Data/Common/Pgsql/TPgsqlTableColumn.php
index e4a91b98..da17a7d3 100644
--- a/framework/Data/Common/Pgsql/TPgsqlTableColumn.php
+++ b/framework/Data/Common/Pgsql/TPgsqlTableColumn.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPgsqlTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Pgsql
*/
@@ -19,7 +19,7 @@ Prado::using('System.Data.Common.TDbTableColumn');
* Describes the column metadata of the schema for a PostgreSQL database table.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TPgsqlTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Pgsql
* @since 3.1
*/
diff --git a/framework/Data/Common/Pgsql/TPgsqlTableInfo.php b/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
index 7fc24165..ef2b4575 100644
--- a/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
+++ b/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPgsqlTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Pgsql
*/
@@ -20,7 +20,7 @@ Prado::using('System.Data.Common.Pgsql.TPgsqlTableColumn');
* TPgsqlTableInfo class provides additional table information for PostgreSQL database.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TPgsqlTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common.Pgsql
* @since 3.1
*/
diff --git a/framework/Data/Common/TDbCommandBuilder.php b/framework/Data/Common/TDbCommandBuilder.php
index c3ab2578..fdaa3bfe 100644
--- a/framework/Data/Common/TDbCommandBuilder.php
+++ b/framework/Data/Common/TDbCommandBuilder.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbCommandBuilder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
*/
@@ -15,7 +15,7 @@
* giving by {@link setTableInfo TableInfo} the property.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDbCommandBuilder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
* @since 3.1
*/
diff --git a/framework/Data/Common/TDbMetaData.php b/framework/Data/Common/TDbMetaData.php
index 0c405870..91cf9616 100644
--- a/framework/Data/Common/TDbMetaData.php
+++ b/framework/Data/Common/TDbMetaData.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
*/
@@ -17,7 +17,7 @@
* Use the {@link getTableInfo} method to retrieve a table information.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDbMetaData.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
* @since 3.1
*/
diff --git a/framework/Data/Common/TDbTableColumn.php b/framework/Data/Common/TDbTableColumn.php
index 2ceae0fe..27cfb7c5 100644
--- a/framework/Data/Common/TDbTableColumn.php
+++ b/framework/Data/Common/TDbTableColumn.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
*/
@@ -14,7 +14,7 @@
* TDbTableColumn class describes the column meta data of the schema for a database table.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDbTableColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
* @since 3.1
*/
diff --git a/framework/Data/Common/TDbTableInfo.php b/framework/Data/Common/TDbTableInfo.php
index a3d66ece..fbfcf46d 100644
--- a/framework/Data/Common/TDbTableInfo.php
+++ b/framework/Data/Common/TDbTableInfo.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
*/
@@ -14,7 +14,7 @@
* TDbTableInfo class describes the meta data of a database table.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDbTableInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.Common
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TDiscriminator.php b/framework/Data/SqlMap/Configuration/TDiscriminator.php
index 67e7b368..278ef2d3 100644
--- a/framework/Data/SqlMap/Configuration/TDiscriminator.php
+++ b/framework/Data/SqlMap/Configuration/TDiscriminator.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDiscriminator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -21,7 +21,7 @@
* the object data.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDiscriminator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -187,7 +187,7 @@ class TDiscriminator extends TComponent
* is used inplace of the current result map.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDiscriminator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php b/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php
index ee394d97..a2abab3a 100644
--- a/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php
+++ b/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TInlineParameterMapParser.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -18,7 +18,7 @@
* parametrized SQL statement.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TInlineParameterMapParser.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TParameterMap.php b/framework/Data/SqlMap/Configuration/TParameterMap.php
index 8d3aa5a9..e24648d2 100644
--- a/framework/Data/SqlMap/Configuration/TParameterMap.php
+++ b/framework/Data/SqlMap/Configuration/TParameterMap.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TParameterMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -26,7 +26,7 @@
* The <parameterMap> element accepts two attributes: id (required) and extends (optional).
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TParameterMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TParameterProperty.php b/framework/Data/SqlMap/Configuration/TParameterProperty.php
index c1381b86..255ec690 100644
--- a/framework/Data/SqlMap/Configuration/TParameterProperty.php
+++ b/framework/Data/SqlMap/Configuration/TParameterProperty.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TParameterProperty.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -25,7 +25,7 @@
* will be written to the database instead of the value.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TParameterProperty.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TResultMap.php b/framework/Data/SqlMap/Configuration/TResultMap.php
index 99bbf9c9..65f149df 100644
--- a/framework/Data/SqlMap/Configuration/TResultMap.php
+++ b/framework/Data/SqlMap/Configuration/TResultMap.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TResultMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -32,7 +32,7 @@
* from the "parent" <resultMap> are set before any values specified by this <resultMap>.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TResultMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TResultProperty.php b/framework/Data/SqlMap/Configuration/TResultProperty.php
index 95ec6136..54ba832d 100644
--- a/framework/Data/SqlMap/Configuration/TResultProperty.php
+++ b/framework/Data/SqlMap/Configuration/TResultProperty.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TResultProperty.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -29,7 +29,7 @@
* with the {@link Select setSelect()} .
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TResultProperty.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php b/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php
index 911828f9..ac7eb059 100644
--- a/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php
+++ b/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSimpleDynamicParser.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -15,7 +15,7 @@
* it with a TSimpleDynamicParser::DYNAMIC_TOKEN.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSimpleDynamicParser.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php b/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php
index 1ccb096f..b560fe41 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapCacheModel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -28,7 +28,7 @@
* the current request.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapCacheModel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -193,7 +193,7 @@ class TSqlMapCacheModel extends TComponent
* Implemented cache are 'Basic', 'FIFO' and 'LRU'.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapCacheModel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -210,7 +210,7 @@ class TSqlMapCacheTypes extends TEnumerable
* Provides a hash of the object to be cached.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapCacheModel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapStatement.php b/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
index 1b86bcb8..efa16484 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -24,7 +24,7 @@
* statement can return a database-generated key.)
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -319,7 +319,7 @@ class TSqlMapStatement extends TComponent
* TSqlMapSelect class file.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
@@ -338,7 +338,7 @@ class TSqlMapSelect extends TSqlMapStatement
* to generate a key to be used for the insert command.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -367,7 +367,7 @@ class TSqlMapInsert extends TSqlMapStatement
* TSqlMapUpdate class corresponds to <update> element.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -379,7 +379,7 @@ class TSqlMapUpdate extends TSqlMapStatement
* TSqlMapDelete class corresponds to the <delete> element.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -391,7 +391,7 @@ class TSqlMapDelete extends TSqlMapUpdate
* TSqlMapSelect corresponds to the <selectKey> element.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
index 8847bcb0..abe9b588 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapXmlConfiguration.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
@@ -16,7 +16,7 @@ Prado::using('System.Data.SqlMap.Configuration.TSqlMapStatement');
* TSqlMapXmlConfig class file.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapXmlConfiguration.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
*/
abstract class TSqlMapXmlConfigBuilder
@@ -128,7 +128,7 @@ abstract class TSqlMapXmlConfigBuilder
* Configures the TSqlMapManager using xml configuration file.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapXmlConfiguration.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
@@ -301,7 +301,7 @@ class TSqlMapXmlConfiguration extends TSqlMapXmlConfigBuilder
* description
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapXmlConfiguration.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Configuration
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/DataMapper/TLazyLoadList.php b/framework/Data/SqlMap/DataMapper/TLazyLoadList.php
index b5fc92ee..c512ef92 100644
--- a/framework/Data/SqlMap/DataMapper/TLazyLoadList.php
+++ b/framework/Data/SqlMap/DataMapper/TLazyLoadList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TLazyLoadList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -14,7 +14,7 @@
* TLazyLoadList executes mapped statements when the proxy collection is first accessed.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TLazyLoadList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -107,7 +107,7 @@ class TLazyLoadList
* particular object and relays the call to handler object.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TLazyLoadList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
index f084a276..20a853c4 100644
--- a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
+++ b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPropertyAccess.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -37,7 +37,7 @@
* </code>
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TPropertyAccess.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapCache.php b/framework/Data/SqlMap/DataMapper/TSqlMapCache.php
index 9cf1d769..15e148fe 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapCache.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapCache.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -16,7 +16,7 @@
* a least-recently-used cache implementation.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -89,7 +89,7 @@ abstract class TSqlMapCache implements ICache
* object that was first added when the cache is full.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -126,7 +126,7 @@ class TSqlMapFifoCache extends TSqlMapCache
* object that was accessed last when the cache is full.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -168,7 +168,7 @@ class TSqlMapLruCache extends TSqlMapCache
* caching SqlMap results.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapException.php b/framework/Data/SqlMap/DataMapper/TSqlMapException.php
index 694774d8..d308768f 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapException.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapException.php
@@ -4,7 +4,7 @@
* TSqlMapException is the base exception class for all SqlMap exceptions.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapException.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -63,7 +63,7 @@ class TSqlMapException extends TException
* TSqlMapConfigurationException, raised during configuration file parsing.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapException.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -76,7 +76,7 @@ class TSqlMapConfigurationException extends TSqlMapException
* TSqlMapUndefinedException, raised when mapped statemented are undefined.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapException.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -89,7 +89,7 @@ class TSqlMapUndefinedException extends TSqlMapException
* TSqlMapDuplicateException, raised when a duplicate mapped statement is found.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapException.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -101,7 +101,7 @@ class TSqlMapDuplicateException extends TSqlMapException
* TInvalidPropertyException, raised when setting or getting an invalid property.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapException.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
index 2670ff6d..f3d67d47 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapPagedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -23,7 +23,7 @@ Prado::using('System.Collections.TPagedList');
* The paged list does not need to know about the total number of records.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapPagedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandlerRegistry.php b/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandlerRegistry.php
index 634099df..9d743b82 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandlerRegistry.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapTypeHandlerRegistry.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapTypeHandlerRegistry.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -15,7 +15,7 @@
* to PHP types and vice versa.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapTypeHandlerRegistry.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
@@ -121,7 +121,7 @@ class TSqlMapTypeHandlerRegistry
* booleans using "Y" and "N" instead of the more typical 0/1.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapTypeHandlerRegistry.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/IMappedStatement.php b/framework/Data/SqlMap/Statements/IMappedStatement.php
index 15f61fad..175b6f39 100644
--- a/framework/Data/SqlMap/Statements/IMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/IMappedStatement.php
@@ -3,7 +3,7 @@
* IMappedStatement interface file.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: IMappedStatement.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -11,7 +11,7 @@
* Interface for all mapping statements.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: IMappedStatement.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TCachingStatement.php b/framework/Data/SqlMap/Statements/TCachingStatement.php
index 1e734f45..b01280de 100644
--- a/framework/Data/SqlMap/Statements/TCachingStatement.php
+++ b/framework/Data/SqlMap/Statements/TCachingStatement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCachingStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TCacheingStatement class.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TCachingStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TDeleteMappedStatement.php b/framework/Data/SqlMap/Statements/TDeleteMappedStatement.php
index 0e7dbd37..4b023dc7 100644
--- a/framework/Data/SqlMap/Statements/TDeleteMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TDeleteMappedStatement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDeleteMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TDeleteMappedStatement class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDeleteMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TInsertMappedStatement.php b/framework/Data/SqlMap/Statements/TInsertMappedStatement.php
index cdfb735b..02bd4a68 100644
--- a/framework/Data/SqlMap/Statements/TInsertMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TInsertMappedStatement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TInsertMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TInsertMappedStatement class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TInsertMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TMappedStatement.php b/framework/Data/SqlMap/Statements/TMappedStatement.php
index 779608c9..40caf4f7 100644
--- a/framework/Data/SqlMap/Statements/TMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TMappedStatement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -17,7 +17,7 @@
* This class is usualy instantiated during SQLMap configuration by TSqlDomBuilder.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.0
*/
@@ -939,7 +939,7 @@ class TMappedStatement extends TComponent implements IMappedStatement
* TPostSelectBinding class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
@@ -975,7 +975,7 @@ class TPostSelectBinding
* build using the {@link collect} method.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
@@ -1163,7 +1163,7 @@ class TSqlMapObjectCollectionTree extends TComponent
* TResultSetListItemParameter class
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
@@ -1200,7 +1200,7 @@ class TResultSetListItemParameter extends TComponent
* TResultSetMapItemParameter class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TPreparedCommand.php b/framework/Data/SqlMap/Statements/TPreparedCommand.php
index e86e096c..59a58b5d 100644
--- a/framework/Data/SqlMap/Statements/TPreparedCommand.php
+++ b/framework/Data/SqlMap/Statements/TPreparedCommand.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPreparedCommand.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -17,7 +17,7 @@ Prado::using('System.Data.Common.TDbCommandBuilder');
* TPreparedCommand class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TPreparedCommand.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
@@ -47,10 +47,9 @@ class TPreparedCommand
protected function applyParameterMap($manager,$command,$prepared, $statement, $parameterObject)
{
- $properties = $prepared->getParameterNames(false);
- //$parameters = $prepared->getParameterValues();
+ $properties = $prepared->getParameterNames();
+ $parameters = $prepared->getParameterValues();
$registry=$manager->getTypeHandlers();
- if ($properties)
for($i = 0, $k=$properties->getCount(); $i<$k; $i++)
{
$property = $statement->parameterMap()->getProperty($i);
diff --git a/framework/Data/SqlMap/Statements/TPreparedStatement.php b/framework/Data/SqlMap/Statements/TPreparedStatement.php
index b4a7c272..f46994ab 100644
--- a/framework/Data/SqlMap/Statements/TPreparedStatement.php
+++ b/framework/Data/SqlMap/Statements/TPreparedStatement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPreparedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TpreparedStatement class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TPreparedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
@@ -24,32 +24,33 @@ class TPreparedStatement extends TComponent
private $_parameterNames;
private $_parameterValues;
+ public function __construct()
+ {
+ $this->_parameterNames=new TList;
+ $this->_parameterValues=new TMap;
+ }
+
public function getPreparedSql(){ return $this->_sqlString; }
public function setPreparedSql($value){ $this->_sqlString = $value; }
- public function getParameterNames($needed = true)
- {
- if (!$this->_parameterNames and $needed)
- $this->_parameterNames = new TList;
- return $this->_parameterNames;
- }
-
+ public function getParameterNames(){ return $this->_parameterNames; }
public function setParameterNames($value){ $this->_parameterNames = $value; }
- public function getParameterValues($needed = true)
- {
- if (!$this->_parameterValues and $needed)
- $this->_parameterValues=new TMap;
- return $this->_parameterValues;
- }
-
+ public function getParameterValues(){ return $this->_parameterValues; }
public function setParameterValues($value){ $this->_parameterValues = $value; }
+
+ public function __wakeup()
+ {
+ parent::__wakeup();
+ if (!$this->_parameterNames) $this->_parameterNames = new TList;
+ if (!$this->_parameterValues) $this->_parameterValues = new TMap;
+ }
public function __sleep()
{
$exprops = array(); $cn = __CLASS__;
- if (!$this->_parameterNames or !$this->_parameterNames->getCount()) $exprops[] = "\0$cn\0_parameterNames";
- if (!$this->_parameterValues or !$this->_parameterValues->getCount()) $exprops[] = "\0$cn\0_parameterValues";
+ if (!$this->_parameterNames->getCount()) $exprops[] = "\0$cn\0_parameterNames";
+ if (!$this->_parameterValues->getCount()) $exprops[] = "\0$cn\0_parameterValues";
return array_diff(parent::__sleep(),$exprops);
}
}
diff --git a/framework/Data/SqlMap/Statements/TPreparedStatementFactory.php b/framework/Data/SqlMap/Statements/TPreparedStatementFactory.php
index 7e386e67..5fdd16b5 100644
--- a/framework/Data/SqlMap/Statements/TPreparedStatementFactory.php
+++ b/framework/Data/SqlMap/Statements/TPreparedStatementFactory.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPreparedStatementFactory.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TPreparedStatementFactory class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TPreparedStatementFactory.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TSelectMappedStatement.php b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php
index 8fa87224..b0926c41 100644
--- a/framework/Data/SqlMap/Statements/TSelectMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSelectMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TSelectMappedStatment class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSelectMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php b/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php
index c1446f84..3fce2e3a 100644
--- a/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php
+++ b/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSimpleDynamicSql.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TSimpleDynamicSql class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSimpleDynamicSql.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TStaticSql.php b/framework/Data/SqlMap/Statements/TStaticSql.php
index e097438c..1da6330e 100644
--- a/framework/Data/SqlMap/Statements/TStaticSql.php
+++ b/framework/Data/SqlMap/Statements/TStaticSql.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TStaticSql.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TStaticSql class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TStaticSql.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php
index 4e560bb9..d3c3acc4 100644
--- a/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TUpdateMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
*/
@@ -14,7 +14,7 @@
* TUpdateMappedStatement class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TUpdateMappedStatement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap.Statements
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php
index c96d997b..c6bd4754 100644
--- a/framework/Data/SqlMap/TSqlMapConfig.php
+++ b/framework/Data/SqlMap/TSqlMapConfig.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapConfig.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -18,7 +18,7 @@ Prado::using('System.Data.TDataSourceConfig');
* Database connection and TSqlMapManager configuration.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapConfig.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/TSqlMapGateway.php b/framework/Data/SqlMap/TSqlMapGateway.php
index 505996d9..a0cebd9c 100644
--- a/framework/Data/SqlMap/TSqlMapGateway.php
+++ b/framework/Data/SqlMap/TSqlMapGateway.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapGateway.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -23,7 +23,7 @@ Prado::using('System.Data.SqlMap.TSqlMapManager');
* This class should be instantiated from a TSqlMapManager instance.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapGateway.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/SqlMap/TSqlMapManager.php b/framework/Data/SqlMap/TSqlMapManager.php
index 20a44338..29234920 100644
--- a/framework/Data/SqlMap/TSqlMapManager.php
+++ b/framework/Data/SqlMap/TSqlMapManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSqlMapManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
*/
@@ -37,7 +37,7 @@ Prado::using('System.Caching.TCache');
* </code>
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSqlMapManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data.SqlMap
* @since 3.1
*/
diff --git a/framework/Data/TDataSourceConfig.php b/framework/Data/TDataSourceConfig.php
index cccefd13..aff5f1af 100644
--- a/framework/Data/TDataSourceConfig.php
+++ b/framework/Data/TDataSourceConfig.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataSourceConfig.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
*/
@@ -42,7 +42,7 @@ Prado::using('System.Data.TDbConnection');
* that extends the TDbConnection class.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDataSourceConfig.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
* @since 3.1
*/
diff --git a/framework/Data/TDbCommand.php b/framework/Data/TDbCommand.php
index efdbed05..e80d7704 100644
--- a/framework/Data/TDbCommand.php
+++ b/framework/Data/TDbCommand.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbCommand.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
*/
@@ -32,7 +32,7 @@
* You may also call {@link prepare} to explicitly prepare an SQL statement.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbCommand.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
* @since 3.0
*/
diff --git a/framework/Data/TDbConnection.php b/framework/Data/TDbConnection.php
index 84a8e577..fe04188c 100644
--- a/framework/Data/TDbConnection.php
+++ b/framework/Data/TDbConnection.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbConnection.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
*/
@@ -77,7 +77,7 @@ Prado::using('System.Data.TDbCommand');
* of certain DBMS attributes, such as {@link getNullConversion NullConversion}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbConnection.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
* @since 3.0
*/
@@ -638,7 +638,7 @@ class TDbConnection extends TComponent
* TDbColumnCaseMode
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbConnection.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
* @since 3.0
*/
@@ -662,7 +662,7 @@ class TDbColumnCaseMode extends TEnumerable
* TDbNullConversionMode
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbConnection.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
* @since 3.0
*/
diff --git a/framework/Data/TDbDataReader.php b/framework/Data/TDbDataReader.php
index e3ae16a5..718d355a 100644
--- a/framework/Data/TDbDataReader.php
+++ b/framework/Data/TDbDataReader.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbDataReader.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
*/
@@ -30,7 +30,7 @@
* for more details.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbDataReader.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
* @since 3.0
*/
diff --git a/framework/Data/TDbTransaction.php b/framework/Data/TDbTransaction.php
index 564b61e7..f1be4e0b 100644
--- a/framework/Data/TDbTransaction.php
+++ b/framework/Data/TDbTransaction.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbTransaction.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
*/
@@ -35,7 +35,7 @@ Prado::using('System.Data.TDbDataReader');
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbTransaction.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Data
* @since 3.0
*/
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php
index 6453699e..3c9d8514 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TErrorHandler.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
*/
@@ -45,7 +45,7 @@
* <module id="error" class="TErrorHandler" ErrorTemplatePath="System.Exceptions" />
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TErrorHandler.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
diff --git a/framework/Exceptions/TException.php b/framework/Exceptions/TException.php
index 960c1d87..c4fe62b4 100644
--- a/framework/Exceptions/TException.php
+++ b/framework/Exceptions/TException.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
*/
@@ -28,7 +28,7 @@
* "message.txt" will be used instead.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -132,7 +132,7 @@ class TException extends Exception
* TSystemException is the base class for all framework-level exceptions.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -146,7 +146,7 @@ class TSystemException extends TException
* TApplicationException is the base class for all user application-level exceptions.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -160,7 +160,7 @@ class TApplicationException extends TException
* TInvalidOperationException represents an exception caused by invalid operations.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -174,7 +174,7 @@ class TInvalidOperationException extends TSystemException
* TInvalidDataTypeException represents an exception caused by invalid data type.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -188,7 +188,7 @@ class TInvalidDataTypeException extends TSystemException
* TInvalidDataValueException represents an exception caused by invalid data value.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -203,7 +203,7 @@ class TInvalidDataValueException extends TSystemException
* such as error in an application configuration file or control template file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -217,7 +217,7 @@ class TConfigurationException extends TSystemException
* TTemplateException represents an exception caused by invalid template syntax.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.1
*/
@@ -282,7 +282,7 @@ class TTemplateException extends TConfigurationException
* TIOException represents an exception related with improper IO operations.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -296,7 +296,7 @@ class TIOException extends TSystemException
* TDbException represents an exception related with DB operations.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -310,7 +310,7 @@ class TDbException extends TSystemException
* TDbConnectionException represents an exception caused by DB connection failure.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -324,7 +324,7 @@ class TDbConnectionException extends TDbException
* TNotSupportedException represents an exception caused by using an unsupported PRADO feature.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -339,7 +339,7 @@ class TNotSupportedException extends TSystemException
* This exception is mainly thrown within a PHP error handler.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
@@ -382,7 +382,7 @@ class TPhpErrorException extends TSystemException
* It is used by {@link TErrorHandler} to provide different error output to users.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TException.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Exceptions
* @since 3.0
*/
diff --git a/framework/Exceptions/messages/messages.txt b/framework/Exceptions/messages/messages.txt
index 536996f2..69fd89fc 100644
--- a/framework/Exceptions/messages/messages.txt
+++ b/framework/Exceptions/messages/messages.txt
@@ -8,14 +8,9 @@ prado_aliasname_invalid = Alias '{0}' contains invalid character '.'.
component_property_undefined = Component property '{0}.{1}' is not defined.
component_property_readonly = Component property '{0}.{1}' is read-only.
component_event_undefined = Component event '{0}.{1}' is not defined.
-component_method_undefined = Component method '{0}.{1}' is not defined.
component_eventhandler_invalid = Component event '{0}.{1}' is attached with an invalid event handler '{2}'.
component_expression_invalid = Component '{0}' is evaluating an invalid expression '{1}' : {2}.
component_statements_invalid = Component '{0}' is evaluating invalid PHP statements '{1}' : {2}.
-component_class_behavior_defined = Component '{0}' already has a class behavior of '{1}'.
-component_not_a_behavior = Component '{0}' is being added as behavior is not a TBaseBehavior.
-component_no_tcomponent_class_behaviors = TComponent cannot have class behaviors attached due to recursion.
-component_no_class_provided_nor_late_binding = Adding or Removing Class Behaviors must have PHP feature Late Static Binding or a class provided as a parameter
propertyvalue_enumvalue_invalid = Value '{0}' is a not valid enumeration value ({1}).
diff --git a/framework/I18N/TChoiceFormat.php b/framework/I18N/TChoiceFormat.php
index edf33680..ad9a4500 100644
--- a/framework/I18N/TChoiceFormat.php
+++ b/framework/I18N/TChoiceFormat.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TChoiceFormat.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/TDateFormat.php b/framework/I18N/TDateFormat.php
index 496f1bc5..544e4973 100644
--- a/framework/I18N/TDateFormat.php
+++ b/framework/I18N/TDateFormat.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDateFormat.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php
index a7f9163e..6638af22 100644
--- a/framework/I18N/TGlobalization.php
+++ b/framework/I18N/TGlobalization.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TGlobalization.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/TI18NControl.php b/framework/I18N/TI18NControl.php
index 5b21881a..97a7268a 100644
--- a/framework/I18N/TI18NControl.php
+++ b/framework/I18N/TI18NControl.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TI18NControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/TNumberFormat.php b/framework/I18N/TNumberFormat.php
index 133aabaa..27c124f7 100644
--- a/framework/I18N/TNumberFormat.php
+++ b/framework/I18N/TNumberFormat.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TNumberFormat.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/TTranslate.php b/framework/I18N/TTranslate.php
index 86ac6729..3382f925 100644
--- a/framework/I18N/TTranslate.php
+++ b/framework/I18N/TTranslate.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTranslate.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/TTranslateParameter.php b/framework/I18N/TTranslateParameter.php
index fbad8071..b461a36a 100644
--- a/framework/I18N/TTranslateParameter.php
+++ b/framework/I18N/TTranslateParameter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTranslateParameter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/Translation.php b/framework/I18N/Translation.php
index aec6d4a0..5219e132 100644
--- a/framework/I18N/Translation.php
+++ b/framework/I18N/Translation.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: Translation.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.I18N
*/
diff --git a/framework/I18N/core/CultureInfo.php b/framework/I18N/core/CultureInfo.php
index 799ccdb4..c22ed5c4 100644
--- a/framework/I18N/core/CultureInfo.php
+++ b/framework/I18N/core/CultureInfo.php
@@ -13,7 +13,7 @@
* {@link http://prado.sourceforge.net/}
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: CultureInfo.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.I18N.core
*/
@@ -44,7 +44,7 @@
* For example, Australian English is "en_AU".
*
* @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: CultureInfo.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package System.I18N.core
*/
class CultureInfo
diff --git a/framework/I18N/core/Gettext/MO.php b/framework/I18N/core/Gettext/MO.php
index 4b34034e..3e84ef2e 100644
--- a/framework/I18N/core/Gettext/MO.php
+++ b/framework/I18N/core/Gettext/MO.php
@@ -29,7 +29,7 @@
// | Copyright (c) 2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
//
-// $Id$
+// $Id: MO.php 3187 2012-07-12 11:21:01Z ctrlaltca $
/**
* File::Gettext::MO
diff --git a/framework/I18N/core/Gettext/PO.php b/framework/I18N/core/Gettext/PO.php
index 57028f6d..950a5de3 100644
--- a/framework/I18N/core/Gettext/PO.php
+++ b/framework/I18N/core/Gettext/PO.php
@@ -28,7 +28,7 @@
// | Copyright (c) 2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
//
-// $Id$
+// $Id: PO.php 3187 2012-07-12 11:21:01Z ctrlaltca $
/**
* File::Gettext::PO
diff --git a/framework/I18N/core/Gettext/TGettext.php b/framework/I18N/core/Gettext/TGettext.php
index 4ca7fadb..abf32392 100644
--- a/framework/I18N/core/Gettext/TGettext.php
+++ b/framework/I18N/core/Gettext/TGettext.php
@@ -28,7 +28,7 @@
// | Copyright (c) 2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
//
-// $Id$
+// $Id: TGettext.php 3187 2012-07-12 11:21:01Z ctrlaltca $
/**
* File::Gettext
diff --git a/framework/I18N/core/MessageCache.php b/framework/I18N/core/MessageCache.php
index e721a332..3bd21704 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$
+ * @version $Id: MessageCache.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @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$
+ * @version $Id: MessageCache.php 3188 2012-07-12 12:13:23Z ctrlaltca $
*/
class MessageCache
{
diff --git a/framework/I18N/core/NumberFormat.php b/framework/I18N/core/NumberFormat.php
index 3c733713..25af6846 100644
--- a/framework/I18N/core/NumberFormat.php
+++ b/framework/I18N/core/NumberFormat.php
@@ -118,11 +118,9 @@ class NumberFormat
$this->setPattern($pattern);
if(strtolower($pattern) == 'p')
- $number = $number * 100;
+ $number = $number * 100.0;
- $string = (string)$number;
-
- $decimal = $this->formatDecimal($string);
+ $decimal = $this->formatDecimal($number);
$integer = $this->formatInteger(abs($number));
if(strlen($decimal)>0)
@@ -157,17 +155,17 @@ class NumberFormat
* @param string the decimal number in string form.
* @return string formatted integer string with grouping
*/
- protected function formatInteger($string)
+ protected function formatInteger($number)
{
- $string = (string)$string;
-
$decimalDigits = $this->formatInfo->DecimalDigits;
+ $string = (string)intval(round($number,$decimalDigits));
+
//if not decimal digits, assume 0 decimal points.
- if(is_int($decimalDigits) && $decimalDigits > 0)
- $string = (string)round(floatval($string),$decimalDigits);
- $dp = strpos($string, '.');
- if(is_int($dp))
- $string = substr($string, 0, $dp);
+ //if(is_int($decimalDigits) && $decimalDigits > 0)
+ // $string = (string)round(floatval($string),$decimalDigits);
+ //$dp = strpos($string, '.');
+ //if(is_int($dp))
+ // $string = substr($string, 0, $dp);
$integer = '';
$digitSize = $this->formatInfo->getDigitSize();
@@ -230,43 +228,23 @@ class NumberFormat
* @param string the decimal number in string form.
* @return string formatted decimal places.
*/
- protected function formatDecimal($string)
+ protected function formatDecimal($number)
{
- $dp = strpos($string, '.');
- $decimal = '';
-
$decimalDigits = $this->formatInfo->DecimalDigits;
$decimalSeparator = $this->formatInfo->DecimalSeparator;
+ $decimal = '';
- //do the correct rounding here
- //$string = round(floatval($string), $decimalDigits);
- if(is_int($dp))
- {
- if($decimalDigits == -1)
- {
- $decimal = substr($string, $dp+1);
- }
- else if(is_int($decimalDigits))
- {
- $float = round((float)$string, $decimalDigits);
- if(strpos((string)$float, '.') === false)
- {
- $decimal = str_pad($decimal,$decimalDigits,'0');
- }
- else
- {
- $decimal = substr($float, strpos($float,'.')+1);
- if(strlen($decimal)<$decimalDigits)
- $decimal = str_pad($decimal,$decimalDigits,'0');
- }
- }
- else
- return $decimal;
+ if ($decimalDigits > 0) {
+ //do the correct rounding here
+ $number = round(floatval($number), $decimalDigits);
+ $decimal = substr((string)$number,strlen((string)intval($number))+1 );
+ $decimal = $decimalSeparator.str_pad($decimal,$decimalDigits,'0',STR_PAD_RIGHT);
+
+ } elseif($decimalDigits == -1) {
+ $decimal = $decimalSeparator.substr((string)$number,strlen((string)intval($number))+1 );
+ } elseif($decimalDigits == false)
+ $decimal = $decimalSeparator.substr((string)$number,strlen((string)intval($number))+1 );
- return $decimalSeparator.$decimal;
- }
- else if ($decimalDigits > 0)
- return $decimalSeparator.str_pad($decimal,$decimalDigits,'0');
return $decimal;
}
diff --git a/framework/I18N/core/TCache_Lite.php b/framework/I18N/core/TCache_Lite.php
index bd4964ad..a0629bd1 100644
--- a/framework/I18N/core/TCache_Lite.php
+++ b/framework/I18N/core/TCache_Lite.php
@@ -38,7 +38,7 @@
* Mike BENOIT <ipso@snappymail.ca>
*
* @package System.I18N.core
-* @version $Id$
+* @version $Id: TCache_Lite.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @author Fabien MARTY <fab@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL
diff --git a/framework/I18N/core/data/fr_CA.dat b/framework/I18N/core/data/fr_CA.dat
index 855fe7a6..fb152bf0 100644
--- a/framework/I18N/core/data/fr_CA.dat
+++ b/framework/I18N/core/data/fr_CA.dat
@@ -1 +1 @@
-a:4:{s:10:"Currencies";a:2:{s:3:"CAD";a:2:{i:0;s:1:"$";i:1;s:15:"dollar canadien";}s:3:"USD";a:2:{i:0;s:4:"$ US";i:1;s:22:"dollar des États-Unis";}}s:14:"NumberPatterns";a:4:{i:0;s:20:"#,##0.###;-#,##0.###";i:1;s:24:"#,##0.00 ¤;(#,##0.00¤)";i:2;s:6:"#,##0%";i:3;s:3:"#E0";}s:7:"Version";a:1:{i:0;s:3:"1.2";}s:8:"calendar";a:1:{s:9:"gregorian";a:3:{s:26:"DateTimeElements:intvector";a:2:{i:0;i:1;i:1;i:4;}s:16:"DateTimePatterns";a:9:{i:0;s:24:"HH' h 'mm' min 'ss' s 'z";i:1;s:10:"HH:mm:ss z";i:2;s:8:"HH:mm:ss";i:3;s:5:"HH:mm";i:4;s:16:"EEEE d MMMM yyyy";i:5;s:11:"d MMMM yyyy";i:6;s:10:"yyyy-MM-dd";i:7;s:8:"yy-MM-dd";i:8;s:7:"{1} {0}";}s:17:"weekend:intvector";a:4:{i:0;i:7;i:1;i:0;i:2;i:1;i:3;i:86400000;}}}} \ No newline at end of file
+a:4:{s:10:"Currencies";a:2:{s:3:"CAD";a:2:{i:0;s:1:"$";i:1;s:15:"dollar canadien";}s:3:"USD";a:2:{i:0;s:4:"$ US";i:1;s:22:"dollar des États-Unis";}}s:14:"NumberPatterns";a:4:{i:0;s:20:"#,##0.###;-#,##0.###";i:1;s:24:"#,##0.00 ¤;(#,##0.00¤)";i:2;s:6:"#,##0%";i:3;s:3:"#E0";}s:7:"Version";a:1:{i:0;s:3:"1.2";}s:8:"calendar";a:1:{s:9:"gregorian";a:3:{s:26:"DateTimeElements:intvector";a:2:{i:0;i:1;i:1;i:4;}s:16:"DateTimePatterns";a:9:{i:0;s:24:"HH' h 'mm' min 'ss' s 'z";i:1;s:10:"HH:mm:ss z";i:2;s:8:"HH:mm:ss";i:3;s:5:"HH:mm";i:4;s:16:"EEEE d MMMM yyyy";i:5;s:11:"d MMMM yyyy";i:6;s:8:"yy-MM-dd";i:7;s:8:"yy-MM-dd";i:8;s:7:"{1} {0}";}s:17:"weekend:intvector";a:4:{i:0;i:7;i:1;i:0;i:2;i:1;i:3;i:86400000;}}}} \ No newline at end of file
diff --git a/framework/I18N/core/data/it_IT.dat b/framework/I18N/core/data/it_IT.dat
index 2545451b..738a8455 100644
--- a/framework/I18N/core/data/it_IT.dat
+++ b/framework/I18N/core/data/it_IT.dat
@@ -1 +1 @@
-a:3:{s:10:"Currencies";a:1:{s:3:"ITL";a:3:{i:0;s:3:"₤";i:1;s:13:"Lira Italiana";i:2;a:3:{i:0;s:18:"¤ #,##0;-¤ #,##0";i:1;s:1:",";i:2;s:1:".";}}}s:7:"Version";a:1:{i:0;s:3:"1.2";}s:8:"calendar";a:1:{s:9:"gregorian";a:1:{s:16:"DateTimePatterns";a:9:{i:0;s:10:"HH:mm:ss z";i:1;s:9:"H:mm:ss z";i:2;s:8:"HH:mm:ss";i:3;s:5:"HH:mm";i:4;s:16:"EEEE d MMMM yyyy";i:5;s:12:"dd MMMM yyyy";i:6;s:9:"dd/MMM/yy";i:7;s:8:"dd/MM/yy";i:8;s:7:"{1} {0}";}}}} \ No newline at end of file
+a:3:{s:10:"Currencies";a:1:{s:3:"ITL";a:3:{i:0;s:3:"₤";i:1;s:13:"Lira Italiana";i:2;a:3:{i:0;s:18:"¤ #,##0;-¤ #,##0";i:1;s:1:",";i:2;s:1:".";}}}s:7:"Version";a:1:{i:0;s:3:"1.2";}s:8:"calendar";a:1:{s:9:"gregorian";a:1:{s:16:"DateTimePatterns";a:9:{i:0;s:10:"HH:mm:ss z";i:1;s:9:"H:mm:ss z";i:2;s:8:"HH:mm:ss";i:3;s:5:"HH:mm";i:4;s:16:"EEEE d MMMM yyyy";i:5;s:12:"dd MMMM yyyy";i:6;s:9:"dd/MMM/yy";i:7;s:10:"dd/MM/yyyy";i:8;s:7:"{1} {0}";}}}} \ No newline at end of file
diff --git a/framework/IO/TTarFileExtractor.php b/framework/IO/TTarFileExtractor.php
index 7631200f..ca67320d 100644
--- a/framework/IO/TTarFileExtractor.php
+++ b/framework/IO/TTarFileExtractor.php
@@ -4,7 +4,7 @@
*
* @author Vincent Blavet <vincent@phpconcept.net>
* @copyright Copyright &copy; 1997-2003 The PHP Group
- * @version $Id$
+ * @version $Id: TTarFileExtractor.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @package System.IO
*/
@@ -25,13 +25,13 @@
// | Author: Vincent Blavet <vincent@phpconcept.net> |
// +----------------------------------------------------------------------+
//
-// $Id$
+// $Id: TTarFileExtractor.php 3188 2012-07-12 12:13:23Z ctrlaltca $
/**
* TTarFileExtractor class
*
* @author Vincent Blavet <vincent@phpconcept.net>
- * @version $Id$
+ * @version $Id: TTarFileExtractor.php 3188 2012-07-12 12:13:23Z ctrlaltca $
* @package System.IO
* @since 3.0
*/
diff --git a/framework/IO/TTextWriter.php b/framework/IO/TTextWriter.php
index 77afe0a2..f5930a73 100644
--- a/framework/IO/TTextWriter.php
+++ b/framework/IO/TTextWriter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTextWriter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.IO
*/
@@ -18,7 +18,7 @@
* and can be obtained by calling {@link flush()}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTextWriter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.IO
* @since 3.0
*/
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index dda60331..9f20eb36 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -9,7 +9,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: PradoBase.php 3246 2013-01-07 21:07:38Z ctrlaltca $
* @package System
*/
@@ -34,7 +34,7 @@ if(!defined('PRADO_CHMOD'))
* rewritten for customization.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: PradoBase.php 3246 2013-01-07 21:07:38Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -71,7 +71,7 @@ class PradoBase
*/
public static function getVersion()
{
- return '3.2.0';
+ return '3.2.1';
}
/**
diff --git a/framework/Security/IUserManager.php b/framework/Security/IUserManager.php
index bbe55a4e..390189cb 100644
--- a/framework/Security/IUserManager.php
+++ b/framework/Security/IUserManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: IUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
*/
@@ -18,7 +18,7 @@
* and {@link TUser}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: IUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0
*/
diff --git a/framework/Security/TAuthManager.php b/framework/Security/TAuthManager.php
index 1d499737..e30b0bcb 100644
--- a/framework/Security/TAuthManager.php
+++ b/framework/Security/TAuthManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TAuthManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
*/
@@ -37,7 +37,7 @@ Prado::using('System.Security.IUserManager');
* <module id="users" class="System.Security.TUserManager" />
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TAuthManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0
*/
diff --git a/framework/Security/TAuthorizationRule.php b/framework/Security/TAuthorizationRule.php
index 7013c2d2..cae28bfb 100644
--- a/framework/Security/TAuthorizationRule.php
+++ b/framework/Security/TAuthorizationRule.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TAuthorizationRule.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
*/
/**
@@ -25,7 +25,7 @@
* IP rules are separated by comma ',' and can contain wild card in the rules (e.g. '192.132.23.33, 192.122.*.*')
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TAuthorizationRule.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0
*/
@@ -249,7 +249,7 @@ class TAuthorizationRule extends TComponent
* To check if a user is allowed, call {@link isUserAllowed}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TAuthorizationRule.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0
*/
diff --git a/framework/Security/TDbUserManager.php b/framework/Security/TDbUserManager.php
index 8e8b1f8f..aabd6e5c 100644
--- a/framework/Security/TDbUserManager.php
+++ b/framework/Security/TDbUserManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDbUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
*/
@@ -44,7 +44,7 @@ Prado::using('System.Security.TUser');
* which specifies how to establish database connection to retrieve user information.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.1.0
*/
@@ -216,7 +216,7 @@ class TDbUserManager extends TModule implements IUserManager
* - {@link createUser()}: creates a new user instance given the username
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDbUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.1.0
*/
diff --git a/framework/Security/TSecurityManager.php b/framework/Security/TSecurityManager.php
index 6b364170..b5267db1 100644
--- a/framework/Security/TSecurityManager.php
+++ b/framework/Security/TSecurityManager.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSecurityManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
*/
@@ -36,7 +36,7 @@
* Note, to use encryption, the PHP Mcrypt extension must be loaded.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TSecurityManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0
*/
@@ -354,7 +354,7 @@ class TSecurityManager extends TModule
* - SHA1: an SHA1 hash is generated from the data and used for validation.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TSecurityManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0.4
*/
diff --git a/framework/Security/TUser.php b/framework/Security/TUser.php
index 60f0a270..3a7a3fa0 100644
--- a/framework/Security/TUser.php
+++ b/framework/Security/TUser.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TUser.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TUser.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0
*/
diff --git a/framework/Security/TUserManager.php b/framework/Security/TUserManager.php
index dd395ece..5cb716dd 100644
--- a/framework/Security/TUserManager.php
+++ b/framework/Security/TUserManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
*/
@@ -64,7 +64,7 @@ Prado::using('System.Security.TUser');
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carl Mathisen <carl@kamikazemedia.no>
- * @version $Id$
+ * @version $Id: TUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0
*/
@@ -389,7 +389,7 @@ class TUserManager extends TModule implements IUserManager
* - SHA1: the password is recorded as the SHA1 hash value of the original password
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TUserManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Security
* @since 3.0.4
*/
diff --git a/framework/TApplication.php b/framework/TApplication.php
index c1787b8f..6a404bcc 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TApplication.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -24,8 +24,8 @@ Prado::using('System.TService');
Prado::using('System.Exceptions.TErrorHandler');
Prado::using('System.Caching.TCache');
Prado::using('System.IO.TTextWriter');
-Prado::using('System.Collections.TPriorityList');
-Prado::using('System.Collections.TPriorityMap');
+Prado::using('System.Collections.TList');
+Prado::using('System.Collections.TMap');
Prado::using('System.Collections.TStack');
Prado::using('System.Xml.TXmlDocument');
Prado::using('System.Security.TAuthorizationRule');
@@ -105,7 +105,7 @@ Prado::using('System.I18N.TGlobalization');
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TApplication.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -205,14 +205,10 @@ class TApplication extends TComponent
*/
private $_service;
/**
- * @var array list of loaded application modules
+ * @var array list of application modules
*/
private $_modules=array();
/**
- * @var array list of application modules yet to be loaded
- */
- private $_lazyModules=array();
- /**
* @var TMap list of application parameters
*/
private $_parameters;
@@ -689,9 +685,9 @@ class TApplication extends TComponent
* Adds a module to application.
* Note, this method does not do module initialization.
* @param string ID of the module
- * @param IModule module object or null if the module has not been loaded yet
+ * @param IModule module object
*/
- public function setModule($id,IModule $module=null)
+ public function setModule($id,IModule $module)
{
if(isset($this->_modules[$id]))
throw new TConfigurationException('application_moduleid_duplicated',$id);
@@ -704,22 +700,10 @@ class TApplication extends TComponent
*/
public function getModule($id)
{
- if(!array_key_exists($id, $this->_modules))
- return null;
-
- // force loading of a lazy module
- if($this->_modules[$id]===null)
- {
- $module = $this->internalLoadModule($id, true);
- $module[0]->init($module[1]);
- }
-
- return $this->_modules[$id];
+ return isset($this->_modules[$id])?$this->_modules[$id]:null;
}
/**
- * Returns a list of application modules indexed by module IDs.
- * Modules that have not been loaded yet are returned as null objects.
* @return array list of loaded application modules, indexed by module IDs
*/
public function getModules()
@@ -954,28 +938,6 @@ class TApplication extends TComponent
return 'TApplicationConfiguration';
}
- protected function internalLoadModule($id, $force=false)
- {
- list($moduleClass, $initProperties, $configElement)=$this->_lazyModules[$id];
- if(isset($initProperties['lazy']) && $initProperties['lazy'] && !$force)
- {
- Prado::trace("Postponed loading of lazy module $id ({$moduleClass})",'System.TApplication');
- $this->setModule($id, null);
- return null;
- }
-
- Prado::trace("Loading module $id ({$moduleClass})",'System.TApplication');
- $module=Prado::createComponent($moduleClass);
- foreach($initProperties as $name=>$value)
- {
- if($name==='lazy') continue;
- $module->setSubProperty($name,$value);
- }
- $this->setModule($id,$module);
- unset($this->_lazyModules[$id]);
-
- return array($module,$configElement);
- }
/**
* Applies an application configuration.
* @param TApplicationConfiguration the configuration
@@ -1020,11 +982,18 @@ class TApplication extends TComponent
$modules=array();
foreach($config->getModules() as $id=>$moduleConfig)
{
+ Prado::trace("Loading module $id ({$moduleConfig[0]})",'System.TApplication');
+ list($moduleClass, $initProperties, $configElement)=$moduleConfig;
+ $module=Prado::createComponent($moduleClass);
if(!is_string($id))
- $id='_module'.count($this->_lazyModules);
- $this->_lazyModules[$id]=$moduleConfig;
- if($module = $this->internalLoadModule($id))
- $modules[]=$module;
+ {
+ $id='_module'.count($this->_modules);
+ $initProperties['id']=$id;
+ }
+ $this->setModule($id,$module);
+ foreach($initProperties as $name=>$value)
+ $module->setSubProperty($name,$value);
+ $modules[]=array($module,$configElement);
}
foreach($modules as $module)
$module[0]->init($module[1]);
@@ -1279,7 +1248,7 @@ class TApplication extends TComponent
* - Normal: the application is running in normal production mode.
* - Performance: the application is running in performance mode.
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TApplication.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0.4
*/
@@ -1299,7 +1268,7 @@ class TApplicationMode extends TEnumerable
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
- * @version $Id$
+ * @version $Id: TApplication.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -1808,7 +1777,7 @@ class TApplicationConfiguration extends TComponent
* Cache will be exploited if it is enabled.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TApplication.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
diff --git a/framework/TApplicationComponent.php b/framework/TApplicationComponent.php
index 18cc2165..08f86e2d 100644
--- a/framework/TApplicationComponent.php
+++ b/framework/TApplicationComponent.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TApplicationComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -28,7 +28,7 @@
* publishing private files: {@link publishAsset} and {@link publishFilePath}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TApplicationComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
diff --git a/framework/TComponent.php b/framework/TComponent.php
index 8298f694..9dcd3c5b 100644
--- a/framework/TComponent.php
+++ b/framework/TComponent.php
@@ -1,15 +1,12 @@
<?php
/**
* TComponent, TPropertyValue classes
+ *
* @author Qiang Xue <qiang.xue@gmail.com>
- *
- * Global Events, intra-object events, Class behaviors, expanded behaviors
- * @author Brad Anderson <javalizard@mac.com>
- *
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -17,8 +14,7 @@
* TComponent class
*
* TComponent is the base class for all PRADO components.
- * TComponent implements the protocol of defining, using properties, behaviors,
- * and events.
+ * TComponent implements the protocol of defining, using properties and events.
*
* A property is defined by a getter method, and/or a setter method.
* Properties can be accessed in the way like accessing normal object members.
@@ -39,8 +35,6 @@
* in the format of concatenated words, with the first letter of each word
* capitalized (e.g. DisplayMode, ItemStyle).
*
- * Javascript Get and Set
- *
* Since Prado 3.2 a new class of javascript-friendly properties have been introduced
* to better deal with potential security problems like cross-site scripting issues.
* All the data that gets sent clientside inside a javascript block is now encoded by default.
@@ -66,8 +60,6 @@
* statement and will not be encoded when rendered inside a javascript block.
* This special handling makes use of the {@link TJavaScriptLiteral} class.
*
- * Events
- *
* An event is defined by the presence of a method whose name starts with 'on'.
* The event name is the method name and is thus case-insensitive.
* An event can be attached with one or several methods (called event handlers).
@@ -82,7 +74,6 @@
* To raise an event (assuming named as 'Click') of a component, use
* <code>
* $component->raiseEvent('OnClick');
- * $component->raiseEvent('OnClick', $this, $param);
* </code>
* To attach an event handler to an event, use one of the following ways,
* <code>
@@ -90,7 +81,7 @@
* $component->attachEventHandler('OnClick',$callback);
* </code>
* The first two ways make use of the fact that $component->OnClick refers to
- * the event handler list {@link TPriorityList} for the 'OnClick' event.
+ * the event handler list {@link TList} for the 'OnClick' event.
* The variable $callback contains the definition of the event handler that can
* be either a string referring to a global function name, or an array whose
* first element refers to an object and second element a method name/path that
@@ -99,185 +90,9 @@
* - array($object,'buttonClicked') : $object->buttonClicked($sender,$param);
* - array($object,'MainContent.SubmitButton.buttonClicked') :
* $object->MainContent->SubmitButton->buttonClicked($sender,$param);
- *
- * @author Qiang Xue <qiang.xue@gmail.com>
- *
- * With the addition of behaviors, a more expansive event model is needed. There
- * are two new event types (global and dynamic events) as well as a more comprehensive
- * behavior model that includes class wide behaviors.
- *
- * A global event is defined by all events whose name starts with 'fx'.
- * The event name is potentially a method name and is thus case-insensitive. All 'fx' events
- * are valid as the whole 'fx' event/method space is global in nature. Any object may patch into
- * any global event by defining that event as a method. Global events have priorities
- * just like 'on' events; so as to be able to order the event execution. Due to the
- * nature of all events which start with 'fx' being valid, in effect, every object
- * has every 'fx' global event. It is simply an issue of tapping into the desired
- * global event.
- *
- * A global event that starts with 'fx' can be called even if the object does not
- * implement the method of the global event. A call to a non-existing 'fx' method
- * will, at minimal, function and return null. If a method argument list has a first
- * parameter, it will be returned instead of null. This allows filtering and chaining.
- * 'fx' methods do not automatically install and uninstall. To install and uninstall an
- * object's global event listeners, call the object's {@link listen} and
- * {@link unlisten} methods, respectively. An object may auto-install its global event
- * during {@link __construct} by overriding {@link getAutoGlobalListen} and returning true.
- *
- * As of PHP version 5.3, nulled objects without code references will still continue to persist
- * in the global event queue because {@link __destruct} is not automatically called. In the common
- * __destruct method, if an object is listening to global events, then {@link unlisten} is called.
- * {@link unlisten} is required to be manually called before an object is
- * left without references if it is currently listening to any global events. This includes
- * class wide behaviors.
- *
- * An object that contains a method that starts with 'fx' will have those functions
- * automatically receive those events of the same name after {@link listen} is called on the object.
- *
- * An object may listen to a global event without defining an 'fx' method of the same name by
- * adding an object method to the global event list. For example
- * <code>
- * $component->fxGlobalCheck=$callback; // or $component->OnClick->add($callback);
- * $component->attachEventHandler('fxGlobalCheck',array($object, 'someMethod'));
- * </code>
- *
- * Events between Objects and their behaviors, Dynamic Events
- *
- * An intra-object/behavior event is defined by methods that start with 'dy'. Just as with
- * 'fx' global events, every object has every dynamic event. Any call to a method that
- * starts with 'dy' will be handled, regardless of whether it is implemented. These
- * events are for communicating with attached behaviors.
- *
- * Dynamic events can be used in a variety of ways. They can be used to tell behaviors
- * when a non-behavior method is called. Dynamic events could be used as data filters.
- * They could also be used to specify when a piece of code is to be run, eg. should the
- * loop process be performed on a particular piece of data. In this way, some control
- * is handed to the behaviors over the process and/or data.
- *
- * If there are no handlers for an 'fx' or 'dy' event, it will return the first
- * parameter of the argument list. If there are no arguments, these events
- * will return null. If there are handlers an 'fx' method will be called directly
- * within the object. Global 'fx' events are triggered by calling {@link raiseEvent}.
- * For dynamic events where there are behaviors that respond to the dynamic events, a
- * {@link TCallChain} is developed. A call chain allows the behavior dynamic event
- * implementations to call further implementing behaviors within a chain.
- *
- * If an object implements {@link IDynamicMethods}, all global and object dynamic
- * events will be sent to {@link __dycall}. In the case of global events, all
- * global events will trigger this method. In the case of behaviors, all undefined
- * dynamic events which are called will be passed through to this method.
- *
- *
- * Behaviors
- *
- * There are two types of behaviors. There are individual object behaviors and
- * there are class wide behaviors. Class behaviors depend upon object behaviors.
- *
- * When a new class implements {@link IBehavior} or {@link IClassBehavior} or
- * extends {@link TBehavior} or {@link TClassBehavior}, it may be added to an
- * object by calling the object's {@link attachBehavior}. The behaviors associated
- * name can then be used to {@link enableBehavior} or {@link disableBehavior}
- * the specific behavior.
- *
- * All behaviors may be turned on and off via {@link enableBehaviors} and
- * {@link disableBehaviors}, respectively. To check if behaviors are on or off
- * a call to {@link getBehaviorsEnabled} will provide the variable.
- *
- * Attaching and detaching whole sets of behaviors is done using
- * {@link attachBehaviors} and {@link detachBehaviors}. {@link clearBehaviors}
- * removes all of an object's behaviors.
- *
- * {@link asa} returns a behavior of a specific name. {@link isa} is the
- * behavior inclusive function that acts as the PHP operator {@link instanceof}.
- * A behavior could provide the functionality of a specific class thus causing
- * the host object to act similarly to a completely different class. A behavior
- * would then implement {@link IInstanceCheck} to provide the identity of the
- * different class.
- *
- * Class behaviors are similar to object behaviors except that the class behavior
- * is the implementation for all instances of the class. A class behavior
- * will have the object upon which is being called be prepended to the parameter
- * list. This way the object is known across the class behavior implementation.
- *
- * Class behaviors are attached using {@link attachClassBehavior} and detached
- * using {@link detachClassBehavior}. Class behaviors are important in that
- * they will be applied to all new instances of a particular class. In this way
- * class behaviors become default behaviors to a new instances of a class in
- * {@link __construct}. Detaching a class behavior will remove the behavior
- * from the default set of behaviors created for an object when the object
- * is instanced.
- *
- * Class behaviors are also added to all existing instances via the global 'fx'
- * event mechanism. When a new class behavior is added, the event
- * {@link fxAttachClassBehavior} is raised and all existing instances that are
- * listening to this global event (primarily after {@link listen} is called)
- * will have this new behavior attached. A similar process is used when
- * detaching class behaviors. Any objects listening to the global 'fx' event
- * {@link fxDetachClassBehavior} will have a class behavior removed.
- *
- * Dynamic Intra-Object Events
- *
- * Dynamic events start with 'dy'. This mechanism is used to allow objects
- * to communicate with their behaviors directly. The entire 'dy' event space
- * is valid. All attached, enabled behaviors that implement a dynamic event
- * are called when the host object calls the dynamic event. If there is no
- * implementation or behaviors, this returns null when no parameters are
- * supplied and will return the first parameter when there is at least one
- * parameter in the dynamic event.
- * <code>
- * null == $this->dyBehaviorEvent();
- * 5 == $this->dyBehaviorEvent(5); //when no behaviors implement this dynamic event
- * </code>
- *
- * Dynamic events can be chained together within behaviors to allow for data
- * filtering. Dynamic events are implemented within behaviors by defining the
- * event as a method.
- * <code>
- * class TObjectBehavior extends TBehavior {
- * public function dyBehaviorEvent($param1, $callchain) {
- * //Do something, eg: $param1 += 13;
- * return $callchain->dyBehaviorEvent($param1);
- * }
- * }
- * </code>
- * This implementation of a behavior and dynamic event will flow through to the
- * next behavior implementing the dynamic event. The first parameter is always
- * return when it is supplied. Otherwise a dynamic event returns null.
- *
- * In the case of a class behavior, the object is also prepended to the dynamic
- * event.
- * <code>
- * class TObjectClassBehavior extends TClassBehavior {
- * public function dyBehaviorEvent($hostobject, $param1, $callchain) {
- * //Do something, eg: $param1 += $hostobject->getNumber();
- * return $callchain->dyBehaviorEvent($param1);
- * }
- * }
- * </code>
- * When calling a dynamic event, only the parameters are passed. The host object
- * and the call chain are built into the framework.
- *
- * Global Event and Dynamic event catching
*
- * Given that all global 'fx' events and dynamic 'dy' events are valid and
- * operational, there is a mechanism for catching events called that are not
- * implemented (similar to the built-in PHP method {@link __call}). When
- * a dynamic or global event is called but a behavior does not implement it,
- * yet desires to know when an undefined dynamic event is run, the behavior
- * implements the interface {@link IDynamicMethods} and method {@link __dycall}.
- *
- * In the case of dynamic events, {@link __dycall} is supplied with the method
- * name and its parameters. When a global event is raised, via {@link raiseEvent},
- * the method is the event name and the parameters are supplied.
- *
- * When implemented, this catch-all mechanism is called for event global event event
- * when implemented outside of a behavior. Within a behavior, it will also be called
- * when the object to which the behavior is attached calls any unimplemented dynamic
- * event. This is the fall-back mechanism for informing a class and/or behavior
- * of when an global and/or undefined dynamic event is executed.
- *
- * @author Brad Anderson <javalizard@mac.com>
- * @version $Id$
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -287,279 +102,6 @@ class TComponent
* @var array event handler lists
*/
private $_e=array();
-
- /**
- * @var boolean if listening is enabled. Automatically turned on or off in
- * constructor according to {@link getAutoGlobalListen}. Default false, off
- */
- private $_listeningenabled=false;
-
- /**
- * @var array static registered global event handler lists
- */
- private static $_ue=array();
-
- /**
- * @var boolean if object behaviors are on or off. default true, on
- */
- private $_behaviorsenabled=true;
-
- /**
- * @var TPriorityMap list of object behaviors
- */
- private $_m=null;
-
- /**
- * @var array static global class behaviors, these behaviors are added upon instantiation of a class
- */
- private static $_um=array();
-
-
- /**
- * @const string the name of the global {@link raiseEvent} listener
- */
- const GLOBAL_RAISE_EVENT_LISTENER='fxGlobalListener';
-
-
- /**
- * The common __construct
- * If desired by the new object, this will auto install and listen to global event functions
- * as defined by the object via 'fx' methods. This also attaches any predefined behaviors.
- * This function installs all class behaviors in a class hierarchy from the deepest subclass
- * through each parent to the top most class, TComponent.
- */
- public function __construct() {
- if($this->getAutoGlobalListen())
- $this->listen();
-
- $classes=array_reverse($this->getClassHierarchy(true));
- foreach($classes as $class) {
- if(isset(self::$_um[$class]))
- $this->attachBehaviors(self::$_um[$class]);
- }
- }
-
-
- /**
- * Tells TComponent whether or not to automatically listen to global events.
- * Defaults to false because PHP variable cleanup is affected if this is true.
- * When unsetting a variable that is listening to global events, {@link unlisten}
- * must explicitly be called when cleaning variables allocation or else the global
- * event registry will contain references to the old object. This is true for PHP 5.4
- *
- * Override this method by a subclass to change the setting. When set to true, this
- * will enable {@link __construct} to call {@link listen}.
- *
- * @return boolean whether or not to auto listen to global events during {@link __construct}, default false
- */
- public function getAutoGlobalListen() {
- return false;
- }
-
-
- /**
- * The common __destruct
- * This unlistens from the global event routines if listening
- *
- * PHP 5.3 does not __destruct objects when they are nulled and thus unlisten must be
- * called must be explicitly called.
- */
- public function __destruct() {
- if($this->_listeningenabled)
- $this->unlisten();
- }
-
-
- /**
- * This utility function is a private array filter method. The array values
- * that start with 'fx' are filtered in.
- */
- private function filter_prado_fx($name) {
- return strncasecmp($name,'fx',2)===0;
- }
-
-
- /**
- * This returns an array of the class name and the names of all its parents. The base object first,
- * {@link TComponent}, and the deepest subclass is last.
- * @param boolean optional should the names be all lowercase true/false
- * @return array array of strings being the class hierarchy of $this.
- */
- public function getClassHierarchy($lowercase = false)
- {
- $class=get_class($this);
- $classes=array($class);
- while($class=get_parent_class($class)){array_unshift($classes,$class);}
- if($lowercase)
- return array_map('strtolower',$classes);
- return $classes;
- }
-
-
- /**
- * This adds an object's fx event handlers into the global broadcaster to listen into any
- * broadcast global events called through {@link raiseEvent}
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyListen($globalEvents[, $chain]) {
- * $this->listen(); //eg
- * }
- * </code>
- * to be executed when listen is called. All attached behaviors are notified through dyListen.
- *
- * @return numeric the number of global events that were registered to the global event registry
- */
- public function listen() {
- if($this->_listeningenabled)
- return;
-
- $fx=array_filter(get_class_methods($this),array($this,'filter_prado_fx'));
-
- foreach($fx as $func)
- $this->attachEventHandler($func,array($this,$func));
-
- if(is_a($this,'IDynamicMethods')) {
- $this->attachEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER,array($this,'__dycall'));
- array_push($fx,TComponent::GLOBAL_RAISE_EVENT_LISTENER);
- }
-
- $this->_listeningenabled=true;
-
- $this->dyListen($fx);
-
- return count($fx);
- }
-
- /**
- * this removes an object's fx events from the global broadcaster
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyUnlisten($globalEvents[, $chain]) {
- * $this->behaviorUnlisten(); //eg
- * }
- * </code>
- * to be executed when listen is called. All attached behaviors are notified through dyUnlisten.
- *
- * @return numeric the number of global events that were unregistered from the global event registry
- */
- public function unlisten() {
- if(!$this->_listeningenabled)
- return;
-
- $fx=array_filter(get_class_methods($this),array($this,'filter_prado_fx'));
-
- foreach($fx as $func)
- $this->detachEventHandler($func,array($this,$func));
-
- if(is_a($this,'IDynamicMethods')) {
- $this->detachEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER,array($this,'__dycall'));
- array_push($fx,TComponent::GLOBAL_RAISE_EVENT_LISTENER);
- }
-
- $this->_listeningenabled=false;
-
- $this->dyUnlisten($fx);
-
- return count($fx);
- }
-
- /**
- * Gets the state of listening to global events
- * @return boolean is Listening to global broadcast enabled
- */
- public function getListeningToGlobalEvents()
- {
- return $this->_listeningenabled;
- }
-
-
- /**
- * Calls a method.
- * Do not call this method directly. This is a PHP magic method that we override
- * to allow behaviors, dynamic events (intra-object/behavior events),
- * undefined dynamic and global events, and
- * to allow using the following syntax to call a property setter or getter.
- * <code>
- * $this->getPropertyName($value); // if there's a $this->getjsPropertyName() method
- * $this->setPropertyName($value); // if there's a $this->setjsPropertyName() method
- * </code>
- *
- * Additional object behaviors override class behaviors.
- * dynamic and global events do not fail even if they aren't implemented.
- * Any intra-object/behavior dynamic events that are not implemented by the behavior
- * return the first function paramater or null when no parameters are specified.
- *
- * @param string method name that doesn't exist and is being called on the object
- * @param mixed method parameters
- * @throws TInvalidOperationException If the property is not defined or read-only or
- * method is undefined
- * @return mixed result of the method call, or false if 'fx' or 'dy' function but
- * is not found in the class, otherwise it runs
- */
- public function __call($method, $args)
- {
- $getset=substr($method,0,3);
- if(($getset=='get')||($getset=='set'))
- {
- $propname=substr($method,3);
- $jsmethod=$getset.'js'.$propname;
- if(method_exists($this,$jsmethod))
- {
- if(count($args)>0)
- if($args[0]&&!($args[0] instanceof TJavaScriptString))
- $args[0]=new TJavaScriptString($args[0]);
- return call_user_func_array(array($this,$jsmethod),$args);
- }
-
- if (($getset=='set')&&method_exists($this,'getjs'.$propname))
- throw new TInvalidOperationException('component_property_readonly',get_class($this),$method);
- }
-
- if($this->_m!==null&&$this->_behaviorsenabled)
- {
- if(strncasecmp($method,'dy',2)===0)
- {
- $callchain=new TCallChain($method);
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&(method_exists($behavior,$method)||($behavior instanceof IDynamicMethods)))
- {
- $behavior_args=$args;
- if($behavior instanceof IClassBehavior)
- array_unshift($behavior_args,$this);
- $callchain->addCall(array($behavior,$method),$behavior_args);
- }
-
- }
- if($callchain->getCount()>0)
- return call_user_func_array(array($callchain,'call'),$args);
- }
- else
- {
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&method_exists($behavior,$method))
- {
- if($behavior instanceof IClassBehavior)
- array_unshift($args,$this);
- return call_user_func_array(array($behavior,$method),$args);
- }
- }
- }
- }
-
- if(strncasecmp($method,'dy',2)===0||strncasecmp($method,'fx',2)===0)
- {
- if($this instanceof IDynamicMethods)
- return $this->__dycall($method,$args);
- return isset($args[0])?$args[0]:null;
- }
-
- throw new TApplicationException('component_method_undefined',get_class($this),$method);
- }
-
/**
* Returns a property value or an event handler list by property or event name.
@@ -573,27 +115,21 @@ class TComponent
* <code>
* $eventHandlerList=$component->EventName;
* </code>
- * This will also return the global event handler list when specifing an 'fx'
- * event,
- * <code>
- * $globalEventHandlerList=$component->fxEventName;
- * </code>
- * When behaviors are enabled, this will return the behavior of a specific
- * name, a property of a behavior, or an object 'on' event defined by the behavior.
* @param string the property name or the event name
- * @return mixed the property value or the event handler list as {@link TPriorityList}
+ * @return mixed the property value or the event handler list
* @throws TInvalidOperationException if the property/event is not defined.
*/
public function __get($name)
{
- if(method_exists($this,$getter='get'.$name))
+ $getter='get'.$name; $jsgetter = 'getjs'.$name;
+ if(method_exists($this,$getter))
{
// getting a property
return $this->$getter();
}
- else if(method_exists($this,$jsgetter='getjs'.$name))
+ else if(method_exists($this,$jsgetter))
{
- // getting a javascript property
+ // getting a property
return (string)$this->$jsgetter();
}
else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
@@ -601,33 +137,13 @@ class TComponent
// getting an event (handler list)
$name=strtolower($name);
if(!isset($this->_e[$name]))
- $this->_e[$name]=new TPriorityList;
+ $this->_e[$name]=new TList;
return $this->_e[$name];
}
- else if(strncasecmp($name,'fx',2)===0)
- {
- // getting a global event (handler list)
- $name=strtolower($name);
- if(!isset(self::$_ue[$name]))
- self::$_ue[$name]=new TPriorityList;
- return self::$_ue[$name];
- }
- else if($this->_behaviorsenabled)
+ else
{
- // getting a behavior property/event (handler list)
- if(isset($this->_m[$name]))
- return $this->_m[$name];
- else if($this->_m!==null)
- {
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&
- (property_exists($behavior,$name)||$behavior->canGetProperty($name)||$behavior->hasEvent($name)))
- return $behavior->$name;
- }
- }
+ throw new TInvalidOperationException('component_property_undefined',get_class($this),$name);
}
- throw new TInvalidOperationException('component_property_undefined',get_class($this),$name);
}
/**
@@ -638,47 +154,30 @@ class TComponent
* $this->PropertyName=$value;
* $this->jsPropertyName=$value; // $value will be treated as a JavaScript literal
* $this->EventName=$handler;
- * $this->fxEventName=$handler; //global event listener
* </code>
- * When behaviors are enabled, this will also set a behaviors properties and events.
* @param string the property name or event name
* @param mixed the property value or event handler
* @throws TInvalidOperationException If the property is not defined or read-only.
*/
public function __set($name,$value)
{
- if(method_exists($this,$setter='set'.$name))
+ if(method_exists($this, $setter='set'.$name))
{
- if(strncasecmp($name,'js',2)===0&&$value&&!($value instanceof TJavaScriptLiteral))
+ if (strncasecmp($name,'js',2)===0 && $value && !($value instanceof TJavaScriptLiteral))
$value = new TJavaScriptLiteral($value);
- return $this->$setter($value);
- }
- else if(method_exists($this,$jssetter='setjs'.$name))
- {
- if($value&&!($value instanceof TJavaScriptString))
- $value=new TJavaScriptString($value);
- return $this->$jssetter($value);
+ $this->$setter($value);
}
- else if((strncasecmp($name,'on',2)===0&&method_exists($this,$name))||strncasecmp($name,'fx',2)===0)
+ else if(method_exists($this, $jssetter = 'setjs'.$name))
{
- return $this->attachEventHandler($name,$value);
+ if ($value and !($value instanceof TJavaScriptString))
+ $value = new TJavaScriptString($value);
+ $this->$jssetter($value);
}
- else if($this->_m!==null&&$this->_m->getCount()>0&&$this->_behaviorsenabled)
+ else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
{
- $sets=0;
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&
- (property_exists($behavior,$name)||$behavior->canSetProperty($name)||$behavior->hasEvent($name))) {
- $behavior->$name=$value;
- $sets++;
- }
- }
- if($sets)return $value;
-
+ $this->attachEventHandler($name,$value);
}
-
- if(method_exists($this,'get'.$name)||method_exists($this,'getjs'.$name))
+ else if(method_exists($this,'get'.$name) || method_exists($this,'getjs'.$name))
{
throw new TInvalidOperationException('component_property_readonly',get_class($this),$name);
}
@@ -689,86 +188,37 @@ class TComponent
}
/**
- * Checks if a property value is null, there are no events in the object
- * event list or global event list registered under the name, and, if
- * behaviors are enabled,
+ * Calls a method.
* Do not call this method. This is a PHP magic method that we override
- * to allow using isset() to detect if a component property is set or not.
- * This also works for global events. When behaviors are enabled, it
- * will check for a behavior of the specified name, and also check
- * the behavior for events and properties.
- * @param string the property name or the event name
- * @since 3.2.1
+ * to allow using the following syntax to call a property setter or getter.
+ * <code>
+ * $this->getPropertyName($value); // if there's a $this->getjsPropertyName() method
+ * $this->setPropertyName($value); // if there's a $this->setjsPropertyName() method
+ * </code>
+ * @param string the getter or setter method name
+ * @param mixed method call parameters
+ * @throws TInvalidOperationException If the property is not defined or read-only.
*/
- public function __isset($name)
+ public function __call($name,$params)
{
- if(method_exists($this,$getter='get'.$name))
- return $this->$getter()!==null;
- else if(method_exists($this,$jsgetter='getjs'.$name))
- return $this->$jsgetter()!==null;
- else if(strncasecmp($name,'on',2)===0&&method_exists($this,$name))
- {
- $name=strtolower($name);
- return isset($this->_e[$name])&&$this->_e[$name]->getCount();
- }
- else if(strncasecmp($name,'fx',2)===0)
+ $getset = substr($name,0,3);
+ if (($getset=='get') || ($getset=='set'))
{
- $name=strtolower($name);
- return isset(self::$_ue[$name])&&self::$_ue[$name]->getCount();
- }
- else if($this->_m!==null&&$this->_m->getCount()>0&&$this->_behaviorsenabled)
- {
- if(isset($this->_m[$name]))
- return true;
- foreach($this->_m->toArray() as $behavior)
+ $propname = substr($name,3);
+ $jsmethod = $getset.'js'.$propname;
+ if (method_exists($this, $jsmethod))
{
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled()))
- return isset($behavior->$name);
+ if (count($params)>0)
+ if ($params[0] && !($params[0] instanceof TJavaScriptString))
+ $params[0] = new TJavaScriptString($params[0]);
+ return call_user_func_array(array($this, $jsmethod), $params);
}
-
+
+ if (($getset=='set') and method_exists($this, 'getjs'.$propname))
+ throw new TInvalidOperationException('component_property_readonly',get_class($this),$name);
}
- else
- return false;
- }
- /**
- * Sets a component property to be null. Clears the object or global
- * events. When enabled, loops through all behaviors and unsets the
- * property or event.
- * Do not call this method. This is a PHP magic method that we override
- * to allow using unset() to set a component property to be null.
- * @param string the property name or the event name
- * @throws TInvalidOperationException if the property is read only.
- * @since 3.2.1
- */
- public function __unset($name)
- {
- if(method_exists($this,$setter='set'.$name))
- $this->$setter(null);
- else if(method_exists($this,$jssetter='setjs'.$name))
- $this->$jssetter(null);
- else if(strncasecmp($name,'on',2)===0&&method_exists($this,$name))
- $this->_e[strtolower($name)]->clear();
- else if(strncasecmp($name,'fx',2)===0)
- $this->getEventHandlers($name)->remove(array($this, $name));
- else if($this->_m!==null&&$this->_m->getCount()>0&&$this->_behaviorsenabled)
- {
- if(isset($this->_m[$name]))
- $this->detachBehavior($name);
- else {
- $unset=0;
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())) {
- unset($behavior->$name);
- $unset++;
- }
- }
- if(!$unset&&method_exists($this,'get'.$name))
- throw new TInvalidOperationException('component_property_readonly',get_class($this),$name);
- }
- } else if(method_exists($this,'get'.$name))
- throw new TInvalidOperationException('component_property_readonly',get_class($this),$name);
+ throw new TInvalidOperationException('component_property_undefined',get_class($this),$name);
}
/**
@@ -780,55 +230,34 @@ class TComponent
*/
public function hasProperty($name)
{
- return $this->canGetProperty($name)||$this->canSetProperty($name);
+ return
+ method_exists($this,'get'.$name) || method_exists($this,'set'.$name) ||
+ method_exists($this,'getjs'.$name) || method_exists($this,'setjs'.$name)
+ ;
}
/**
* Determines whether a property can be read.
* A property can be read if the class has a getter method
* for the property name. Note, property name is case-insensitive.
- * This also checks for getjs. When enabled, it loops through all
- * active behaviors for the get property when undefined by the object.
* @param string the property name
* @return boolean whether the property can be read
*/
public function canGetProperty($name)
{
- if(method_exists($this,'get'.$name)||method_exists($this,'getjs'.$name))
- return true;
- else if($this->_m!==null&&$this->_behaviorsenabled)
- {
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&$behavior->canGetProperty($name))
- return true;
- }
- }
- return false;
+ return method_exists($this,'get'.$name) || method_exists($this,'getjs'.$name);
}
/**
* Determines whether a property can be set.
* A property can be written if the class has a setter method
* for the property name. Note, property name is case-insensitive.
- * This also checks for setjs. When enabled, it loops through all
- * active behaviors for the set property when undefined by the object.
* @param string the property name
* @return boolean whether the property can be written
*/
public function canSetProperty($name)
{
- if(method_exists($this,'set'.$name)||method_exists($this,'setjs'.$name))
- return true;
- else if($this->_m!==null&&$this->_behaviorsenabled)
- {
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&$behavior->canSetProperty($name))
- return true;
- }
- }
- return false;
+ return method_exists($this,'set'.$name) || method_exists($this,'setjs'.$name);
}
/**
@@ -836,8 +265,6 @@ class TComponent
* A property path is a sequence of property names concatenated by '.' character.
* For example, 'Parent.Page' refers to the 'Page' property of the component's
* 'Parent' property value (which should be a component also).
- * When a property is not defined by an object, this also loops through all
- * active behaviors of the object.
* @param string property path
* @return mixed the property path value
*/
@@ -854,8 +281,6 @@ class TComponent
* A property path is a sequence of property names concatenated by '.' character.
* For example, 'Parent.Page' refers to the 'Page' property of the component's
* 'Parent' property value (which should be a component also).
- * When a property is not defined by an object, this also loops through all
- * active behaviors of the object.
* @param string property path
* @param mixed the property path value
*/
@@ -874,90 +299,41 @@ class TComponent
/**
* Determines whether an event is defined.
- * An event is defined if the class has a method whose name is the event name
- * prefixed with 'on', 'fx', or 'dy'.
- * Every object responds to every 'fx' and 'dy' event as they are in a universally
- * accepted event space. 'on' event must be declared by the object.
- * When enabled, this will loop through all active behaviors for 'on' events
- * defined by the behavior.
+ * An event is defined if the class has a method whose name is the event name prefixed with 'on'.
* Note, event name is case-insensitive.
* @param string the event name
* @return boolean
*/
public function hasEvent($name)
{
- if((strncasecmp($name,'on',2)===0&&method_exists($this,$name))||strncasecmp($name,'fx',2)===0||strncasecmp($name,'dy',2)===0)
- return true;
-
- else if($this->_m!==null&&$this->_behaviorsenabled)
- {
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&$behavior->hasEvent($name))
- return true;
- }
- }
- return false;
+ return strncasecmp($name,'on',2)===0 && method_exists($this,$name);
}
/**
- * Checks if an event has any handlers. This function also checks through all
- * the behaviors for 'on' events when behaviors are enabled.
- * 'dy' dynamic events are not handled by this function.
- * @param string the event name
* @return boolean whether an event has been attached one or several handlers
*/
public function hasEventHandler($name)
{
$name=strtolower($name);
- if(strncasecmp($name,'fx',2)===0)
- return isset(self::$_ue[$name])&&self::$_ue[$name]->getCount()>0;
- else
- {
- if(isset($this->_e[$name])&&$this->_e[$name]->getCount()>0)
- return true;
- else if($this->_m!==null&&$this->_behaviorsenabled) {
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&$behavior->hasEventHandler($name))
- return true;
- }
- }
- }
- return false;
+ return isset($this->_e[$name]) && $this->_e[$name]->getCount()>0;
}
/**
- * Returns the list of attached event handlers for an 'on' or 'fx' event. This function also
- * checks through all the behaviors for 'on' event lists when behaviors are enabled.
- * @return TPriorityList list of attached event handlers for an event
+ * Returns the list of attached event handlers for an event.
+ * @return TList list of attached event handlers for an event
* @throws TInvalidOperationException if the event is not defined
*/
public function getEventHandlers($name)
{
- if(strncasecmp($name,'on',2)===0&&method_exists($this,$name))
+ if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
{
$name=strtolower($name);
if(!isset($this->_e[$name]))
- $this->_e[$name]=new TPriorityList;
+ $this->_e[$name]=new TList;
return $this->_e[$name];
}
- else if(strncasecmp($name,'fx',2)===0)
- {
- $name=strtolower($name);
- if(!isset(self::$_ue[$name]))
- self::$_ue[$name]=new TPriorityList;
- return self::$_ue[$name];
- }
- else if($this->_m!==null&&$this->_behaviorsenabled)
- {
- foreach($this->_m->toArray() as $behavior)
- {
- if((!($behavior instanceof IBehavior)||$behavior->getEnabled())&&$behavior->hasEvent($name))
- return $behavior->getEventHandlers($name);
- }
- }
- throw new TInvalidOperationException('component_event_undefined',get_class($this),$name);
+ else
+ throw new TInvalidOperationException('component_event_undefined',get_class($this),$name);
}
/**
@@ -972,18 +348,16 @@ class TComponent
*
* The event handler must be of the following signature,
* <code>
- * function handlerName($sender, $param) {}
- * function handlerName($sender, $param, $name) {}
+ * function handlerName($sender,$param) {}
* </code>
* where $sender represents the object that raises the event,
- * and $param is the event parameter. $name refers to the event name
- * being handled.
+ * and $param is the event parameter.
*
* This is a convenient method to add an event handler.
* It is equivalent to {@link getEventHandlers}($name)->add($handler).
* For complete management of event handlers, use {@link getEventHandlers}
* to get the event handler list first, and then do various
- * {@link TPriorityList} operations to append, insert or remove
+ * {@link TList} operations to append, insert or remove
* event handlers. You may also do these operations like
* getting and setting properties, e.g.,
* <code>
@@ -996,37 +370,29 @@ class TComponent
* $component->getEventHandlers('OnClick')->insertAt(0,array($object,'buttonClicked'));
* </code>
*
- * Due to the nature of {@link getEventHandlers}, any active behaviors defining
- * new 'on' events, this method will pass through to the behavior transparently.
- *
* @param string the event name
* @param callback the event handler
- * @param numeric|null the priority of the handler, defaults to null which translates into the
- * default priority of 10.0 within {@link TPriorityList}
* @throws TInvalidOperationException if the event does not exist
*/
- public function attachEventHandler($name,$handler,$priority=null)
+ public function attachEventHandler($name,$handler)
{
- $this->getEventHandlers($name)->add($handler,$priority);
+ $this->getEventHandlers($name)->add($handler);
}
/**
* Detaches an existing event handler.
- * This method is the opposite of {@link attachEventHandler}. It will detach
- * any 'on' events definedb by an objects active behaviors as well.
+ * This method is the opposite of {@link attachEventHandler}.
* @param string event name
* @param callback the event handler to be removed
- * @param numeric|false|null the priority of the handler, defaults to false which translates
- * to an item of any priority within {@link TPriorityList}; null means the default priority
* @return boolean if the removal is successful
*/
- public function detachEventHandler($name,$handler,$priority=false)
+ public function detachEventHandler($name,$handler)
{
if($this->hasEventHandler($name))
{
try
{
- $this->getEventHandlers($name)->remove($handler,$priority);
+ $this->getEventHandlers($name)->remove($handler);
return true;
}
catch(Exception $e)
@@ -1037,133 +403,42 @@ class TComponent
}
/**
- * Raises an event. This raises both inter-object 'on' events and global 'fx' events.
+ * Raises an event.
* This method represents the happening of an event and will
- * invoke all attached event handlers for the event in {@link TPriorityList} order.
- * This method does not handle intra-object/behavior dynamic 'dy' events.
- *
- * There are ways to handle event responses. By defailt {@link EVENT_RESULT_FILTER},
- * all event responses are stored in an array, filtered for null responses, and returned.
- * If {@link EVENT_RESULT_ALL} is specified, all returned results will be stored along
- * with the sender and param in an array
- * <code>
- * $result[] = array('sender'=>$sender,'param'=>$param,'response'=>$response);
- * </code>
- *
- * If {@link EVENT_RESULT_FEED_FORWARD} is specified, then each handler result is then
- * fed forward as the parameters for the next event. This allows for events to filter data
- * directly by affecting the event parameters
- *
- * If a callable function is set in the response type or the post function filter is specified then the
- * result of each called event handler is post processed by the callable function. Used in
- * combination with {@link EVENT_RESULT_FEED_FORWARD}, any event (and its result) can be chained.
- *
- * When raising a global 'fx' event, registered handlers in the global event list for
- * {@link GLOBAL_RAISE_EVENT_LISTENER} are always added into the set of event handlers. In this way,
- * these global events are always raised for every global 'fx' event. The registered handlers for global
- * raiseEvent events have priorities. Any registered global raiseEvent event handlers with a priority less than zero
- * are added before the main event handlers being raised and any registered global raiseEvent event handlers
- * with a priority equal or greater than zero are added after the main event handlers being raised. In this way
- * all {@link GLOBAL_RAISE_EVENT_LISTENER} handlers are always called for every raised 'fx' event.
- *
- * Behaviors may implement the following functions:
- * <code>
- * public function dyPreRaiseEvent($name,$sender,$param,$responsetype,$postfunction[, $chain]) {
- * return $name; //eg, the event name may be filtered/changed
- * }
- * public function dyIntraRaiseEventTestHandler($handler,$sender,$param,$name[, $chain]) {
- * return true; //should this particular handler be executed? true/false
- * }
- * public function dyIntraRaiseEventPostHandler($name,$sender,$param,$handler,$response[, $chain]) {
- * //contains the per handler response
- * }
- * public function dyPostRaiseEvent($responses,$name,$sender,$param,$responsetype,$postfunction[, $chain]) {
- * return $responses;
- * }
- * </code>
- * to be executed when raiseEvent is called. The 'intra' dynamic events are called per handler in
- * the handler loop.
- *
- * dyPreRaiseEvent has the effect of being able to change the event being raised. This intra
- * object/behavior event returns the name of the desired event to be raised. It will pass through
- * if no dynamic event is specified, or if the original event name is returned.
- * dyIntraRaiseEventTestHandler returns true or false as to whether a specific handler should be
- * called for a specific raised event (and associated event arguments)
- * dyIntraRaiseEventPostHandler does not return anything. This allows behaviors to access the results
- * of an event handler in the per handler loop.
- * dyPostRaiseEvent returns the responses. This allows for any post processing of the event
- * results from the sum of all event handlers
- *
- * When handling a catch-all {@link __dycall}, the method name is the name of the event
- * and the parameters are the sender, the param, and then the name of the event.
- *
+ * invoke all attached event handlers for the event.
* @param string the event name
* @param mixed the event sender object
* @param TEventParameter the event parameter
- * @param numeric how the results of the event are tabulated. default: {@link EVENT_RESULT_FILTER} The default filters out
- * null responses. optional
- * @param function any per handler filtering of the response result needed is passed through
- * this if not null. default: null. optional
- * @return mixed the results of the event
* @throws TInvalidOperationException if the event is undefined
* @throws TInvalidDataValueException If an event handler is invalid
*/
- public function raiseEvent($name,$sender,$param,$responsetype=null,$postfunction=null)
+ public function raiseEvent($name,$sender,$param)
{
- $p=$param;
- if(is_callable($responsetype))
- {
- $postfunction=$responsetype;
- $responsetype=null;
- }
-
- if($responsetype===null)
- $responsetype=TEventResults::EVENT_RESULT_FILTER;
-
$name=strtolower($name);
- $responses=array();
-
- $name=$this->dyPreRaiseEvent($name,$sender,$param,$responsetype,$postfunction);
-
- if($this->hasEventHandler($name)||$this->hasEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER))
+ if(isset($this->_e[$name]))
{
- $handlers=$this->getEventHandlers($name);
- $handlerArray=$handlers->toArray();
- if(strncasecmp($name,'fx',2)===0&&$this->hasEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER))
- {
- $globalhandlers=$this->getEventHandlers(TComponent::GLOBAL_RAISE_EVENT_LISTENER);
- $handlerArray=array_merge($globalhandlers->toArrayBelowPriority(0),$handlerArray,$globalhandlers->toArrayAbovePriority(0));
- }
- $response=null;
- foreach($handlerArray as $handler)
+ foreach($this->_e[$name] as $handler)
{
- if($this->dyIntraRaiseEventTestHandler($handler,$sender,$param,$name)===false)
- continue;
-
if(is_string($handler))
{
if(($pos=strrpos($handler,'.'))!==false)
{
$object=$this->getSubProperty(substr($handler,0,$pos));
$method=substr($handler,$pos+1);
- if(method_exists($object,$method)||strncasecmp($method,'dy',2)===0||strncasecmp($method,'fx',2)===0)
- {
- if($method=='__dycall')
- $response=$object->__dycall($name,array($sender,$param,$name));
- else
- $response=$object->$method($sender,$param,$name);
- }
+ if(method_exists($object,$method))
+ $object->$method($sender,$param);
else
throw new TInvalidDataValueException('component_eventhandler_invalid',get_class($this),$name,$handler);
}
else
- $response=call_user_func($handler,$sender,$param,$name);
+ call_user_func($handler,$sender,$param);
}
else if(is_callable($handler,true))
{
+ // an array: 0 - object, 1 - method name/path
list($object,$method)=$handler;
- if(is_string($object))
- $response=call_user_func($handler,$sender,$param,$name);
+ if(is_string($object)) // static method call
+ call_user_func($handler,$sender,$param);
else
{
if(($pos=strrpos($method,'.'))!==false)
@@ -1171,66 +446,27 @@ class TComponent
$object=$this->getSubProperty(substr($method,0,$pos));
$method=substr($method,$pos+1);
}
- if(method_exists($object,$method)||strncasecmp($method,'dy',2)===0||strncasecmp($method,'fx',2)===0)
- {
- if($method=='__dycall')
- $response=$object->__dycall($name,array($sender,$param,$name));
- else
- $response=$object->$method($sender,$param,$name);
- }
+ if(method_exists($object,$method))
+ $object->$method($sender,$param);
else
throw new TInvalidDataValueException('component_eventhandler_invalid',get_class($this),$name,$handler[1]);
}
}
else
throw new TInvalidDataValueException('component_eventhandler_invalid',get_class($this),$name,gettype($handler));
-
- $this->dyIntraRaiseEventPostHandler($name,$sender,$param,$handler,$response);
-
- if($postfunction)
- $response=call_user_func_array($postfunction,array($sender,$param,$this,$response));
-
- if($responsetype&TEventResults::EVENT_RESULT_ALL)
- $responses[]=array('sender'=>$sender,'param'=>$param,'response'=>$response);
- else
- $responses[]=$response;
-
- if($response!==null&&($responsetype&TEventResults::EVENT_RESULT_FEED_FORWARD))
- $param=$response;
-
}
}
- else if(strncasecmp($name,'on',2)===0&&!$this->hasEvent($name))
+ else if(!$this->hasEvent($name))
throw new TInvalidOperationException('component_event_undefined',get_class($this),$name);
-
- if($responsetype&TEventResults::EVENT_RESULT_FILTER)
- $responses=array_filter($responses);
-
- $responses=$this->dyPostRaiseEvent($responses,$name,$sender,$param,$responsetype,$postfunction);
-
- return $responses;
}
/**
* Evaluates a PHP expression in the context of this control.
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyEvaluateExpressionFilter($expression, $chain) {
- * return $chain->dyEvaluateExpressionFilter(str_replace('foo', 'bar', $expression)); //example
- * }
- * </code>
- * to be executed when evaluateExpression is called. All attached behaviors are notified through
- * dyEvaluateExpressionFilter. The chaining is important in this function due to the filtering
- * pass-through effect.
- *
- * @param string PHP expression
* @return mixed the expression result
* @throws TInvalidOperationException if the expression is invalid
*/
public function evaluateExpression($expression)
{
- $expression=$this->dyEvaluateExpressionFilter($expression);
try
{
if(eval("\$result=$expression;")===false)
@@ -1245,24 +481,12 @@ class TComponent
/**
* Evaluates a list of PHP statements.
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyEvaluateStatementsFilter($statements, $chain) {
- * return $chain->dyEvaluateStatementsFilter(str_replace('foo', 'bar', $statements)); //example
- * }
- * </code>
- * to be executed when evaluateStatements is called. All attached behaviors are notified through
- * dyEvaluateStatementsFilter. The chaining is important in this function due to the filtering
- * pass-through effect.
- *
* @param string PHP statements
* @return string content echoed or printed by the PHP statements
* @throws TInvalidOperationException if the statements are invalid
*/
public function evaluateStatements($statements)
{
- $statements=$this->dyEvaluateStatementsFilter($statements);
try
{
ob_start();
@@ -1284,22 +508,11 @@ class TComponent
* The default implementation of this method will invoke
* the potential parent component's {@link addParsedObject}.
* This method can be overridden.
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyCreatedOnTemplate($parent, $chain) {
- * return $chain->dyCreatedOnTemplate($parent); //example
- * }
- * </code>
- * to be executed when createdOnTemplate is called. All attached behaviors are notified through
- * dyCreatedOnTemplate.
- *
* @param TComponent potential parent of this control
* @see addParsedObject
*/
public function createdOnTemplate($parent)
{
- $parent=$this->dyCreatedOnTemplate($parent);
$parent->addParsedObject($this);
}
@@ -1308,397 +521,11 @@ class TComponent
* The object can be either a component or a static text string.
* This method can be overridden to customize the handling of newly created objects in template.
* Only framework developers and control developers should use this method.
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyAddParsedObject($object[, $chain]) {
- * }
- * </code>
- * to be executed when addParsedObject is called. All attached behaviors are notified through
- * dyAddParsedObject.
- *
* @param string|TComponent text string or component parsed and instantiated in template
* @see createdOnTemplate
*/
public function addParsedObject($object)
{
- $this->dyAddParsedObject($object);
- }
-
-
- /**
- * This is the method registered for all instanced objects should a class behavior be added after
- * the class is instanced. Only when the class to which the behavior is being added is in this
- * object's class hierarchy, via {@link getClassHierarchy}, is the behavior added to this instance.
- * @param $sender the application
- * @param $param TClassBehaviorEventParameter
- * @since 3.2.1
- */
- public function fxAttachClassBehavior($sender,$param) {
- if(in_array($param->getClass(),$this->getClassHierarchy(true)))
- return $this->attachBehavior($param->getName(),$param->getBehavior(),$param->getPriority());
- }
-
-
- /**
- * This is the method registered for all instanced objects should a class behavior be removed after
- * the class is instanced. Only when the class to which the behavior is being added is in this
- * object's class hierarchy, via {@link getClassHierarchy}, is the behavior removed from this instance.
- * @param $sender the application
- * @param $param TClassBehaviorEventParameter
- * @since 3.2.1
- */
- public function fxDetachClassBehavior($sender,$param) {
- if(in_array($param->getClass(),$this->getClassHierarchy(true)))
- return $this->detachBehavior($param->getName(),$param->getPriority());
- }
-
-
- /**
- * This will add a class behavior to all classes instanced (that are listening) and future newly instanced objects.
- * This registers the behavior for future instances and pushes the changes to all the instances that are listening as well.
- * The universal class behaviors are stored in an inverted stack with the latest class behavior being at the first position in the array.
- * This is done so class behaviors are added last first.
- * @param string name the key of the class behavior
- * @param object|string class behavior or name of the object behavior per instance
- * @param string|class string of class or class on which to attach this behavior. Defaults to null which will error
- * but more important, if this is on PHP 5.3 it will use Late Static Binding to derive the class
- * it should extend.
- * <code>
- * TPanel::attachClassBehavior('javascripts', (new TJsPanelBehavior())->init($this));
- * </code>
- * @param numeric|null priority of behavior, default: null the default priority of the {@link TPriorityList} Optional.
- * @throws TInvalidOperationException if the class behavior is being added to a {@link TComponent}; due to recursion.
- * @throws TInvalidOperationException if the class behavior is already defined
- * @since 3.2.1
- */
- public static function attachClassBehavior($name,$behavior,$class=null,$priority=null) {
- if(!$class&&function_exists('get_called_class'))
- $class=get_called_class();
- if(!$class)
- throw new TInvalidOperationException('component_no_class_provided_nor_late_binding');
-
- if(!is_string($name))
- $name=get_class($name);
- $class=strtolower($class);
- if($class==='tcomponent')
- throw new TInvalidOperationException('component_no_tcomponent_class_behaviors');
- if(empty(self::$_um[$class]))
- self::$_um[$class]=array();
- if(isset(self::$_um[$class][$name]))
- throw new TInvalidOperationException('component_class_behavior_defined',$class,$name);
- $param=new TClassBehaviorEventParameter($class,$name,$behavior,$priority);
- self::$_um[$class]=array($name=>$param)+self::$_um[$class];
- $behaviorObject=is_string($behavior)?new $behavior:$behavior;
- return $behaviorObject->raiseEvent('fxAttachClassBehavior',null,$param);
- }
-
-
- /**
- * This will remove a behavior from a class. It unregisters it from future instances and
- * pulls the changes from all the instances that are listening as well.
- * PHP 5.3 uses Late Static Binding to derive the static class upon which this method is called.
- * @param $name the key of the class behavior
- * @param $class string class on which to attach this behavior. Defaults to null.
- * @param $priority numeric|null|false priority. false is any priority, null is default
- * {@link TPriorityList} priority, and numeric is a specific priority.
- * @throws Exception if the the class cannot be derived from Late Static Binding and is not
- * not supplied as a parameter.
- * @since 3.2.1
- */
- public static function detachClassBehavior($name,$class=null,$priority=false) {
- if(!$class&&function_exists('get_called_class'))
- $class=get_called_class();
- if(!$class)
- throw new TInvalidOperationException('component_no_class_provided_nor_late_binding');
-
- $class=strtolower($class);
- if(!is_string($name))
- $name=get_class($name);
- if(empty(self::$_um[$class])||!isset(self::$_um[$class][$name]))
- return false;
- $param=self::$_um[$class][$name];
- $behavior=$param->getBehavior();
- unset(self::$_um[$class][$name]);
- $behaviorObject=is_string($behavior)?new $behavior:$behavior;
- return $behaviorObject->raiseEvent('fxDetachClassBehavior',null,$param);
- }
-
- /**
- * Returns the named behavior object.
- * The name 'asa' stands for 'as a'.
- * @param string the behavior name
- * @return IBehavior the behavior object, or null if the behavior does not exist
- * @since 3.2.1
- */
- public function asa($behaviorname)
- {
- return isset($this->_m[$behaviorname])?$this->_m[$behaviorname]:null;
- }
-
- /**
- * Returns whether or not the object or any of the behaviors are of a particular class.
- * The name 'isa' stands for 'is a'. This first checks if $this is an instanceof the class.
- * It then checks each Behavior. If a behavior implements {@link IInstanceCheck},
- * then the behavior can determine what it is an instanceof. If this behavior function returns true,
- * then this method returns true. If the behavior instance checking function returns false,
- * then no further checking is performed as it is assumed to be correct.
- *
- * If the behavior instance check function returns nothing or null or the behavior
- * doesn't implement the {@link IInstanceCheck} interface, then the default instanceof occurs.
- * The default isa behavior is to check if the behavior is an instanceof the class.
- *
- * The behavior {@link IInstanceCheck} is to allow a behavior to have the host object
- * act as a completely different object.
- *
- * @param class or string
- * @return boolean whether or not the object or a behavior is an instance of a particular class
- * @since 3.2.1
- */
- public function isa($class)
- {
- if($this instanceof $class)
- return true;
- if($this->_m!==null&&$this->_behaviorsenabled)
- foreach($this->_m->toArray() as $behavior){
- if(($behavior instanceof IBehavior)&&!$behavior->getEnabled())
- continue;
-
- $check = null;
- if(($behavior->isa('IInstanceCheck'))&&$check=$behavior->isinstanceof($class,$this))
- return true;
- if($check===null&&($behavior->isa($class)))
- return true;
- }
- return false;
- }
-
- /**
- * Attaches a list of behaviors to the component.
- * Each behavior is indexed by its name and should be an instance of
- * {@link IBehavior}, a string specifying the behavior class, or a
- * {@link TClassBehaviorEventParameter}.
- * @param array list of behaviors to be attached to the component
- * @since 3.2.1
- */
- public function attachBehaviors($behaviors)
- {
- foreach($behaviors as $name=>$behavior)
- if($behavior instanceof TClassBehaviorEventParameter)
- $this->attachBehavior($behavior->getName(),$behavior->getBehavior(),$behavior->getPriority());
- else
- $this->attachBehavior($name,$behavior);
- }
-
- /**
- * Detaches select behaviors from the component.
- * Each behavior is indexed by its name and should be an instance of
- * {@link IBehavior}, a string specifying the behavior class, or a
- * {@link TClassBehaviorEventParameter}.
- * @param array list of behaviors to be detached from the component
- * @since 3.2.1
- */
- public function detachBehaviors($behaviors)
- {
- if($this->_m!==null)
- {
- foreach($behaviors as $name=>$behavior)
- if($behavior instanceof TClassBehaviorEventParameter)
- $this->detachBehavior($behavior->getName(),$behavior->getPriority());
- else
- $this->detachBehavior(is_string($behavior)?$behavior:$name);
- }
- }
-
- /**
- * Detaches all behaviors from the component.
- * @since 3.2.1
- */
- public function clearBehaviors()
- {
- if($this->_m!==null)
- {
- foreach($this->_m->toArray() as $name=>$behavior)
- $this->detachBehavior($name);
- $this->_m=null;
- }
- }
-
- /**
- * Attaches a behavior to this component.
- * This method will create the behavior object based on the given
- * configuration. After that, the behavior object will be initialized
- * by calling its {@link IBehavior::attach} method.
- *
- * Already attached behaviors may implement the function:
- * <code>
- * public function dyAttachBehavior($name,$behavior[, $chain]) {
- * }
- * </code>
- * to be executed when attachBehavior is called. All attached behaviors are notified through
- * dyAttachBehavior.
- *
- * @param string the behavior's name. It should uniquely identify this behavior.
- * @param mixed the behavior configuration. This is passed as the first
- * parameter to {@link YiiBase::createComponent} to create the behavior object.
- * @return IBehavior the behavior object
- * @since 3.2.1
- */
- public function attachBehavior($name,$behavior,$priority=null)
- {
- if(is_string($behavior))
- $behavior=Prado::createComponent($behavior);
- if(!($behavior instanceof IBaseBehavior))
- throw new TInvalidDataTypeException('component_not_a_behavior',get_class($behavior));
- if($behavior instanceof IBehavior)
- $behavior->setEnabled(true);
- if($this->_m===null)
- $this->_m=new TPriorityMap;
- $behavior->attach($this);
- $this->dyAttachBehavior($name,$behavior);
- $this->_m->add($name,$behavior,$priority);
- return $behavior;
- }
-
- /**
- * Detaches a behavior from the component.
- * The behavior's {@link IBehavior::detach} method will be invoked.
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyDetachBehavior($name,$behavior[, $chain]) {
- * }
- * </code>
- * to be executed when detachBehavior is called. All attached behaviors are notified through
- * dyDetachBehavior.
- *
- * @param string the behavior's name. It uniquely identifies the behavior.
- * @param numeric the behavior's priority. This defaults to false, aka any priority.
- * @return IBehavior the detached behavior. Null if the behavior does not exist.
- * @since 3.2.1
- */
- public function detachBehavior($name,$priority=false)
- {
- if($this->_m!=null&&isset($this->_m[$name]))
- {
- $this->_m[$name]->detach($this);
- $behavior=$this->_m->itemAt($name);
- $this->_m->remove($name,$priority);
- $this->dyDetachBehavior($name,$behavior);
- return $behavior;
- }
- }
-
- /**
- * Enables all behaviors attached to this component independent of the behaviors
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyEnableBehaviors($name,$behavior[, $chain]) {
- * }
- * </code>
- * to be executed when enableBehaviors is called. All attached behaviors are notified through
- * dyEnableBehaviors.
- *
- * @since 3.2.1
- */
- public function enableBehaviors()
- {
- if(!$this->_behaviorsenabled)
- {
- $this->_behaviorsenabled=true;
- $this->dyEnableBehaviors();
- }
- }
-
- /**
- * Disables all behaviors attached to this component independent of the behaviors
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyDisableBehaviors($name,$behavior[, $chain]) {
- * }
- * </code>
- * to be executed when disableBehaviors is called. All attached behaviors are notified through
- * dyDisableBehaviors.
- *
- * @since 3.2.1
- */
- public function disableBehaviors()
- {
- if($this->_behaviorsenabled)
- {
- $this->dyDisableBehaviors();
- $this->_behaviorsenabled=false;
- }
- }
-
-
- /**
- * Returns if all the behaviors are turned on or off for the object.
- * @return boolean whether or not all behaviors are enabled (true) or not (false)
- * @since 3.2.1
- */
- public function getBehaviorsEnabled()
- {
- return $this->_behaviorsenabled;
- }
-
- /**
- * Enables an attached object behavior. This cannot enable or disable whole class behaviors.
- * A behavior is only effective when it is enabled.
- * A behavior is enabled when first attached.
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyEnableBehavior($name,$behavior[, $chain]) {
- * }
- * </code>
- * to be executed when enableBehavior is called. All attached behaviors are notified through
- * dyEnableBehavior.
- *
- * @param string the behavior's name. It uniquely identifies the behavior.
- * @since 3.2.1
- */
- public function enableBehavior($name)
- {
- if($this->_m!=null&&isset($this->_m[$name])){
- if($this->_m[$name] instanceof IBehavior) {
- $this->_m[$name]->setEnabled(true);
- $this->dyEnableBehavior($name,$this->_m[$name]);
- return true;
- }
- return false;
- }
- return null;
- }
-
- /**
- * Disables an attached behavior. This cannot enable or disable whole class behaviors.
- * A behavior is only effective when it is enabled.
- *
- * Behaviors may implement the function:
- * <code>
- * public function dyDisableBehavior($name,$behavior[, $chain]) {
- * }
- * </code>
- * to be executed when disableBehavior is called. All attached behaviors are notified through
- * dyDisableBehavior.
- *
- * @param string the behavior's name. It uniquely identifies the behavior.
- * @since 3.2.1
- */
- public function disableBehavior($name)
- {
- if($this->_m!=null&&isset($this->_m[$name])){
- if($this->_m[$name] instanceof IBehavior) {
- $this->_m[$name]->setEnabled(false);
- $this->dyDisableBehavior($name,$this->_m[$name]);
- return true;
- }
- return false;
- }
- return null;
}
/**
@@ -1721,103 +548,12 @@ class TComponent
$a = (array)$this;
$a = array_keys($a);
$exprops = array();
- if($this->_listeningenabled===false)
- $exprops[] = "\0TComponent\0_listeningenabled";
- if($this->_behaviorsenabled===true)
- $exprops[] = "\0TComponent\0_behaviorsenabled";
if ($this->_e===array())
$exprops[] = "\0TComponent\0_e";
- if ($this->_m===null)
- $exprops[] = "\0TComponent\0_m";
return array_diff($a,$exprops);
}
}
-
-/**
- * IDynamicMethods interface.
- * IDynamicMethods marks an object to receive undefined global or dynamic events.
- *
- * @author Brad Anderson <javalizard@mac.com>
- * @version $Id$
- * @package System
- * @since 3.2.1
- */
-interface IDynamicMethods
-{
- public function __dycall($method,$args);
-}
-
-
-
-/**
- * TClassBehaviorEventParameter class.
- * TClassBehaviorEventParameter is the parameter sent with the class behavior changes.
- *
- * @author Brad Anderson <javalizard@mac.com>
- * @version $Id$
- * @package System
- * @since 3.2.1
- */
-class TClassBehaviorEventParameter extends TEventParameter
-{
- private $_class;
- private $_name;
- private $_behavior;
- private $_priority;
-
- /**
- * Holds the parameters for the Class Behavior Events
- * @param string $class this is the class to get the behavior
- * @param string $name the name of the behavior
- * @param object $behavior this is the behavior to implement the class behavior
- */
- public function __construct($class,$name,$behavior,$priority)
- {
- $this->_class=$class;
- $this->_name=$name;
- $this->_behavior=$behavior;
- $this->_priority=$priority;
- }
-
- /**
- * This is the class to get the behavior
- * @return string the class to get the behavior
- */
- public function getClass()
- {
- return $this->_class;
- }
-
- /**
- * name of the behavior
- * @return string the name to get the behavior
- */
- public function getName()
- {
- return $this->_name;
- }
-
- /**
- * This is the behavior which the class is to get
- * @return object the behavior to implement
- */
- public function getBehavior()
- {
- return $this->_behavior;
- }
-
- /**
- * This is the priority which the behavior is to get
- * @return numeric the priority of the behavior
- */
- public function getPriority()
- {
- return $this->_priority;
- }
-}
-
-
/**
* TEnumerable class.
* TEnumerable is the base class for all enumerable types.
@@ -1836,17 +572,17 @@ class TClassBehaviorEventParameter extends TEventParameter
* TTextAlign::Right.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
class TEnumerable implements Iterator
{
- private $_enums=array();
+ private $_enums = array();
public function __construct() {
- $reflection=new ReflectionClass($this);
- $this->_enums=$reflection->getConstants();
+ $reflection = new ReflectionClass($this);
+ $this->_enums = $reflection->getConstants();
}
public function current() {
@@ -1866,7 +602,7 @@ class TEnumerable implements Iterator
}
public function valid() {
- return $this->current()!==false;
+ return $this->current() !== false;
}
}
@@ -1899,7 +635,7 @@ class TEnumerable implements Iterator
* - enum: enumerable type, represented by an array of strings.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -2043,7 +779,7 @@ class TPropertyValue
*/
public static function ensureNullIfEmpty($value)
{
- return empty($value)?null:$value;
+ return empty($value) ? null : $value;
}
}
@@ -2052,7 +788,7 @@ class TPropertyValue
* TEventParameter is the base class for all event parameter classes.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -2060,12 +796,6 @@ class TEventParameter extends TComponent
{
}
-class TEventResults extends TEnumerable {
- const EVENT_RESULT_FEED_FORWARD=1;
- const EVENT_RESULT_FILTER=2;
- const EVENT_RESULT_ALL=4;
-}
-
/**
* TComponentReflection class.
*
@@ -2080,7 +810,7 @@ class TEventResults extends TEnumerable {
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -2248,117 +978,6 @@ class TComponentReflection extends TComponent
}
}
-
-
-
-
-/**
- * IBaseBehavior interface is the base behavior class from which all other
- * behaviors types are derived
- *
- * @author Brad Anderson <javalizard@mac.com>
- * @version $Id$
- * @package System
- * @since 3.2.1
- */
-interface IBaseBehavior {
- /**
- * Attaches the behavior object to the component.
- * @param CComponent the component that this behavior is to be attached to.
- */
- public function attach($component);
- /**
- * Detaches the behavior object from the component.
- * @param CComponent the component that this behavior is to be detached from.
- */
- public function detach($component);
-}
-
-/**
- * IBehavior interfaces is implemented by instance behavior classes.
- *
- * A behavior is a way to enhance a component with additional methods and
- * events that are defined in the behavior class and not available in the
- * class. Objects may signal behaviors through dynamic events.
- *
- * @author Brad Anderson <javalizard@mac.com>
- * @version $Id$
- * @package System
- * @since 3.2.1
- */
-interface IBehavior extends IBaseBehavior
-{
- /**
- * @return boolean whether this behavior is enabled
- */
- public function getEnabled();
- /**
- * @param boolean whether this behavior is enabled
- */
- public function setEnabled($value);
-}
-
-
-/**
- * IClassBehavior interface is implements behaviors across all instances of
- * a particular class
- *
- * Any calls to functions not present in the original object but to behaviors
- * derived from this class, will have inserted as the first argument parameter
- * the object containing the behavior.
- *
- * For example:
- * <code>
- * $objWithClassBehavior->MethodOfClassBehavior(1, 20);
- * </code>
- * will be acted within the class behavior like this:
- * <code>
- * public function MethodOfClassBehavior($object, $firstParam, $secondParam){
- * // $object === $objWithClassBehavior, $firstParam === 1, $secondParam === 20
- * }
- * </code>
- *
- * This also holds for 'dy' events as well. For dynamic events, method arguments would be:
- * <code>
- * public function dyMethodOfClassBehavior($object, $firstParam, $secondParam, $callchain){
- * // $object === $objWithClassBehavior, $firstParam === 1, $secondParam === 20, $callchain instanceof {@link TCallChain}
- * }
- * </code>
- *
- * @author Brad Anderson <javalizard@mac.com>
- * @version $Id$
- * @package System
- * @since 3.2.1
- */
-interface IClassBehavior extends IBaseBehavior {
-}
-
-
-/**
- * IInstanceCheck This interface allows objects to determine their own
- * 'instanceof' results when {@link TComponent::isa} is called. This is
- * important with behaviors because behaviors may want to look like
- * particular objects other than themselves.
- *
- * @author Brad Anderson <javalizard@mac.com>
- * @version $Id$
- * @package System
- * @since 3.2.1
- */
-interface IInstanceCheck {
- /**
- * The method checks $this or, if needed, the parameter $instance is of type
- * class. In the case of a Class Behavior, the instance to which the behavior
- * is attached may be important to determine if $this is an instance
- * of a particular class.
- * @param class|string the component that this behavior is checking if it is an instanceof.
- * @param object the object which the behavior is attached to. default: null
- * @return boolean|null if the this or the instance is of type class. When null, no information could be derived and
- * the default mechanisms take over.
- */
- public function isinstanceof($class,$instance=null);
-}
-
/**
* TJavaScriptLiteral class that encloses string literals that are not
* supposed to be escaped by {@link TJavaScript::encode() }
@@ -2377,9 +996,9 @@ interface IInstanceCheck {
* $raw=_js($js);
* </code>
*
- * @version $Id$
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
- * @since 3.2.0
+ * @since prado 3.2
*/
class TJavaScriptLiteral
{
@@ -2405,9 +1024,9 @@ class TJavaScriptLiteral
* TJavaScriptString class is an internal class that marks strings that will be
* forcibly encoded when rendered inside a javascript block
*
- * @version $Id$
+ * @version $Id: TComponent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
- * @since 3.2.0
+ * @since prado 3.2
*/
class TJavaScriptString extends TJavaScriptLiteral
{
@@ -2416,4 +1035,3 @@ class TJavaScriptString extends TJavaScriptLiteral
return TJavaScript::jsonEncode((string)$this->_s,JSON_HEX_QUOT | JSON_HEX_APOS | JSON_HEX_TAG);
}
}
-
diff --git a/framework/TModule.php b/framework/TModule.php
index 0b2eac8a..fee51016 100644
--- a/framework/TModule.php
+++ b/framework/TModule.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TModule.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -17,7 +17,7 @@
* used as the basic class for application modules.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TModule.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
diff --git a/framework/TService.php b/framework/TService.php
index 7f7e7239..1ec20017 100644
--- a/framework/TService.php
+++ b/framework/TService.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -17,7 +17,7 @@
* used as the basic class for application services.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
diff --git a/framework/TShellApplication.php b/framework/TShellApplication.php
index 96970ff2..3552d8a7 100644
--- a/framework/TShellApplication.php
+++ b/framework/TShellApplication.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TShellApplication.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -29,7 +29,7 @@
* accessibility to resources as the PRADO Web applications.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TShellApplication.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.1.0
*/
diff --git a/framework/Util/TBehavior.php b/framework/Util/TBehavior.php
deleted file mode 100644
index ab53a225..00000000
--- a/framework/Util/TBehavior.php
+++ /dev/null
@@ -1,87 +0,0 @@
-<?php
-/**
- * TBehavior class file.
- *
- * @author Qiang Xue <qiang.xue@gmail.com>
- * @link http://www.yiiframework.com/
- * @copyright Copyright &copy; 2008-2009 Yii Software LLC
- * @license http://www.yiiframework.com/license/
- */
-
-/**
- * TBehavior is a convenient base class for behavior classes.
- * @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id: TBehaviour.php 3211 2012-10-31 02:35:01Z javalizard@gmail.com $
- * @package System.Util
- * @since 3.2.1
- */
-class TBehavior extends TComponent implements IBehavior
-{
- private $_enabled;
- private $_owner;
-
- /**
- * Declares events and the corresponding event handler methods.
- * The events are defined by the {@link owner} component, while the handler
- * methods by the behavior class. The handlers will be attached to the corresponding
- * events when the behavior is attached to the {@link owner} component; and they
- * will be detached from the events when the behavior is detached from the component.
- * @return array events (array keys) and the corresponding event handler methods (array values).
- */
- public function events()
- {
- return array();
- }
-
- /**
- * Attaches the behavior object to the component.
- * The default implementation will set the {@link owner} property
- * and attach event handlers as declared in {@link events}.
- * Make sure you call the parent implementation if you override this method.
- * @param TComponent the component that this behavior is to be attached to.
- */
- public function attach($owner)
- {
- $this->_owner=$owner;
- foreach($this->events() as $event=>$handler)
- $owner->attachEventHandler($event,array($this,$handler));
- }
-
- /**
- * Detaches the behavior object from the component.
- * The default implementation will unset the {@link owner} property
- * and detach event handlers declared in {@link events}.
- * Make sure you call the parent implementation if you override this method.
- * @param TComponent the component that this behavior is to be detached from.
- */
- public function detach($owner)
- {
- foreach($this->events() as $event=>$handler)
- $owner->detachEventHandler($event,array($this,$handler));
- $this->_owner=null;
- }
-
- /**
- * @return TComponent the owner component that this behavior is attached to.
- */
- public function getOwner()
- {
- return $this->_owner;
- }
-
- /**
- * @return boolean whether this behavior is enabled
- */
- public function getEnabled()
- {
- return $this->_enabled;
- }
-
- /**
- * @param boolean whether this behavior is enabled
- */
- public function setEnabled($value)
- {
- $this->_enabled=$value;
- }
-} \ No newline at end of file
diff --git a/framework/Util/TCallChain.php b/framework/Util/TCallChain.php
deleted file mode 100644
index c7609dfa..00000000
--- a/framework/Util/TCallChain.php
+++ /dev/null
@@ -1,147 +0,0 @@
-<?php
-/**
- * TCallChain class file.
- *
- * @author Brad Anderson <javalizard@gmail.com>
- * @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2008-2012 Pradosoft
- * @license http://www.pradosoft.com/license/
- */
-
-/**
- * TCallChain is a recursive event calling mechanism. This class implements
- * the {@link IDynamicMethods} class so that any 'dy' event calls can be caught
- * and patched through to the intended recipient
- * @author Brad Anderson <javalizard@gmail.com>
- * @version $Id: TCallChain.php 564 2009-01-21 22:07:10Z javalizard $
- * @package System.Util
- * @since 3.2.1
- */
-class TCallChain extends TList implements IDynamicMethods
-{
- /**
- * @var {@link TListIterator} for moving through the chained method calls
- */
- private $_iterator=null;
-
- /**
- * @var string the method name of the call chain
- */
- private $_method=null;
-
- /**
- * This initializes the list and the name of the method to be called
- * @param string the name of the function call
- */
- public function __construct($method) {
- $this->_method=$method;
- parent::__construct();
- }
-
-
- /**
- * This initializes the list and the name of the method to be called
- * @param string|array this is a callable function as a string or array with
- * the object and method name as string
- * @param array The array of arguments to the function call chain
- */
- public function addCall($method,$args)
- {
- $this->add(array($method,$args));
- }
-
- /**
- * This method calls the next Callable in the list. All of the method arguments
- * coming into this method are substituted into the original method argument of
- * call in the chain.
- *
- * If the original method call has these parameters
- * <code>
- * $originalobject->dyExampleMethod('param1', 'param2', 'param3')
- * </code>
- * <code>
- * $callchain->dyExampleMethod('alt1', 'alt2')
- * </code>
- * then the next call in the call chain will recieve the parameters as if this were called
- * <code>
- * $behavior->dyExampleMethod('alt1', 'alt2', 'param3', $callchainobject)
- * </code>
- *
- * When dealing with {@link IClassBehaviors}, the first parameter of the stored argument
- * list in 'dy' event calls is always the object containing the behavior. This modifies
- * the parameter replacement mechanism slightly to leave the object containing the behavior
- * alone and only replacing the other parameters in the argument list. As per {@link __call},
- * any calls to a 'dy' event do not need the object containing the behavior as the addition of
- * the object to the argument list as the first element is automatic for IClassBehaviors.
- *
- * The last parameter of the method parameter list for any callable in the call chain
- * will be the TCallChain object itself. This is so that any behavior implementing
- * these calls will have access to the call chain. Each callable should either call
- * the TCallChain call method internally for direct chaining or call the method being
- * chained (in which case the dynamic handler will pass through to this call method).
- *
- * If the dynamic intra object/behavior event is not called in the behavior implemented
- * dynamic method, it will return to this method and call the following behavior
- * implementation so as no behavior with an implementation of the dynamic event is left
- * uncalled. This does break the call chain though and will not act as a "parameter filter".
- *
- * When there are no handlers or no handlers left, it returns the first parameter of the
- * argument list.
- *
- */
- public function call()
- {
- $args=func_get_args();
- if($this->getCount()===0)
- return isset($args[0])?$args[0]:null;
-
- if(!$this->_iterator)
- {
- $chain_array=array_reverse($this->toArray());
- $this->_iterator=new TListIterator($chain_array);
- }
- if($this->_iterator->valid())
- do {
- $handler=$this->_iterator->current();
- $this->_iterator->next();
- if(is_array($handler[0])&&$handler[0][0] instanceof IClassBehavior)
- array_splice($handler[1],1,count($args),$args);
- else
- array_splice($handler[1],0,count($args),$args);
- $handler[1][]=$this;
- $result=call_user_func_array($handler[0],$handler[1]);
- } while($this->_iterator->valid());
- else
- $result = $args[0];
- return $result;
- }
-
-
- /**
- * This catches all the unpatched dynamic events. When the method call matches the
- * call chain method, it passes the arguments to the original __call (of the dynamic
- * event being unspecified in TCallChain) and funnels into the method {@link call},
- * so the next dynamic event handler can be called.
- * If the original method call has these parameters
- * <code>
- * $originalobject->dyExampleMethod('param1', 'param2', 'param3')
- * </code>
- * and within the chained dynamic events, this can be called
- * <code>
- * class DyBehavior extends TBehavior {
- * public function dyExampleMethod($param1, $param2, $param3, $callchain)
- * $callchain->dyExampleMethod($param1, $param2, $param3)
- * }
- * {
- * </code>
- * to call the next event in the chain.
- * @param string method name of the unspecified object method
- * @param array arguments to the unspecified object method
- */
- public function __dycall($method,$args)
- {
- if($this->_method==$method)
- return call_user_func_array(array($this,'call'),$args);
- return null;
- }
-} \ No newline at end of file
diff --git a/framework/Util/TClassBehavior.php b/framework/Util/TClassBehavior.php
deleted file mode 100644
index 499e3e18..00000000
--- a/framework/Util/TClassBehavior.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * TClassBehavior class file.
- *
- * @author Brad Anderson <javalizard@gmail.com>
- * @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2008-2011 Pradosoft
- * @license http://www.pradosoft.com/license/
- */
-
-/**
- * TClassBehavior is a convenient base class for whole class behaviors.
- * @author Brad Anderson <javalizard@gmail.com>
- * @version $Id: TClassBehavior.php 564 2009-01-21 22:07:10Z javalizard $
- * @package System.Util
- * @since 3.2.1
- */
-class TClassBehavior extends TComponent implements IClassBehavior
-{
-
- /**
- * Attaches the behavior object to the component.
- * @param TComponent the component that this behavior is to be attached to.
- */
- public function attach($component)
- {
- }
-
- /**
- * Detaches the behavior object from the component.
- * @param TComponent the component that this behavior is to be detached from.
- */
- public function detach($component)
- {
- }
-} \ No newline at end of file
diff --git a/framework/Util/TDataFieldAccessor.php b/framework/Util/TDataFieldAccessor.php
index 94a7f0af..ae9df57b 100644
--- a/framework/Util/TDataFieldAccessor.php
+++ b/framework/Util/TDataFieldAccessor.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataFieldAccessor.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
*/
@@ -26,7 +26,7 @@
* then field 'MyValue.MySubValue' will return that method call result.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataFieldAccessor.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
diff --git a/framework/Util/TDateTimeStamp.php b/framework/Util/TDateTimeStamp.php
index 26355bec..7a995b00 100644
--- a/framework/Util/TDateTimeStamp.php
+++ b/framework/Util/TDateTimeStamp.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDateTimeStamp.php 3246 2013-01-07 21:07:38Z ctrlaltca $
* @package System.Util
*/
@@ -20,9 +20,10 @@
* julian dates anymore.
*
* @author Fabio Bas ctrlaltca[AT]gmail[DOT]com
- * @version $Id$
+ * @version $Id: TDateTimeStamp.php 3246 2013-01-07 21:07:38Z ctrlaltca $
* @package System.Util
* @since 3.0.4
+ * @deprecated since 3.2.1
*/
class TDateTimeStamp
{
diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php
index 45102a81..32273c0c 100644
--- a/framework/Util/TLogRouter.php
+++ b/framework/Util/TLogRouter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
*/
@@ -36,7 +36,7 @@ Prado::using('System.Data.TDbConnection');
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
@@ -190,7 +190,7 @@ class TLogRouter extends TModule
* satisfying both filter conditions will they be returned.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
@@ -363,7 +363,7 @@ abstract class TLogRoute extends TApplicationComponent
* specifies how many files to be kept.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
@@ -503,7 +503,7 @@ class TFileLogRoute extends TLogRoute
* {@link setSentFrom SentFrom} address.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
@@ -629,7 +629,7 @@ class TEmailLogRoute extends TLogRoute
* TBrowserLogRoute prints selected log messages in the response.
*
* @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
@@ -816,7 +816,7 @@ EOD;
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.1.2
*/
@@ -1022,7 +1022,7 @@ class TDbLogRoute extends TLogRoute
* {@link http://www.getfirebug.com/ FireBug Website}
*
* @author Enrico Stahn <mail@enricostahn.com>, Christophe Boulain <Christophe.Boulain@gmail.com>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.1.2
*/
@@ -1099,7 +1099,7 @@ EOD;
* {@link http://www.firephp.org/ FirePHP Website}
*
* @author Yves Berkholz <godzilla80[at]gmx[dot]net>
- * @version $Id$
+ * @version $Id: TLogRouter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.1.5
*/
diff --git a/framework/Util/TLogger.php b/framework/Util/TLogger.php
index a4e2e58d..74fa22bf 100644
--- a/framework/Util/TLogger.php
+++ b/framework/Util/TLogger.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TLogger.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
*/
@@ -18,7 +18,7 @@
* log categories, and by control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLogger.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
diff --git a/framework/Util/TParameterModule.php b/framework/Util/TParameterModule.php
index 7c70bafc..9ab25936 100644
--- a/framework/Util/TParameterModule.php
+++ b/framework/Util/TParameterModule.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TParameterModule.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
*/
@@ -41,7 +41,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
- * @version $Id$
+ * @version $Id: TParameterModule.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
diff --git a/framework/Util/TSimpleDateFormatter.php b/framework/Util/TSimpleDateFormatter.php
index c7e1cba8..295a2d60 100644
--- a/framework/Util/TSimpleDateFormatter.php
+++ b/framework/Util/TSimpleDateFormatter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSimpleDateFormatter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
*/
@@ -40,7 +40,7 @@
* </code>
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSimpleDateFormatter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
diff --git a/framework/Util/TVarDumper.php b/framework/Util/TVarDumper.php
index 309c3e2e..f49a1274 100644
--- a/framework/Util/TVarDumper.php
+++ b/framework/Util/TVarDumper.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TVarDumper.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
*/
@@ -24,7 +24,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TVarDumper.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Util
* @since 3.0
*/
diff --git a/framework/Web/Javascripts/TJavaScript.php b/framework/Web/Javascripts/TJavaScript.php
index e32158c6..7f4733a2 100644
--- a/framework/Web/Javascripts/TJavaScript.php
+++ b/framework/Web/Javascripts/TJavaScript.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TJavaScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Javascripts
*/
@@ -17,7 +17,7 @@
* functions.
*
* @author Wei Zhuo<weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TJavaScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Javascripts
* @since 3.0
*/
diff --git a/framework/Web/Javascripts/packages.php b/framework/Web/Javascripts/packages.php
index 4e4d3994..65921920 100644
--- a/framework/Web/Javascripts/packages.php
+++ b/framework/Web/Javascripts/packages.php
@@ -1,6 +1,6 @@
<?php
-//$Id$
+//$Id: packages.php 3187 2012-07-12 11:21:01Z ctrlaltca $
// To make future upgrades easier
if (!defined('PROTOTYPE_DIR')) define ('PROTOTYPE_DIR', 'prototype-1.7');
diff --git a/framework/Web/Javascripts/source/prado/prado.js b/framework/Web/Javascripts/source/prado/prado.js
index 2fcb2c1e..36a08426 100644
--- a/framework/Web/Javascripts/source/prado/prado.js
+++ b/framework/Web/Javascripts/source/prado/prado.js
@@ -8,7 +8,7 @@ var Prado =
* Version of Prado clientscripts
* @var Version
*/
- Version: '3.2',
+ Version: '3.2.1',
/**
* Registry for Prado components
diff --git a/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js b/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js
index 9b526c45..3c186d3e 100644
--- a/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js
+++ b/framework/Web/Javascripts/source/prado/scriptaculous-adapter.js
@@ -202,9 +202,6 @@ Prado.PostBack = function(event,options)
/*if(options['StopEvent']) */
Event.stop(event);
Event.fireEvent(form,"submit");
-
- $('PRADO_POSTBACK_TARGET').value = '';
- $('PRADO_POSTBACK_PARAMETER').value = '';
};
/**
diff --git a/framework/Web/Services/TJsonService.php b/framework/Web/Services/TJsonService.php
index 13ec5b55..15701a9a 100644
--- a/framework/Web/Services/TJsonService.php
+++ b/framework/Web/Services/TJsonService.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TJsonService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
*/
@@ -47,7 +47,7 @@
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
- * @version $Id$
+ * @version $Id: TJsonService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
* @since 3.1
*/
@@ -172,7 +172,7 @@ class TJsonService extends TService
* will be empty if the returned content is null.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TJsonService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
* @since 3.1
*/
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php
index fd520421..8e052693 100644
--- a/framework/Web/Services/TPageService.php
+++ b/framework/Web/Services/TPageService.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPageService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
*/
@@ -70,7 +70,7 @@ Prado::using('System.Web.UI.TThemeManager');
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
- * @version $Id$
+ * @version $Id: TPageService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
* @since 3.0
*/
@@ -547,7 +547,7 @@ class TPageService extends TService
* Configurations along this path are merged together to be provided for the page.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPageService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
* @since 3.0
*/
diff --git a/framework/Web/Services/TSoapService.php b/framework/Web/Services/TSoapService.php
index 72f3e98f..2d59f462 100644
--- a/framework/Web/Services/TSoapService.php
+++ b/framework/Web/Services/TSoapService.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSoapService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
*/
@@ -296,7 +296,7 @@ class TSoapService extends TService
* It also manages the URI for the SOAP service and WSDL.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TSoapService.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.Services
* @since 3.1
*/
diff --git a/framework/Web/TAssetManager.php b/framework/Web/TAssetManager.php
index f060d71a..f29b0707 100644
--- a/framework/Web/TAssetManager.php
+++ b/framework/Web/TAssetManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TAssetManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
*/
@@ -38,7 +38,7 @@
* pointing to a valid directory writable by the Web server process.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TAssetManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
diff --git a/framework/Web/TCacheHttpSession.php b/framework/Web/TCacheHttpSession.php
index 177dae09..d658c0f3 100644
--- a/framework/Web/TCacheHttpSession.php
+++ b/framework/Web/TCacheHttpSession.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCacheHttpSession.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.1.1
*/
@@ -36,7 +36,7 @@
*
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCacheHttpSession.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.1.1
*/
diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php
index 8e58d304..7752d54d 100644
--- a/framework/Web/THttpRequest.php
+++ b/framework/Web/THttpRequest.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THttpRequest.php 3253 2013-01-16 08:57:12Z ctrlaltca $
* @package System.Web
*/
@@ -64,7 +64,7 @@ Prado::using('System.Web.TUrlManager');
* request module. It can be accessed via {@link TApplication::getRequest()}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpRequest.php 3253 2013-01-16 08:57:12Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
@@ -893,7 +893,7 @@ class THttpRequest extends TApplicationComponent implements IteratorAggregate,Ar
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpRequest.php 3253 2013-01-16 08:57:12Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
@@ -981,7 +981,7 @@ class THttpCookieCollection extends TList
* domain, path, expire, and secure.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpRequest.php 3253 2013-01-16 08:57:12Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
@@ -1156,7 +1156,7 @@ class THttpCookie extends TComponent
* - fragment: anchor
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpRequest.php 3253 2013-01-16 08:57:12Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
@@ -1323,7 +1323,7 @@ class TUri extends TComponent
* - HiddenPath: the URL format is like /path/to/name1,value1/name2,value2...
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpRequest.php 3253 2013-01-16 08:57:12Z ctrlaltca $
* @package System.Web
* @since 3.0.4
*/
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php
index 9018cfcd..ebcb9cc7 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THttpResponse.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
*/
@@ -60,7 +60,7 @@ Prado::using('System.Web.THttpResponseAdapter');
* will force the browser to ask for a username and a password.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpResponse.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php
index 3a661f2a..f32b7063 100644
--- a/framework/Web/THttpSession.php
+++ b/framework/Web/THttpSession.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THttpSession.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
*/
@@ -57,7 +57,7 @@
* and {@link getTimeout TimeOut} are configurable properties of THttpSession.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpSession.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
@@ -628,7 +628,7 @@ class THttpSession extends TApplicationComponent implements IteratorAggregate,Ar
* for traversing the session variables.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpSession.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
@@ -717,7 +717,7 @@ class TSessionIterator implements Iterator
* - Only: using cookie only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpSession.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0.4
*/
diff --git a/framework/Web/THttpUtility.php b/framework/Web/THttpUtility.php
index 91cff42e..128dee55 100644
--- a/framework/Web/THttpUtility.php
+++ b/framework/Web/THttpUtility.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THttpUtility.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
*/
@@ -14,7 +14,7 @@
* THttpUtility class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THttpUtility.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0
*/
diff --git a/framework/Web/TUrlMapping.php b/framework/Web/TUrlMapping.php
index b5a09f14..ecbe5935 100644
--- a/framework/Web/TUrlMapping.php
+++ b/framework/Web/TUrlMapping.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TUrlMapping.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
*/
@@ -63,7 +63,7 @@ Prado::using('System.Collections.TAttributeCollection');
* in the GET variables.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TUrlMapping.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0.5
*/
@@ -450,7 +450,7 @@ class TUrlMapping extends TUrlManager
*
* <url ServiceParameter="adminpages.*" pattern="admin/{*}/{id}" parameters.id="\d+" />
*
- * To enable automatic parameter encoding in a path format from wildcard patterns you can set
+ * To enable automatic parameter encoding in a path format fro wildcard patterns you can set
* {@setUrlFormat UrlFormat} to 'Path':
*
* <url ServiceParameter="adminpages.*" pattern="admin/{*}" UrlFormat="Path" />
@@ -465,19 +465,8 @@ class TUrlMapping extends TUrlManager
*
* <tt>.../index.php/admin/listuser/param1-value1/param2-value2</tt>.
*
- * Since 3.2.2 you can also add a list of "constants" parameters that can be used just
- * like the original "parameters" parameters, except that the supplied value will be treated
- * as a simple string constant instead of a regular expression. For example
- *
- * <url ServiceParameter="MyPage" pattern="/mypage/mypath/list/detail/{pageidx}" parameters.pageidx="\d+" constants.listtype="detailed"/>
- * <url ServiceParameter="MyPage" pattern="/mypage/mypath/list/summary/{pageidx}" parameters.pageidx="\d+" constants.listtype="summarized"/>
- *
- * These rules, when matched by the actual request, will make the application see a "lisstype" parameter present
- * (even through not supplied in the request) and equal to "detailed" or "summarized", depending on the friendly url matched.
- * The constants is practically a table-based validation and translation of specified, fixed-set parameter values.
- *
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TUrlMapping.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.0.5
*/
@@ -496,14 +485,10 @@ class TUrlMappingPattern extends TComponent
*/
private $_pattern;
/**
- * @var TAttributeCollection parameter regular expressions.
+ * @var TMap parameter regular expressions.
*/
private $_parameters;
/**
- * @var TAttributeCollection of constant parameters.
- */
- protected $_constants;
- /**
* @var string regular expression pattern.
*/
private $_regexp='';
@@ -533,6 +518,8 @@ class TUrlMappingPattern extends TComponent
public function __construct(TUrlManager $manager)
{
$this->_manager=$manager;
+ $this->_parameters=new TAttributeCollection;
+ $this->_parameters->setCaseSensitive(true);
}
/**
@@ -565,16 +552,12 @@ class TUrlMappingPattern extends TComponent
{
$params=array();
$values=array();
- if ($this->_parameters)
+ foreach($this->_parameters as $key=>$value)
{
- foreach($this->_parameters as $key=>$value)
- {
- $params[]='{'.$key.'}';
- $values[]='(?P<'.$key.'>'.$value.')';
- }
+ $params[]='{'.$key.'}';
+ $values[]='(?P<'.$key.'>'.$value.')';
}
- if ($this->getIsWildCardPattern())
- {
+ if ($this->getIsWildCardPattern()) {
$params[]='{*}';
// service parameter must not contain '=' and '/'
$values[]='(?P<'.$this->getServiceID().'>[^=/]+)';
@@ -677,11 +660,6 @@ class TUrlMappingPattern extends TComponent
*/
public function getParameters()
{
- if (!$this->_parameters)
- {
- $this->_parameters=new TAttributeCollection;
- $this->_parameters->setCaseSensitive(true);
- }
return $this->_parameters;
}
@@ -694,20 +672,6 @@ class TUrlMappingPattern extends TComponent
}
/**
- * @return TAttributeCollection constanst parameter key value pairs.
- * @since 3.2.2
- */
- public function getConstants()
- {
- if (!$this->_constants)
- {
- $this->_constants = new TAttributeCollection;
- $this->_constants->setCaseSensitive(true);
- }
- return $this->_constants;
- }
-
- /**
* Uses URL pattern (or full regular expression if available) to
* match the given url path.
* @param THttpRequest the request module
@@ -744,12 +708,6 @@ class TUrlMappingPattern extends TComponent
unset($matches['urlparams']);
}
- if(count($matches) > 0 && $this->_constants)
- {
- foreach($this->_constants->toArray() as $key=>$value)
- $matches[$key] = $value;
- }
-
return $matches;
}
@@ -797,7 +755,7 @@ class TUrlMappingPattern extends TComponent
* Changing the UrlFormat will affect {@link constructUrl} and how GET variables
* are parsed.
* @param THttpRequestUrlFormat the format of URLs.
- * @since 3.1.4
+ * @param since 3.1.4
*/
public function setUrlFormat($value)
{
@@ -851,24 +809,10 @@ class TUrlMappingPattern extends TComponent
{
if(!$this->_customUrl || $this->getPattern()===null)
return false;
- if ($this->_parameters)
- {
- foreach($this->_parameters as $key=>$value)
- {
- if(!isset($getItems[$key]))
- return false;
- }
- }
-
- if ($this->_constants)
+ foreach($this->_parameters as $key=>$value)
{
- foreach($this->_constants->toArray() as $key=>$value)
- {
- if (!isset($getItems[$key]))
- return false;
- if ($getItems[$key]!=$value)
- return false;
- }
+ if(!isset($getItems[$key]))
+ return false;
}
return true;
}
@@ -883,20 +827,12 @@ class TUrlMappingPattern extends TComponent
*/
public function constructUrl($getItems,$encodeAmpersand,$encodeGetItems)
{
- if ($this->_constants)
- {
- foreach($this->_constants->toArray() as $key=>$value)
- {
- unset($getItems[$key]);
- }
- }
-
$extra=array();
$replace=array();
// for the GET variables matching the pattern, put them in the URL path
foreach($getItems as $key=>$value)
{
- if($this->_parameters && ($this->_parameters->contains($key) || $key==='*' && $this->getIsWildCardPattern()))
+ if($this->_parameters->contains($key) || $key==='*' && $this->getIsWildCardPattern())
$replace['{'.$key.'}']=$encodeGetItems ? rawurlencode($value) : $value;
else
$extra[$key]=$value;
@@ -994,7 +930,7 @@ class TUrlMappingPattern extends TComponent
* URL prefix behavior that can be used by {@link TUrlMappingPattern::constructUrl()}.
*
* @author Yves Berkholz <godzilla80[at]gmx[dot]net>
- * @version $Id$
+ * @version $Id: TUrlMapping.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web
* @since 3.2
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveButton.php b/framework/Web/UI/ActiveControls/TActiveButton.php
index 9cc7f119..16ba5339 100644
--- a/framework/Web/UI/ActiveControls/TActiveButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveButton.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -29,7 +29,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* will update the button's caption upon callback response completion.
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
- * @version $Id$
+ * @version $Id: TActiveButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBox.php b/framework/Web/UI/ActiveControls/TActiveCheckBox.php
index 44c8fb2d..6221150d 100644
--- a/framework/Web/UI/ActiveControls/TActiveCheckBox.php
+++ b/framework/Web/UI/ActiveControls/TActiveCheckBox.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveCheckBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -26,7 +26,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* changed during a callback.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveCheckBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php
index 5552f3fa..d51c4d95 100644
--- a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php
+++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveCheckBoxList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -30,7 +30,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter');
* List items can not be changed dynamically during a callback request.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveCheckBoxList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
index d28b2e76..ab15f091 100644
--- a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -29,7 +29,7 @@ Prado::using('System.Web.UI.ActiveControls.TBaseActiveControl');
* corresponding client-side properties.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -197,7 +197,7 @@ class TActiveControlAdapter extends TControlAdapter
* Tracking changes to the page state during callback.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -387,7 +387,7 @@ class TCallbackPageStateTracker
* Calculates the viewstate changes during the request.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -431,7 +431,7 @@ abstract class TViewStateDiff
* Calculate the changes to a scalar value.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -456,7 +456,7 @@ class TScalarDiff extends TViewStateDiff
* Calculates the changes to the Style properties.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -548,7 +548,7 @@ class TStyleDiff extends TViewStateDiff
* Calculate the changes to attributes collection.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php
index 63c9e1e3..cc2a54a1 100644
--- a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php
+++ b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveCustomValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -28,7 +28,7 @@ Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide');
* will be true when validation is made during a callback request.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveCustomValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -186,7 +186,7 @@ class TActiveCustomValidator extends TCustomValidator
* Custom Validator callback client side options class.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveCustomValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
index ff6629b6..bfac83a0 100755
--- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php
+++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -25,7 +25,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
*
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
- * @version $Id$
+ * @version $Id: TActiveDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1.3
*/
@@ -176,7 +176,7 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
* as parameter to this event
*
* @author Fabio Bas <ctrlaltca[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.2.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveDropDownList.php b/framework/Web/UI/ActiveControls/TActiveDropDownList.php
index a5d0087c..f0f8bba2 100644
--- a/framework/Web/UI/ActiveControls/TActiveDropDownList.php
+++ b/framework/Web/UI/ActiveControls/TActiveDropDownList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveDropDownList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -31,7 +31,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter');
* List items can be changed dynamically during a callback request.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveDropDownList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php
index 6c6d4bd1..10aa2ed3 100755
--- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php
+++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php
@@ -5,7 +5,7 @@
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
* @author Gabor Berczi <gabor.berczi@devworx.hu> (issue 349 remote vulnerability fix)
- * @version $Id$
+ * @version $Id: TActiveFileUpload.php 3232 2013-01-02 14:42:24Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -39,7 +39,7 @@ Prado::using('System.Web.UI.WebControls.TFileUpload');
*
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
- * @version $Id$
+ * @version $Id: TActiveFileUpload.php 3232 2013-01-02 14:42:24Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
class TActiveFileUpload extends TFileUpload implements IActiveControl, ICallbackEventHandler, INamingContainer
@@ -454,7 +454,7 @@ EOS;
*
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
- * @version $Id$
+ * @version $Id: TActiveFileUpload.php 3232 2013-01-02 14:42:24Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
class TActiveFileUploadCallbackParams
diff --git a/framework/Web/UI/ActiveControls/TActiveHyperLink.php b/framework/Web/UI/ActiveControls/TActiveHyperLink.php
index f8ac6f7a..6ba8a801 100644
--- a/framework/Web/UI/ActiveControls/TActiveHyperLink.php
+++ b/framework/Web/UI/ActiveControls/TActiveHyperLink.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveHyperLink.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -21,7 +21,7 @@
* {@link setNavigateUrl NavigateUrl} and {@link setTarget Target}.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveHyperLink.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveImage.php b/framework/Web/UI/ActiveControls/TActiveImage.php
index 49d5d57c..752c7a04 100644
--- a/framework/Web/UI/ActiveControls/TActiveImage.php
+++ b/framework/Web/UI/ActiveControls/TActiveImage.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveImage.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -19,7 +19,7 @@
* a callback request.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveImage.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveImageButton.php b/framework/Web/UI/ActiveControls/TActiveImageButton.php
index 49f19b79..b2aa9960 100644
--- a/framework/Web/UI/ActiveControls/TActiveImageButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveImageButton.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveImageButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -21,7 +21,7 @@
* and it is raise <b>after</b> the {@link onClick OnClick} event.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveImageButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveLabel.php b/framework/Web/UI/ActiveControls/TActiveLabel.php
index 26b3abf8..4fd19a56 100644
--- a/framework/Web/UI/ActiveControls/TActiveLabel.php
+++ b/framework/Web/UI/ActiveControls/TActiveLabel.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveLabel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -26,7 +26,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* the client-side "for" attribute on the label.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveLabel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveLinkButton.php b/framework/Web/UI/ActiveControls/TActiveLinkButton.php
index 5b1e98b9..b95dad88 100644
--- a/framework/Web/UI/ActiveControls/TActiveLinkButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveLinkButton.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveLinkButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -29,7 +29,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* will update the link text upon callback response completion.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveLinkButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveListBox.php b/framework/Web/UI/ActiveControls/TActiveListBox.php
index 32a49425..dfb4bf6e 100644
--- a/framework/Web/UI/ActiveControls/TActiveListBox.php
+++ b/framework/Web/UI/ActiveControls/TActiveListBox.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveListBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -21,7 +21,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter');
* List items can be added dynamically during a callback request.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveListBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
index ead3d10c..e48b9364 100644
--- a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveListControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -23,7 +23,7 @@ Prado::using('System.Web.UI.WebControls.TListControl');
* during callback response.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveListControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -170,7 +170,7 @@ class TActiveListControlAdapter extends TActiveControlAdapter implements IListCo
* repopulate the client-side options.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveListControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActivePageAdapter.php b/framework/Web/UI/ActiveControls/TActivePageAdapter.php
index 30fc32e8..5e86f8b8 100644
--- a/framework/Web/UI/ActiveControls/TActivePageAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActivePageAdapter.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActivePageAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -25,7 +25,7 @@ Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
* @author Gabor Berczi <gabor.berczi@devworx.hu> (lazyload additions & progressive rendering)
- * @version $Id$
+ * @version $Id: TActivePageAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -331,7 +331,7 @@ class TActivePageAdapter extends TControlAdapter
* the error stack trace.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActivePageAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -391,7 +391,7 @@ class TCallbackErrorHandler extends TErrorHandler
* TInvalidCallbackException class.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActivePageAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActivePager.php b/framework/Web/UI/ActiveControls/TActivePager.php
index f7ebbea7..7dcd3212 100644
--- a/framework/Web/UI/ActiveControls/TActivePager.php
+++ b/framework/Web/UI/ActiveControls/TActivePager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActivePager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -25,7 +25,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* and it is raise <b>after</b> the {@link onPageIndexChanged OnPageIndexChanged} event.
*
* @author "gevik" (forum contributor) and Christophe Boulain (Christophe.Boulain@gmail.com)
- * @version $Id$
+ * @version $Id: TActivePager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1.2
*/
diff --git a/framework/Web/UI/ActiveControls/TActivePanel.php b/framework/Web/UI/ActiveControls/TActivePanel.php
index 4c170549..39636cad 100644
--- a/framework/Web/UI/ActiveControls/TActivePanel.php
+++ b/framework/Web/UI/ActiveControls/TActivePanel.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActivePanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -32,7 +32,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* </code>
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActivePanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButton.php b/framework/Web/UI/ActiveControls/TActiveRadioButton.php
index fbcb8bae..d192536a 100644
--- a/framework/Web/UI/ActiveControls/TActiveRadioButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveRadioButton.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRadioButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -25,7 +25,7 @@
* and can not be changed using javascript.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRadioButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
index 85658c09..c106f479 100644
--- a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
+++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveRadioButtonList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -31,7 +31,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveRadioButton');
* List items can not be changed dynamically during a callback request.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveRadioButtonList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TActiveTextBox.php b/framework/Web/UI/ActiveControls/TActiveTextBox.php
index b93f8cf4..5f96ff29 100644
--- a/framework/Web/UI/ActiveControls/TActiveTextBox.php
+++ b/framework/Web/UI/ActiveControls/TActiveTextBox.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TActiveTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -25,7 +25,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* event.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TActiveTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php
index 3d343cba..5e144040 100644
--- a/framework/Web/UI/ActiveControls/TAutoComplete.php
+++ b/framework/Web/UI/ActiveControls/TAutoComplete.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TAutoComplete.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -77,7 +77,7 @@ Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
* "informal" are ignored as text for suggestions.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TAutoComplete.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -375,7 +375,7 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer
* suggestion selected by the user, -1 if not suggestion is selected.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TAutoComplete.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -416,7 +416,7 @@ class TAutoCompleteEventParameter extends TCallbackEventParameter
* item template.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TAutoComplete.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
index 588ce423..73503f3c 100644
--- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php
+++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TBaseActiveControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -23,7 +23,7 @@ Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide');
* response returns.
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
- * @version $Id$
+ * @version $Id: TBaseActiveControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -155,7 +155,7 @@ class TBaseActiveControl extends TComponent
* </code>
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TBaseActiveControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php
index 689ce63a..2c20567c 100644
--- a/framework/Web/UI/ActiveControls/TCallback.php
+++ b/framework/Web/UI/ActiveControls/TCallback.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -37,7 +37,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
* </code>
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
index ceec06dc..40051f76 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCallbackClientScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -28,7 +28,7 @@
* </code>
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
- * @version $Id$
+ * @version $Id: TCallbackClientScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientSide.php b/framework/Web/UI/ActiveControls/TCallbackClientSide.php
index 4d1073ba..ec993c14 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientSide.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientSide.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCallbackClientSide.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -46,7 +46,7 @@
* viewstate update. This will automatically set HasPriority to true when enabled.
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
- * @version $Id$
+ * @version $Id: TCallbackClientSide.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TCallbackOptions.php b/framework/Web/UI/ActiveControls/TCallbackOptions.php
index df4ad52b..19d53aeb 100644
--- a/framework/Web/UI/ActiveControls/TCallbackOptions.php
+++ b/framework/Web/UI/ActiveControls/TCallbackOptions.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCallbackOptions.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -17,7 +17,7 @@
* to be attached to other active controls.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TCallbackOptions.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
index 6d4883b8..47b5fae4 100755
--- a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
+++ b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCallbackResponseAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -22,7 +22,7 @@
* property.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TCallbackResponseAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
@@ -110,7 +110,7 @@ class TCallbackResponseAdapter extends THttpResponseAdapter
* is generated using microtime.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TCallbackResponseAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TDraggable.php b/framework/Web/UI/ActiveControls/TDraggable.php
index 5536b407..23687207 100755
--- a/framework/Web/UI/ActiveControls/TDraggable.php
+++ b/framework/Web/UI/ActiveControls/TDraggable.php
@@ -6,7 +6,7 @@
* @copyright Copyright &copy; 2008, PradoSoft
* @license http://www.pradosoft.com/license
* @package System.Web.UI.ActiveControls
- * @version $Id$
+ * @version $Id: TDraggable.php 3247 2013-01-07 21:38:18Z ctrlaltca $
*/
class TDraggable extends TPanel
{
@@ -193,7 +193,7 @@ class TDraggable extends TPanel
* @copyright Copyright &copy; 2008, PradoSoft
* @license http://www.pradosoft.com/license
* @package System.Web.UI.ActiveControls
- * @version $Id$
+ * @version $Id: TDraggable.php 3247 2013-01-07 21:38:18Z ctrlaltca $
*/
class TDraggableGhostingOptions extends TEnumerable
{
@@ -207,7 +207,7 @@ class TDraggableGhostingOptions extends TEnumerable
* @copyright Copyright &copy; 2008, PradoSoft
* @license http://www.pradosoft.com/license
* @package System.Web.UI.ActiveControls
- * @version $Id$
+ * @version $Id: TDraggable.php 3247 2013-01-07 21:38:18Z ctrlaltca $
*/
class TDraggableRevertOptions extends TEnumerable
{
diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php
index 3b25d49e..e603adf9 100755
--- a/framework/Web/UI/ActiveControls/TDropContainer.php
+++ b/framework/Web/UI/ActiveControls/TDropContainer.php
@@ -7,7 +7,7 @@
* @license http://www.pradosoft.com/license
* @version $Id: TDropContainer.php 3159 2012-2013 PradoSoft
* @license http://www.pradosoft.com/license
- * @version $Id$
+ * @version $Id: TDropContainer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHandler
@@ -225,7 +225,7 @@ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHan
* @author Christophe BOULAIN (Christophe.Boulain@ceram.fr)
* @copyright Copyright &copy; 2008, PradoSoft
* @license http://www.pradosoft.com/license
- * @version $Id$
+ * @version $Id: TDropContainer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
class TDropContainerEventParameter extends TEventParameter
diff --git a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php
index b0a72f23..4f1dbbf8 100644
--- a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TEventTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -22,7 +22,7 @@ Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback');
* {@link setPreventDefaultAction PreventDefaultAction} is set to true.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TEventTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
index 26ec938c..5309b7e8 100644
--- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
+++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TInPlaceTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -40,7 +40,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
* the control not editable. This property can be also changed on callback
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TInPlaceTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
index ac0ed5c1..46df7a22 100644
--- a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTimeTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -26,7 +26,7 @@ Prado::using('System.Web.UI.ActiveControls.TCallback');
* {@link setStartTimerOnLoad StartTimerOnLoad} is true.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TTimeTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTriggeredCallback.php
index e8e1716f..2365326b 100644
--- a/framework/Web/UI/ActiveControls/TTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TTriggeredCallback.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -18,7 +18,7 @@ Prado::using('System.Web.UI.ActiveControls.TCallback');
* property sets the control ID to observe the trigger.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
index 92f4ca84..e9db1bed 100644
--- a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TValueTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
*/
@@ -25,7 +25,7 @@ Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback');
* observed, the polling interval is reset to the original value.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TValueTriggeredCallback.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.ActiveControls
* @since 3.1
*/
diff --git a/framework/Web/UI/TCachePageStatePersister.php b/framework/Web/UI/TCachePageStatePersister.php
index 49aa79df..4f3d60cc 100644
--- a/framework/Web/UI/TCachePageStatePersister.php
+++ b/framework/Web/UI/TCachePageStatePersister.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCachePageStatePersister.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -54,7 +54,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCachePageStatePersister.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.1.1
*/
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php
index cab002e4..8a7afdad 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TClientScriptManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -18,7 +18,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Gabor Berczi <gabor.berczi@devworx.hu> (lazyload additions & progressive rendering)
- * @version $Id$
+ * @version $Id: TClientScriptManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -758,7 +758,7 @@ class TClientScriptManager extends TApplicationComponent
* between ActiveControls and validators.
*
* @author <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TClientScriptManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -770,6 +770,14 @@ abstract class TClientSideOptions extends TComponent
private $_options;
/**
+ * Constructor, initialize the options list.
+ */
+ public function __construct()
+ {
+ $this->_options = Prado::createComponent('System.Collections.TMap');
+ }
+
+ /**
* Adds on client-side event handler by wrapping the code within a
* javascript function block. If the code begins with "javascript:", the
* code is assumed to be a javascript function block rather than arbiturary
@@ -789,10 +797,7 @@ abstract class TClientSideOptions extends TComponent
*/
protected function getOption($name)
{
- if ($this->_options)
- return $this->_options->itemAt($name);
- else
- return null;
+ return $this->_options->itemAt($name);
}
/**
@@ -801,7 +806,7 @@ abstract class TClientSideOptions extends TComponent
*/
protected function setOption($name, $value)
{
- $this->getOptions()->add($name, $value);
+ $this->_options->add($name, $value);
}
/**
@@ -809,8 +814,6 @@ abstract class TClientSideOptions extends TComponent
*/
public function getOptions()
{
- if (!$this->_options)
- $this->_options = Prado::createComponent('System.Collections.TMap');
return $this->_options;
}
diff --git a/framework/Web/UI/TCompositeControl.php b/framework/Web/UI/TCompositeControl.php
index d3d7033e..21e4c46f 100644
--- a/framework/Web/UI/TCompositeControl.php
+++ b/framework/Web/UI/TCompositeControl.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCompositeControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -16,7 +16,7 @@
* by other controls.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCompositeControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index e05f92f8..5ee20d61 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1771,7 +1771,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
* controls to maintain a list of their child controls.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1856,7 +1856,7 @@ class TControlCollection extends TList
* controls to it. This is useful for controls that do not allow child controls.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1889,7 +1889,7 @@ class TEmptyControlCollection extends TControlCollection
* INamingContainer marks a control as a naming container.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1903,7 +1903,7 @@ interface INamingContainer
* If a control wants to respond to postback event, it must implement this interface.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1924,7 +1924,7 @@ interface IPostBackEventHandler
* If a control wants to load post data, it must implement this interface.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1958,7 +1958,7 @@ interface IPostBackDataHandler
* If a control wants to validate user input, it must implement this interface.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1996,7 +1996,7 @@ interface IValidator
* If a control wants to be validated by a validator, it must implement this interface.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -2022,7 +2022,7 @@ interface IValidatable
* If a control wants to check broadcast event, it must implement this interface.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -2046,7 +2046,7 @@ interface IBroadcastEventReceiver
* This interface must be implemented by theme.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -2066,7 +2066,7 @@ interface ITheme
* parsed template structures.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -2089,7 +2089,7 @@ interface ITemplate
* {@link TImageButton}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -2194,7 +2194,7 @@ interface ISurroundable
* {@link setParameter Parameter} property.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -2256,7 +2256,7 @@ class TBroadcastEventParameter extends TEventParameter
* with the command via {@link getCommandParameter CommandParameter} property.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -2301,7 +2301,7 @@ class TCommandEventParameter extends TEventParameter
* consecutive static strings, expressions and statements.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/TControlAdapter.php b/framework/Web/UI/TControlAdapter.php
index 0a13ec0d..1ef2d1fb 100644
--- a/framework/Web/UI/TControlAdapter.php
+++ b/framework/Web/UI/TControlAdapter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -17,7 +17,7 @@
* various behaviors for the control to which the adapter is attached.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/TForm.php b/framework/Web/UI/TForm.php
index 7e9e93e0..9db8682c 100644
--- a/framework/Web/UI/TForm.php
+++ b/framework/Web/UI/TForm.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TForm.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -23,7 +23,7 @@
* URLs.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TForm.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/THtmlWriter.php b/framework/Web/UI/THtmlWriter.php
index 0898df74..9f070d5f 100644
--- a/framework/Web/UI/THtmlWriter.php
+++ b/framework/Web/UI/THtmlWriter.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THtmlWriter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -32,7 +32,7 @@
* tags in HTML and XHTML.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THtmlWriter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index e27e42a6..39656e13 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPage.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -22,7 +22,7 @@ Prado::using('System.Web.UI.TClientScriptManager');
* TPage class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPage.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -1245,7 +1245,7 @@ class TPage extends TTemplateControl
* classes.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPage.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.1
*/
diff --git a/framework/Web/UI/TPageStatePersister.php b/framework/Web/UI/TPageStatePersister.php
index 9e3dff58..7d2330b7 100644
--- a/framework/Web/UI/TPageStatePersister.php
+++ b/framework/Web/UI/TPageStatePersister.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPageStatePersister.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -22,7 +22,7 @@
* traffic for transmitting bulky page state.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPageStatePersister.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/TSessionPageStatePersister.php b/framework/Web/UI/TSessionPageStatePersister.php
index 09eb3397..5448fd22 100644
--- a/framework/Web/UI/TSessionPageStatePersister.php
+++ b/framework/Web/UI/TSessionPageStatePersister.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSessionPageStatePersister.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -39,7 +39,7 @@
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TSessionPageStatePersister.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.1
*/
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php
index c5017de9..f5780928 100644
--- a/framework/Web/UI/TTemplateControl.php
+++ b/framework/Web/UI/TTemplateControl.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTemplateControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTemplateControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index ff3eb934..91630241 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTemplateManager.php 3251 2013-01-15 18:37:04Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTemplateManager.php 3251 2013-01-15 18:37:04Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -162,7 +162,7 @@ class TTemplateManager extends TModule
* set their parent as $control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTemplateManager.php 3251 2013-01-15 18:37:04Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php
index 0a6cb3c6..ba007dc0 100644
--- a/framework/Web/UI/TThemeManager.php
+++ b/framework/Web/UI/TThemeManager.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TThemeManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TThemeManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -206,7 +206,7 @@ class TThemeManager extends TModule
* To apply a theme to a particular control, call {@link applySkin}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TThemeManager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TBaseDataList.php b/framework/Web/UI/WebControls/TBaseDataList.php
index 98364a6c..0ef22752 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TBaseDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBaseDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 c07bdd78..194ddf50 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TBaseValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -70,7 +70,7 @@ Prado::using('System.Web.UI.WebControls.TLabel');
* override the method {@link evaluateIsValid}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBaseValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -625,7 +625,7 @@ abstract class TBaseValidator extends TLabel implements IValidator
* See the quickstart documentation for further details.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TBaseValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -715,7 +715,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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBaseValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -738,7 +738,7 @@ class TValidatorDisplayStyle extends TEnumerable
* - String
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBaseValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 c7ae0d8a..7534fcbc 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TBoundColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -42,7 +42,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn');
* For more details, see {@link TRepeater} and {@link TDataList}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBoundColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php
index 6ac0b597..e5c17b38 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TBulletedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBulletedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -414,7 +414,7 @@ class TBulletedList extends TListControl implements IPostBackEventHandler
* of the item that is currently being clicked.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBulletedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -449,7 +449,7 @@ class TBulletedListEventParameter extends TEventParameter
* for a {@link TBulletedList} control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBulletedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -479,7 +479,7 @@ class TBulletStyle extends TEnumerable
* - LinkButton: the bulleted list items are displayed as link buttons that can cause postbacks
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TBulletedList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 c7a693e5..e7d0f5bf 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -43,7 +43,7 @@
* if the button does not cause a postback.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -355,7 +355,7 @@ class TButton extends TWebControl implements IPostBackEventHandler, IButtonContr
* - Button: a client button (normally does not perform form submission)
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 e2c69208..7a0484c3 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TButtonColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TButtonColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TCaptcha.php b/framework/Web/UI/WebControls/TCaptcha.php
index 4ab536a7..79f402a5 100644
--- a/framework/Web/UI/WebControls/TCaptcha.php
+++ b/framework/Web/UI/WebControls/TCaptcha.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCaptcha.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -57,7 +57,7 @@ Prado::using('System.Web.UI.WebControls.TImage');
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCaptcha.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
diff --git a/framework/Web/UI/WebControls/TCaptchaValidator.php b/framework/Web/UI/WebControls/TCaptchaValidator.php
index 45b5f522..c8cc7aea 100644
--- a/framework/Web/UI/WebControls/TCaptchaValidator.php
+++ b/framework/Web/UI/WebControls/TCaptchaValidator.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCaptchaValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -31,7 +31,7 @@ Prado::using('System.Web.UI.WebControls.TCaptcha');
* the CAPTCHA control that the user input should be compared with.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCaptchaValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php
index b853a88c..e12946be 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCheckBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -36,7 +36,7 @@
* that may bring security vulnerabilities.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCheckBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -519,7 +519,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl
* - Right: right aligned
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCheckBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 eb433f08..c0206676 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCheckBoxColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCheckBoxColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php
index 5d0e8d53..ac278a16 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCheckBoxList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCheckBoxList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 ff45513e..f28a507a 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TClientScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -40,7 +40,7 @@
* generation cycle.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TClientScript.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 ea0b5e6c..fcb129b9 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TColorPicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -33,7 +33,7 @@
* and <b>CancelButtonText</b> properties.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TColorPicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -248,7 +248,7 @@ class TColorPicker extends TTextBox
* # Full - Full-featured color picker.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TColorPicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -265,7 +265,7 @@ class TColorPickerMode extends TEnumerable
* Client-side javascript code options.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TColorPicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1
*/
diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php
index afa53742..eaaa8f51 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCompareValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -40,7 +40,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator');
* LessThan and LessThanEqual.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCompareValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -249,7 +249,7 @@ class TCompareValidator extends TBaseValidator
* - LessThanEqual
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCompareValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
diff --git a/framework/Web/UI/WebControls/TConditional.php b/framework/Web/UI/WebControls/TConditional.php
index 35deb0e5..054e1a76 100644
--- a/framework/Web/UI/WebControls/TConditional.php
+++ b/framework/Web/UI/WebControls/TConditional.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TConditional.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -39,7 +39,7 @@
* or {@link getFalseTemplate FalseTemplate}, but never both. And the condition is evaluated only once.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TConditional.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php
index ca65b83b..f0a67674 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TContent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -25,7 +25,7 @@
* {@link TContent} and {@link TContentPlaceHolder} controls.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TContent.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 026788f2..d9464fa3 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TContentPlaceHolder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -24,7 +24,7 @@
* {@link TContent} and {@link TContentPlaceHolder} controls.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TContentPlaceHolder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 1add5f49..b4987f06 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TCustomValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -48,7 +48,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator');
* with the TCustomValidator.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCustomValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -153,7 +153,7 @@ class TCustomValidator extends TBaseValidator
* <b>OnServerValidate</b> event of TCustomValidator components.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TCustomValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 754959f3..08d130c1 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataBoundControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataBoundControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -527,7 +527,7 @@ abstract class TDataBoundControl extends TWebControl
* - Pager: pager
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataBoundControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -553,7 +553,7 @@ class TListItemType extends TEnumerable
* {@link getItemType ItemType} property.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataBoundControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.0
*/
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php
index 732b3dbf..249d8108 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -145,7 +145,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridPagerStyle');
* - Save the data in viewstate and get it back during postbacks.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1680,7 +1680,7 @@ class TDataGrid extends TBaseDataList implements INamingContainer
* The {@link getItem Item} property indicates the datagrid item related with the event.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1718,7 +1718,7 @@ class TDataGridItemEventParameter extends TEventParameter
* The {@link getPager Pager} property indicates the datagrid pager related with the event.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1759,7 +1759,7 @@ class TDataGridPagerEventParameter extends TEventParameter
* raises the Command event.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1815,7 +1815,7 @@ class TDataGridCommandEventParameter extends TCommandEventParameter
* gives the sort expression carried with the sort command.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1869,7 +1869,7 @@ class TDataGridSortCommandEventParameter extends TEventParameter
* returns the new page index carried with the page command.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1923,7 +1923,7 @@ class TDataGridPageChangedEventParameter extends TEventParameter
* gives the index of the item from the bound data source.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2060,7 +2060,7 @@ class TDataGridItem extends TTableRow implements INamingContainer
* TDataGridPager represents a datagrid pager.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2119,7 +2119,7 @@ class TDataGridPager extends TPanel implements INamingContainer
* TDataGridItemCollection represents a collection of data grid items.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2147,7 +2147,7 @@ class TDataGridItemCollection extends TList
* TDataGridColumnCollection represents a collection of data grid columns.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2204,7 +2204,7 @@ class TDataGridColumnCollection extends TList
* - Numeric: pager buttons are displayed as numeric page numbers
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -2224,7 +2224,7 @@ class TDataGridPagerMode extends TEnumerable
* - PushButton: form submit buttons
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -2245,7 +2245,7 @@ class TDataGridPagerButtonType extends TEnumerable
* - TopAndBottom: pager appears on both top and bottom of the data grid.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGrid.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 a1709a3e..ad3be81f 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataGridColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -58,7 +58,7 @@ Prado::using('System.Web.UI.WebControls.TDataGrid');
* which is the major logic for managing the data and presentation of cells in the column.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGridColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -554,7 +554,7 @@ abstract class TDataGridColumn extends TApplicationComponent
* - ImageButton: image buttons
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGridColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
diff --git a/framework/Web/UI/WebControls/TDataGridItemRenderer.php b/framework/Web/UI/WebControls/TDataGridItemRenderer.php
index 98d86e2b..6e37a739 100644
--- a/framework/Web/UI/WebControls/TDataGridItemRenderer.php
+++ b/framework/Web/UI/WebControls/TDataGridItemRenderer.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataGridItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -20,7 +20,7 @@ Prado::using('System.Web.UI.WebControls.TItemDataRenderer');
* define an item renderer class specific for {@link TDataGrid}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGridItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.0
*/
diff --git a/framework/Web/UI/WebControls/TDataGridPagerStyle.php b/framework/Web/UI/WebControls/TDataGridPagerStyle.php
index 6e43b3b7..31c0380b 100644
--- a/framework/Web/UI/WebControls/TDataGridPagerStyle.php
+++ b/framework/Web/UI/WebControls/TDataGridPagerStyle.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataGridPagerStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -18,7 +18,7 @@ Prado::using('System.Web.UI.WebControls.TDataGrid');
* TDataGridPagerStyle specifies the styles available for a datagrid pager.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataGridPagerStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php
index 1a7233cb..6b3c4a73 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -146,7 +146,7 @@ Prado::using('System.Web.UI.WebControls.TRepeatInfo');
* complex data may also have serializing problem if saved in viewstate.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1499,7 +1499,7 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs
* The {@link getItem Item} property indicates the DataList item related with the event.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1540,7 +1540,7 @@ class TDataListItemEventParameter extends TEventParameter
* raises the Command event.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1595,7 +1595,7 @@ class TDataListCommandEventParameter extends TCommandEventParameter
* is given by {@link getItemType ItemType} property.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1742,7 +1742,7 @@ class TDataListItem extends TWebControl implements INamingContainer, IItemDataRe
* TDataListItemCollection represents a collection of data list items.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TDataListItemRenderer.php b/framework/Web/UI/WebControls/TDataListItemRenderer.php
index e191660d..df63c1f2 100644
--- a/framework/Web/UI/WebControls/TDataListItemRenderer.php
+++ b/framework/Web/UI/WebControls/TDataListItemRenderer.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataListItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -26,7 +26,7 @@ Prado::using('System.Web.UI.WebControls.TItemDataRenderer');
* which allows TDataList to apply CSS styles to the renders.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataListItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.0
*/
diff --git a/framework/Web/UI/WebControls/TDataRenderer.php b/framework/Web/UI/WebControls/TDataRenderer.php
index 72023a49..8bde0152 100644
--- a/framework/Web/UI/WebControls/TDataRenderer.php
+++ b/framework/Web/UI/WebControls/TDataRenderer.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.2
*/
@@ -22,7 +22,7 @@
* - {@link getData Data}: data associated with this renderer.
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.2
*/
diff --git a/framework/Web/UI/WebControls/TDataSourceControl.php b/framework/Web/UI/WebControls/TDataSourceControl.php
index 51a705a2..93037c03 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataSourceControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -14,7 +14,7 @@
* IDataSource class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataSourceControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -29,7 +29,7 @@ interface IDataSource
* TDataSourceControl class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataSourceControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -90,7 +90,7 @@ abstract class TDataSourceControl extends TControl implements IDataSource
* TDataSourceControl class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataSourceControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 05d58fd1..1e1ad7a9 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataSourceView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -14,7 +14,7 @@
* TDataSourceSelectParameters class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataSourceView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -76,7 +76,7 @@ class TDataSourceSelectParameters extends TComponent
* TDataSourceView class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataSourceView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -179,7 +179,7 @@ abstract class TDataSourceView extends TComponent
* TReadOnlyDataSourceView class
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDataSourceView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 ad482cae..b9ddbf6c 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDataTypeValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDataTypeValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 f45b246e..f2448fcc 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -73,7 +73,7 @@ Prado::using('System.Web.UI.WebControls.TTextBox');
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
- * @version $Id$
+ * @version $Id: TDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -906,7 +906,7 @@ class TDatePicker extends TTextBox
* as parameter to this event
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -940,7 +940,7 @@ class TDatePickerClientScript extends TClientSideOptions
* - DropDownList: dropdown lists are used to pick up date values
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -962,7 +962,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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDatePicker.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 f13333cb..8dda857b 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDropDownList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -39,7 +39,7 @@ Prado::using('System.Web.UI.WebControls.TListControl');
* available item in the dropdown list will be selected.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDropDownList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 a1c15a39..40e07aef 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TDropDownListColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -54,7 +54,7 @@ Prado::using('System.Web.UI.WebControls.TDropDownList');
* datagrid cell is the first child.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TDropDownListColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php
index d0b71213..2f69c001 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TEditCommandColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TEditCommandColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TEmailAddressValidator.php b/framework/Web/UI/WebControls/TEmailAddressValidator.php
index 97d6682a..3bfd3e7b 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TEmailAddressValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TEmailAddressValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 996b75a7..3cb1aa8c 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TExpression.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -22,7 +22,7 @@
* make sure {@link setExpression Expression} does not come directly from user input.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TExpression.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 8a27ff3e..c6dc595a 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TFileUpload.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -28,7 +28,7 @@
* (whether it succeeds or not).
*
* @author Marcus Nyeholt <tanus@users.sourceforge.net>, Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TFileUpload.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TFont.php b/framework/Web/UI/WebControls/TFont.php
index 4f6208f6..12da993b 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TFont.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -16,7 +16,7 @@
* TFont encapsulates the CSS style fields related with font settings.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TFont.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 80aef41c..52ce3013 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THead.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
*/
@@ -37,7 +37,7 @@
* theme will not be rendered.
*
* @author Marcus Nyeholt <tanus@users.sourceforge.net> and Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THead.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI
* @since 3.0
*/
@@ -186,7 +186,7 @@ class THead extends TControl
* attributes for a meta tag, respectively.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THead.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THead.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 95457b1d..041acdb2 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 &copy; 2005-2013 PradoSoft
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
- * @version $Id$
+ * @version $Id: THiddenField.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -19,7 +19,7 @@
* event will be raised.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THiddenField.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 7a335dac..9d9ff3fa 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THtmlArea.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -72,7 +72,7 @@ Prado::using('System.Web.UI.WebControls.TTextBox');
* </code>
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: THtmlArea.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/THtmlElement.php b/framework/Web/UI/WebControls/THtmlElement.php
index c86564ae..5646a6ff 100644
--- a/framework/Web/UI/WebControls/THtmlElement.php
+++ b/framework/Web/UI/WebControls/THtmlElement.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THtmlElement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -23,7 +23,7 @@ Prado::using('System.Web.UI.WebControls.TWebControl');
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Brad Anderson <javalizard@gmail.com>
- * @version $Id$
+ * @version $Id: THtmlElement.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.2
*/
diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php
index eb0ae32b..bc6c3642 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 &copy; 2005-2013 PradoSoft
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
- * @version $Id$
+ * @version $Id: THyperLink.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -23,7 +23,7 @@
* the content enclosed within the control tag will be rendered.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THyperLink.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 723ada49..171accad 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: THyperLinkColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: THyperLinkColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TImage.php b/framework/Web/UI/WebControls/TImage.php
index 6867ea0c..04a6d116 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TImage.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -21,7 +21,7 @@
* or {@link setDescriptionUrl DescriptionUrl} property, respectively.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImage.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 9c78b572..0ee52a94 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TImageButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -378,7 +378,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven
* {@link TImageButton::onClick Click} event of {@link TImageButton} controls.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 bee286c8..340f5089 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -33,7 +33,7 @@ Prado::using('System.Web.UI.WebControls.TImage');
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -293,7 +293,7 @@ class THotSpotCollection extends TList
* and {@link TRectangleHotSpot}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -604,7 +604,7 @@ abstract class THotSpot extends TComponent
* control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -682,7 +682,7 @@ class TCircleHotSpot extends THotSpot
* TImageMap} control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -776,7 +776,7 @@ class TRectangleHotSpot extends THotSpot
* TImageMap} control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -823,7 +823,7 @@ class TPolygonHotSpot extends THotSpot
* - Inactive: the hotspot is inactive (not clickable)
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TImageMap.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 87ed0d32..2c1371aa 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TInlineFrame.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -27,7 +27,7 @@
* Original Prado v2 IFrame Author Information
* @author Jason Ragsdale <jrags@jasrags.net>
* @author Harry Pottash <hpottash@gmail.com>
- * @version $Id$
+ * @version $Id: TInlineFrame.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -239,7 +239,7 @@ class TInlineFrame extends TWebControl implements IDataRenderer
* - Bottom: bottom aligned
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TInlineFrame.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -264,7 +264,7 @@ class TInlineFrameAlign extends TEnumerable
* - Both: show both horizontal and vertical scroll bars all the time.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TInlineFrame.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
diff --git a/framework/Web/UI/WebControls/TItemDataRenderer.php b/framework/Web/UI/WebControls/TItemDataRenderer.php
index 4bfb6839..2809e046 100644
--- a/framework/Web/UI/WebControls/TItemDataRenderer.php
+++ b/framework/Web/UI/WebControls/TItemDataRenderer.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TItemDataRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.2
*/
@@ -28,7 +28,7 @@ Prado::using('System.Web.UI.WebControls.TDataRenderer');
* - {@link getData Data}: data associated with this renderer
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TItemDataRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.2
*/
diff --git a/framework/Web/UI/WebControls/TJavascriptLogger.php b/framework/Web/UI/WebControls/TJavascriptLogger.php
index 60496388..a2f1c1c2 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TJavascriptLogger.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -26,7 +26,7 @@
* http://web.archive.org/web/20060512041505/gleepglop.com/javascripts/logger/
*
* @author Wei Zhuo<weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TJavascriptLogger.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php
index 1ec4cd64..1260c5af 100644
--- a/framework/Web/UI/WebControls/TKeyboard.php
+++ b/framework/Web/UI/WebControls/TKeyboard.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TKeyboard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -33,7 +33,7 @@
* also be changed by specifying {@link setKeyboardCssClass KeyboardCssClass}.
*
* @author Sergey Morkovkin <sergeymorkovkin@mail.ru> and Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TKeyboard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
diff --git a/framework/Web/UI/WebControls/TLabel.php b/framework/Web/UI/WebControls/TLabel.php
index 8bf7b759..4552b1a5 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TLabel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLabel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 7bc80f85..a9e6f4cf 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TLinkButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -50,7 +50,7 @@
* as an image button by enclosing an &lt;img&gt; tag as the body of TLinkButton.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLinkButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 e0ae4338..a616a2be 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TListBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -32,7 +32,7 @@ Prado::using('System.Web.UI.WebControls.TListControl');
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TListBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -250,7 +250,7 @@ class TListBox extends TListControl implements IPostBackDataHandler, IValidatabl
* - Multiple: allow multiple selection
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TListBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 5780605a..2cd430d6 100644
--- a/framework/Web/UI/WebControls/TListControl.php
+++ b/framework/Web/UI/WebControls/TListControl.php
@@ -8,7 +8,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TListControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -76,7 +76,7 @@ Prado::using('System.Util.TDataFieldAccessor');
* for an explanation of the format string.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TListControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 d9c1ba20..7d9801ef 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TListControlValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -57,7 +57,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator');
* </code>
*
* @author Xiang Wei Zhuo <weizhuo[at]gmail.com>
- * @version $Id$
+ * @version $Id: TListControlValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 4c10a5c3..e9bfa175 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TListItem.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -21,7 +21,7 @@
* if the list control supports so.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TListItem.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 a5123725..da195f50 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TLiteral.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -27,7 +27,7 @@
* does not contain unwanted characters that may bring security vulnerabilities.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TLiteral.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 8538403b..1a2855eb 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMarkdown.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TMarkdown.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 bbe7c8ee..286f4e95 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TMultiView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -32,7 +32,7 @@
* when its active view is changed during a postback.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TMultiView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TMultiView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TMultiView.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TOutputCache.php b/framework/Web/UI/WebControls/TOutputCache.php
index 93ce2757..89c0c849 100644
--- a/framework/Web/UI/WebControls/TOutputCache.php
+++ b/framework/Web/UI/WebControls/TOutputCache.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TOutputCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -63,7 +63,7 @@
* to determine whether the content is cached or not.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TOutputCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1
*/
@@ -503,7 +503,7 @@ class TOutputCache extends TControl implements INamingContainer
* <b>OnCheckDependency</b> event of {@link TOutputCache} control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TOutputCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -555,7 +555,7 @@ class TOutputCacheCheckDependencyEventParameter extends TEventParameter
* <b>OnCalculateKey</b> event of {@link TOutputCache} control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TOutputCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -591,7 +591,7 @@ class TOutputCacheCalculateKeyEventParameter extends TEventParameter
*
* @author Gabor Berczi, DevWorx Hungary <gabor.berczi@devworx.hu>
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TOutputCache.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.2
*/
diff --git a/framework/Web/UI/WebControls/TPager.php b/framework/Web/UI/WebControls/TPager.php
index 96bd9c22..6379fedd 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -45,7 +45,7 @@
* Multiple pagers can be associated with the same data-bound control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.2
*/
@@ -727,7 +727,7 @@ class TPager extends TWebControl implements INamingContainer
* returns the new page index carried with the page command.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.2
*/
@@ -781,7 +781,7 @@ class TPagerPageChangedEventParameter extends TEventParameter
* - DropDownList: a dropdown list is used to select pages
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -802,7 +802,7 @@ class TPagerMode extends TEnumerable
* - PushButton: form submit buttons
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPager.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 d0ce96b0..cf20a864 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 77c25e58..cb49b715 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPanelStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPanelStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPanelStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPanelStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 af27872a..020141cf 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TPlaceHolder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -18,7 +18,7 @@
* by manipulating the {@link TControl::getControls Controls} property.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TPlaceHolder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 8a3f8870..144704b4 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRadioButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -49,7 +49,7 @@ Prado::using('System.Web.UI.WebControls.TRadioButtonList');
* that may bring security vulnerabilities.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRadioButton.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 74613d21..d93caaa2 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRadioButtonList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRadioButtonList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 3a12db45..8b7550c8 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRangeValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -46,7 +46,7 @@ Prado::using('System.Web.UI.WebControls.TBaseValidator');
* defaulted as UTF-8.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRangeValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -350,7 +350,7 @@ class TRangeValidator extends TBaseValidator
* - StringLength
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRangeValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 dc567a87..f4d4adcf 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRatingList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -22,7 +22,7 @@ Prado::using('System.Web.UI.WebControls.TRadioButtonList');
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @author Bradley Booms <bradley[dot]booms[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TRatingList.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 42e8442f..890fb56e 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRegularExpressionValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRegularExpressionValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 3b95e51e..929d31e7 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRepeatInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeatInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -70,7 +70,7 @@ interface IRepeatInfoUser
* the column and repeat direction settings.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeatInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -526,7 +526,7 @@ class TRepeatInfo extends TComponent
* - Horizontal
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeatInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeatInfo.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 295f340d..c32636fd 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRepeater.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -87,7 +87,7 @@ Prado::using('System.Util.TDataFieldAccessor');
* complex data may also have serializing problem if saved in viewstate.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeater.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -784,7 +784,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer
* The {@link getItem Item} property indicates the repeater item related with the event.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeater.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -825,7 +825,7 @@ class TRepeaterItemEventParameter extends TEventParameter
* raises the Command event.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeater.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -880,7 +880,7 @@ class TRepeaterCommandEventParameter extends TCommandEventParameter
* is given by {@link getItemType ItemType} property.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeater.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1001,7 +1001,7 @@ class TRepeaterItem extends TControl implements INamingContainer, IItemDataRende
* TRepeaterItemCollection represents a collection of repeater items.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeater.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TRepeaterItemRenderer.php b/framework/Web/UI/WebControls/TRepeaterItemRenderer.php
index 0e6c9255..0e39e765 100644
--- a/framework/Web/UI/WebControls/TRepeaterItemRenderer.php
+++ b/framework/Web/UI/WebControls/TRepeaterItemRenderer.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRepeaterItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -23,7 +23,7 @@ Prado::using('System.Web.UI.WebControls.TItemDataRenderer');
* the bubbling scheme for the OnCommand event of repeater items.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRepeaterItemRenderer.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.0
*/
diff --git a/framework/Web/UI/WebControls/TRequiredFieldValidator.php b/framework/Web/UI/WebControls/TRequiredFieldValidator.php
index 27da7051..8d370502 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TRequiredFieldValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TRequiredFieldValidator.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 2a5ade45..775086b4 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSafeHtml.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -34,7 +34,7 @@
* to ensure the contents gets parsed correctly.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TSafeHtml.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TSlider.php b/framework/Web/UI/WebControls/TSlider.php
index c3516fff..dcf34bfc 100644
--- a/framework/Web/UI/WebControls/TSlider.php
+++ b/framework/Web/UI/WebControls/TSlider.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TSlider.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -42,7 +42,7 @@
* - ClientSide.onChange is called when the slider value has changed (at the end of a move).
*
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
- * @version $Id$
+ * @version $Id: TSlider.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -508,7 +508,7 @@ class TSlider extends TWebControl implements IPostBackDataHandler, IDataRenderer
* The <tt>OnChange</tt> event is raised when the slider value is changed (or at the end of a move)
*
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
- * @version $Id$
+ * @version $Id: TSlider.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -561,7 +561,7 @@ class TSliderClientScript extends TClientSideOptions
* - Vertical : Vertical slider
*
* @author Christophe Boulain <Christophe.Boulain@gmail.com>
- * @version $Id$
+ * @version $Id: TSlider.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
diff --git a/framework/Web/UI/WebControls/TStatements.php b/framework/Web/UI/WebControls/TStatements.php
index 88787dd0..32f98296 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TStatements.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -23,7 +23,7 @@
* make sure {@link setStatements Statements} does not come directly from user input.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStatements.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 de0528c7..4ba37d53 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -418,7 +418,7 @@ class TStyle extends TComponent
* - Hidden: the control is not displayed and is included in the layout.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1
*/
@@ -435,7 +435,7 @@ class TDisplayStyle extends TEnumerable
* TTableStyle represents the CSS style specific for HTML table.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -676,7 +676,7 @@ class TTableStyle extends TStyle
* TTableItemStyle represents the CSS style specific for HTML table item.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -831,7 +831,7 @@ class TTableItemStyle extends TStyle
* - Justify: the begin and end are justified
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -855,7 +855,7 @@ class THorizontalAlign extends TEnumerable
* - Middle: middle aligned
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -879,7 +879,7 @@ class TVerticalAlign extends TEnumerable
* - Both: both horizontal and vertical grid lines are shown
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 05ddfa0b..5faf52f0 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TStyleSheet.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php
index 66ebccdc..0c6128f1 100644
--- a/framework/Web/UI/WebControls/TTabPanel.php
+++ b/framework/Web/UI/WebControls/TTabPanel.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTabPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -54,7 +54,7 @@
* </code>
*
* @author Tomasz Wolny <tomasz.wolny@polecam.to.pl> and Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTabPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -540,7 +540,7 @@ class TTabPanel extends TWebControl implements IPostBackDataHandler
* setting the {@link setActive Active} property.
*
* @author Tomasz Wolny <tomasz.wolny@polecam.to.pl> and Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTabPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -694,7 +694,7 @@ class TTabView extends TWebControl
* TTabViewCollection is used to maintain a list of views belong to a {@link TTabPanel}.
*
* @author Tomasz Wolny <tomasz.wolny@polecam.to.pl> and Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTabPanel.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
diff --git a/framework/Web/UI/WebControls/TTable.php b/framework/Web/UI/WebControls/TTable.php
index 5fed9ad1..5be68cbd 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTable.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -61,7 +61,7 @@ Prado::using('System.Web.UI.WebControls.TTableRow');
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTable.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTable.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -395,7 +395,7 @@ class TTableRowCollection extends TControlCollection
* - Right: right aligned
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTable.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 42f9e28e..96254e62 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTableCell.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -28,7 +28,7 @@
* indicates whether the contents in the cell should be wrapped.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableCell.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 bba7beac..46d1a3be 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTableFooterRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableFooterRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 95fba91f..80036d41 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTableHeaderCell.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableHeaderCell.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableHeaderCell.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 46966252..166a20e4 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTableHeaderRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableHeaderRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 6c9463e2..a998e6fb 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTableRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -24,7 +24,7 @@ Prado::using('System.Web.UI.WebControls.TTableCell');
* {@link setVerticalAlign VerticalAlign} properties, respectively.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -195,7 +195,7 @@ class TTableCellCollection extends TControlCollection
* - Footer: in table footer
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTableRow.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 f44e109e..173476f2 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTemplateColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -34,7 +34,7 @@ Prado::using('System.Web.UI.WebControls.TDataGridColumn');
* takes precedence.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTemplateColumn.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/TTextBox.php b/framework/Web/UI/WebControls/TTextBox.php
index 590350d1..969d2969 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -44,7 +44,7 @@
* Currently, no alternatives are available.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -593,7 +593,7 @@ class TTextBox extends TWebControl implements IPostBackDataHandler, IValidatable
* - Password: the textbox will hide user input like a password input box
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -610,7 +610,7 @@ class TTextBoxMode extends TEnumerable
* by a {@link TTextBox} control.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTextBox.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 fbdc5049..64878d49 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTextHighlighter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -31,7 +31,7 @@ Prado::using('System.Web.UI.WebControls.TTextProcessor');
* because it needs to insert some CSS styles.
*
* @author Wei Zhuo<weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TTextHighlighter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -202,7 +202,7 @@ class TTextHighlighter extends TTextProcessor
/**
* @author Wei Zhuo<weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TTextHighlighter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 e2609596..e569e780 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TTextProcessor.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -23,7 +23,7 @@
* Note, all child classes must implement {@link processText} method.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TTextProcessor.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 f7703152..00c96c90 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TValidationSummary.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -30,7 +30,7 @@
* {@link setEnableClientScript EnableClientScript} is true.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TValidationSummary.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -430,7 +430,7 @@ class TValidationSummary extends TWebControl
* See the quickstart documentation for further details.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: TValidationSummary.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -499,7 +499,7 @@ class TClientSideValidationSummaryOptions extends TClientSideOptions
* - HeaderOnly: only the HeaderText will be display.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TValidationSummary.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -523,7 +523,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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TValidationSummary.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 804ddd82..0da4d88c 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TWebControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -35,7 +35,7 @@ Prado::using('System.Web.UI.WebControls.TWebControlDecorator');
* the body contents enclosed within the HTML tag.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWebControl.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 a918d7c2..5de15419 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TWebControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -19,7 +19,7 @@
* browsers.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWebControlAdapter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @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 7929f88f..c29cb90c 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 &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
*/
@@ -77,7 +77,7 @@ Prado::using('System.Web.UI.WebControls.TWizardNavigationButtonStyle');
* - side bar: {@link getSideBarStyle SideBarStyle} and {@link getSideBarButtonStyle SideBarButtonStyle}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -772,7 +772,6 @@ class TWizard extends TWebControl implements INamingContainer
{
parent::onInit($param);
$this->ensureChildControls();
- $this->setEnsureId(true);
if($this->getActiveStepIndex()<0 && $this->getWizardSteps()->getCount()>0)
$this->setActiveStepIndex(0);
}
@@ -1450,7 +1449,7 @@ class TWizard extends TWebControl implements INamingContainer
* set {@link setAllowReturn AllowReturn} to true.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1540,7 +1539,7 @@ class TWizardStep extends TView
* TCompleteWizardStep represents a wizard step of type TWizardStepType::Complete.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1575,7 +1574,7 @@ class TCompleteWizardStep extends TWizardStep
* if the navigation template is not specified, default navigation will be used.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1677,7 +1676,7 @@ class TTemplatedWizardStep extends TWizardStep implements INamingContainer
* by a {@link TWizard}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1741,7 +1740,7 @@ class TWizardStepCollection extends TList
* {@link getCancelButton CancelButton}, {@link getCompleteButton CompleteButton}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1833,7 +1832,7 @@ class TWizardNavigationContainer extends TControl implements INamingContainer
* to true.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1898,7 +1897,7 @@ class TWizardNavigationEventParameter extends TEventParameter
* TWizardSideBarTemplate class.
* TWizardSideBarTemplate is the default template for wizard sidebar.
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1923,7 +1922,7 @@ class TWizardSideBarTemplate extends TComponent implements ITemplate
* TWizardSideBarListItemTemplate class.
* TWizardSideBarListItemTemplate is the default template for each item in the sidebar datalist.
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -1946,7 +1945,7 @@ class TWizardSideBarListItemTemplate extends TComponent implements ITemplate
* TWizardNavigationTemplate class.
* TWizardNavigationTemplate is the base class for various navigation templates.
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2018,7 +2017,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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2048,7 +2047,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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2082,7 +2081,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 <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
@@ -2123,7 +2122,7 @@ class TWizardStepNavigationTemplate extends TWizardNavigationTemplate
* - Link: a hyperlink button
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
@@ -2147,7 +2146,7 @@ class TWizardNavigationButtonType extends TEnumerable
* - Finish: the last step before the Complete step.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizard.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0.4
*/
diff --git a/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php b/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php
index e79da5a5..f0873df8 100644
--- a/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php
+++ b/framework/Web/UI/WebControls/TWizardNavigationButtonStyle.php
@@ -25,7 +25,7 @@ Prado::using('System.Web.UI.WebControls.TStyle');
* Otherwise, {@link setButtonText ButtonText} will be displayed as the button caption.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TWizardNavigationButtonStyle.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls
* @since 3.0
*/
diff --git a/framework/Web/UI/WebControls/assets/captcha.php b/framework/Web/UI/WebControls/assets/captcha.php
index fbf56d22..ac71d696 100644
--- a/framework/Web/UI/WebControls/assets/captcha.php
+++ b/framework/Web/UI/WebControls/assets/captcha.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: captcha.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Web.UI.WebControls.assets
*/
diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php
index 97525e0e..b0252ae8 100644
--- a/framework/Xml/TXmlDocument.php
+++ b/framework/Xml/TXmlDocument.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: TXmlDocument.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Xml
*/
@@ -22,7 +22,7 @@
* TBD: xpath
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TXmlDocument.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Xml
* @since 3.0
*/
@@ -300,7 +300,7 @@ class TXmlElement extends TComponent
* </code>
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TXmlDocument.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Xml
* @since 3.0
*/
@@ -502,7 +502,7 @@ class TXmlDocument extends TXmlElement
* You may manipulate the collection with the operations defined in {@link TList}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: TXmlDocument.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System.Xml
* @since 3.0
*/
diff --git a/framework/interfaces.php b/framework/interfaces.php
index 54dc513d..d05123ba 100644
--- a/framework/interfaces.php
+++ b/framework/interfaces.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -16,7 +16,7 @@
* This interface must be implemented by application modules.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -43,7 +43,7 @@ interface IModule
* This interface must be implemented by services.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -82,7 +82,7 @@ interface IService
* This interface must be implemented by writers.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -106,7 +106,7 @@ interface ITextWriter
* This interface must be implemented by user objects.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -159,7 +159,7 @@ interface IUser
* {@link TPageStatePersister}, {@link TApplicationStatePersister}.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -184,7 +184,7 @@ interface IStatePersister
* This interface must be implemented by cache managers.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -240,7 +240,7 @@ interface ICache
* Classes implementing this interface must support serialization and unserialization.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -259,7 +259,7 @@ interface ICacheDependency
* to end-users.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -278,7 +278,7 @@ interface IRenderable
* This interface must be implemented by classes that are capable of performing databinding.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
@@ -296,7 +296,7 @@ interface IBindable
* This interface should be implemented by classes that support CSS styles.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.1.0
*/
@@ -322,7 +322,7 @@ interface IStyleable
* Active controls must implement IActiveControl interface.
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.1
*/
@@ -341,7 +341,7 @@ interface IActiveControl
* interface.
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.1
*/
@@ -363,7 +363,7 @@ interface ICallbackEventHandler
* this interface must be implemented.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: interfaces.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.1
*/
diff --git a/framework/prado-cli.php b/framework/prado-cli.php
index 1be68cc9..3222f6f2 100755
--- a/framework/prado-cli.php
+++ b/framework/prado-cli.php
@@ -7,7 +7,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
*/
if(!isset($_SERVER['argv']) || php_sapi_name()!=='cli')
@@ -56,7 +56,7 @@ PradoCommandLineInterpreter::getInstance()->run($_SERVER['argv']);
* Command line interface, configures the action classes and dispatches the command actions.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.0.5
*/
class PradoCommandLineInterpreter
@@ -134,7 +134,7 @@ class PradoCommandLineInterpreter
* Base class for command line actions.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.0.5
*/
abstract class PradoCommandLineAction
@@ -225,7 +225,7 @@ EOD;
* Create a Prado project skeleton, including directories and files.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.0.5
*/
class PradoCommandLineCreateProject extends PradoCommandLineAction
@@ -377,7 +377,7 @@ EOD;
* Creates test fixtures for a Prado application.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.0.5
*/
class PradoCommandLineCreateTests extends PradoCommandLineAction
@@ -454,7 +454,7 @@ $tester->run(new SimpleReporter());
* Creates and run a Prado application in a PHP Shell.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.0.5
*/
class PradoCommandLinePhpShell extends PradoCommandLineAction
@@ -476,7 +476,7 @@ class PradoCommandLinePhpShell extends PradoCommandLineAction
* Runs unit test cases.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.0.5
*/
class PradoCommandLineUnitTest extends PradoCommandLineAction
@@ -592,7 +592,7 @@ class PradoCommandLineUnitTest extends PradoCommandLineAction
* Create active record skeleton
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.1
*/
class PradoCommandLineActiveRecordGen extends PradoCommandLineAction
@@ -745,7 +745,7 @@ EOD;
*
* @author Matthias Endres <me[at]me23[dot]de>
* @author Daniel Sampedro Bello <darthdaniel85[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: prado-cli.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @since 3.2
*/
class PradoCommandLineActiveRecordGenAll extends PradoCommandLineAction {
diff --git a/framework/prado.php b/framework/prado.php
index b469d563..0bb11789 100644
--- a/framework/prado.php
+++ b/framework/prado.php
@@ -14,7 +14,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: prado.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
*/
@@ -32,7 +32,7 @@ if(!class_exists('Prado',false))
* Prado class.
*
* @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
+ * @version $Id: prado.php 3245 2013-01-07 20:23:32Z ctrlaltca $
* @package System
* @since 3.0
*/
diff --git a/index.html b/index.html
index 4df6400b..c9553f7e 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
<body>
<h1>PRADO Framework for PHP 5 </h1>
-<p>Version 3.2.0<br>
+<p>Version 3.2.1<br>
Copyright&copy; 2004-2013 by <a href="http://www.pradosoft.com/">Prado Software</a><br>
All Rights Reserved.
</p>
diff --git a/requirements/index.php b/requirements/index.php
index fea2964c..110b0ba1 100644
--- a/requirements/index.php
+++ b/requirements/index.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id$
+ * @version $Id: index.php 3187 2012-07-12 11:21:01Z ctrlaltca $
* @package prado
*/
diff --git a/tests/FunctionalTests/quickstart/ActiveControls/ActiveButtonTestCase.php b/tests/FunctionalTests/quickstart/ActiveControls/ActiveButtonTestCase.php
index fd12cc4f..408776f3 100644
--- a/tests/FunctionalTests/quickstart/ActiveControls/ActiveButtonTestCase.php
+++ b/tests/FunctionalTests/quickstart/ActiveControls/ActiveButtonTestCase.php
@@ -1,5 +1,5 @@
<?php
-//$Id$
+//$Id: ActiveButtonTestCase.php 3187 2012-07-12 11:21:01Z ctrlaltca $
class ActiveButtonTestCase extends SeleniumTestCase
{
function test ()
diff --git a/tests/FunctionalTests/quickstart/ActiveControls/ActiveCheckBoxTestCase.php b/tests/FunctionalTests/quickstart/ActiveControls/ActiveCheckBoxTestCase.php
index ca17a5dc..15a3c798 100644
--- a/tests/FunctionalTests/quickstart/ActiveControls/ActiveCheckBoxTestCase.php
+++ b/tests/FunctionalTests/quickstart/ActiveControls/ActiveCheckBoxTestCase.php
@@ -1,6 +1,6 @@
<?php
-//$Id$
+//$Id: ActiveCheckBoxTestCase.php 3187 2012-07-12 11:21:01Z ctrlaltca $
class ActiveCheckBoxTestCase extends SeleniumTestCase
{
function test ()
diff --git a/tests/FunctionalTests/tickets/protected/controls/ToggleImageButton.php b/tests/FunctionalTests/tickets/protected/controls/ToggleImageButton.php
index a55b7f29..861a8e31 100644
--- a/tests/FunctionalTests/tickets/protected/controls/ToggleImageButton.php
+++ b/tests/FunctionalTests/tickets/protected/controls/ToggleImageButton.php
@@ -6,7 +6,7 @@
* @author Christophe BOULAIN (Christophe.Boulain@ceram.fr)
* @copyright Copyright &copy; 2007, CERAM Sophia Antipolis
* @license url nameoflicense
- * @version $Id$
+ * @version $Id: ToggleImageButton.php 2043 2007-06-30 15:07:50Z xue $
*
*/
diff --git a/tests/FunctionalTests/tickets/protected/pages/ExtendedToggleImageButton.php b/tests/FunctionalTests/tickets/protected/pages/ExtendedToggleImageButton.php
index 2d0b709e..5e7c8184 100644
--- a/tests/FunctionalTests/tickets/protected/pages/ExtendedToggleImageButton.php
+++ b/tests/FunctionalTests/tickets/protected/pages/ExtendedToggleImageButton.php
@@ -5,7 +5,7 @@
* @author Christophe BOULAIN (Christophe.Boulain@ceram.fr)
* @copyright Copyright &copy; 2007, CERAM Sophia Antipolis
* @license url nameoflicense
- * @version $Id$
+ * @version $Id: ExtendedToggleImageButton.php 2039 2007-06-28 08:41:57Z tof $
*
*/
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket659.php b/tests/FunctionalTests/tickets/protected/pages/Ticket659.php
index d294a831..68da138b 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket659.php
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket659.php
@@ -5,7 +5,7 @@
* @author Christophe BOULAIN (Christophe.Boulain@ceram.fr)
* @copyright Copyright &copy; 2007, CERAM Sophia Antipolis
* @license url nameoflicense
- * @version $Id$
+ * @version $Id: Ticket659.php 2039 2007-06-28 08:41:57Z tof $
*
*/
diff --git a/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php b/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php
index 2c12cb72..73a2cc57 100644
--- a/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php
+++ b/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php
@@ -5,7 +5,7 @@
* @author Christophe BOULAIN (Christophe.Boulain@ceram.fr)
* @copyright Copyright &copy; 2007, CERAM Sophia Antipolis
* @license url nameoflicense
- * @version $Id$
+ * @version $Id: ToggleTest.php 2039 2007-06-28 08:41:57Z tof $
*
*/
diff --git a/tests/test_tools/selenium/php/selenium.php b/tests/test_tools/selenium/php/selenium.php
index 32b773db..8eddd6cb 100644
--- a/tests/test_tools/selenium/php/selenium.php
+++ b/tests/test_tools/selenium/php/selenium.php
@@ -17,7 +17,7 @@
* {@link http://prado.sourceforge.net/}
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: selenium.php 1771 2007-03-26 00:27:59Z xue $
* @package Prado.tests
*/
@@ -25,7 +25,7 @@
* Selenium automatic client runner,
*
* @author Wei Zhuo<weizhuo[at]gmail[dot]com>
- * @version $Id$
+ * @version $Id: selenium.php 1771 2007-03-26 00:27:59Z xue $
* @package Prado.tests
*/
diff --git a/tests/test_tools/simpletest/authentication.php b/tests/test_tools/simpletest/authentication.php
index 9d72966a..cae366b3 100644
--- a/tests/test_tools/simpletest/authentication.php
+++ b/tests/test_tools/simpletest/authentication.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: authentication.php 1532 2006-12-01 12:28:55Z xue $
*/
/**
* include http class
diff --git a/tests/test_tools/simpletest/browser.php b/tests/test_tools/simpletest/browser.php
index bd587e2b..44c8ddd4 100644
--- a/tests/test_tools/simpletest/browser.php
+++ b/tests/test_tools/simpletest/browser.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: browser.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/collector.php b/tests/test_tools/simpletest/collector.php
index 2e89163c..5bcde179 100644
--- a/tests/test_tools/simpletest/collector.php
+++ b/tests/test_tools/simpletest/collector.php
@@ -6,7 +6,7 @@
* @author Travis Swicegood <development@domain51.com>
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: collector.php 1398 2006-09-08 19:31:03Z xue $
*/
/**
diff --git a/tests/test_tools/simpletest/compatibility.php b/tests/test_tools/simpletest/compatibility.php
index 0be00ca8..92cf70d3 100644
--- a/tests/test_tools/simpletest/compatibility.php
+++ b/tests/test_tools/simpletest/compatibility.php
@@ -2,7 +2,7 @@
/**
* base include file for SimpleTest
* @package SimpleTest
- * @version $Id$
+ * @version $Id: compatibility.php 1532 2006-12-01 12:28:55Z xue $
*/
/**
diff --git a/tests/test_tools/simpletest/cookies.php b/tests/test_tools/simpletest/cookies.php
index 2dfad664..4a2b0d4e 100644
--- a/tests/test_tools/simpletest/cookies.php
+++ b/tests/test_tools/simpletest/cookies.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: cookies.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/detached.php b/tests/test_tools/simpletest/detached.php
index 4cba0ae1..1f3638bb 100644
--- a/tests/test_tools/simpletest/detached.php
+++ b/tests/test_tools/simpletest/detached.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: detached.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/dumper.php b/tests/test_tools/simpletest/dumper.php
index 97c249ea..a2ea30b0 100644
--- a/tests/test_tools/simpletest/dumper.php
+++ b/tests/test_tools/simpletest/dumper.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: dumper.php 1532 2006-12-01 12:28:55Z xue $
*/
/**
* does type matter
diff --git a/tests/test_tools/simpletest/encoding.php b/tests/test_tools/simpletest/encoding.php
index 7fe1a081..0dc9fbfa 100644
--- a/tests/test_tools/simpletest/encoding.php
+++ b/tests/test_tools/simpletest/encoding.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: encoding.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/errors.php b/tests/test_tools/simpletest/errors.php
index 729883e9..a756bd7c 100644
--- a/tests/test_tools/simpletest/errors.php
+++ b/tests/test_tools/simpletest/errors.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: errors.php 1606 2007-01-09 10:42:06Z wei $
*/
/** @ignore - PHP5 compatibility fix. */
diff --git a/tests/test_tools/simpletest/exceptions.php b/tests/test_tools/simpletest/exceptions.php
index 477ad81b..63558ad1 100644
--- a/tests/test_tools/simpletest/exceptions.php
+++ b/tests/test_tools/simpletest/exceptions.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: exceptions.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/expectation.php b/tests/test_tools/simpletest/expectation.php
index a27149ff..8513aff4 100644
--- a/tests/test_tools/simpletest/expectation.php
+++ b/tests/test_tools/simpletest/expectation.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: expectation.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/form.php b/tests/test_tools/simpletest/form.php
index 86f44be6..0e6aea14 100644
--- a/tests/test_tools/simpletest/form.php
+++ b/tests/test_tools/simpletest/form.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest.
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: form.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/frames.php b/tests/test_tools/simpletest/frames.php
index 5ea49f35..60ced141 100644
--- a/tests/test_tools/simpletest/frames.php
+++ b/tests/test_tools/simpletest/frames.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: frames.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/http.php b/tests/test_tools/simpletest/http.php
index b4d72154..9344a5b9 100644
--- a/tests/test_tools/simpletest/http.php
+++ b/tests/test_tools/simpletest/http.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: http.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/invoker.php b/tests/test_tools/simpletest/invoker.php
index 8ed8f124..d5bf4996 100644
--- a/tests/test_tools/simpletest/invoker.php
+++ b/tests/test_tools/simpletest/invoker.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: invoker.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/mock_objects.php b/tests/test_tools/simpletest/mock_objects.php
index 6aa6a190..1636600e 100644
--- a/tests/test_tools/simpletest/mock_objects.php
+++ b/tests/test_tools/simpletest/mock_objects.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage MockObjects
- * @version $Id$
+ * @version $Id: mock_objects.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/options.php b/tests/test_tools/simpletest/options.php
index e4bc97ea..da4d8b2f 100644
--- a/tests/test_tools/simpletest/options.php
+++ b/tests/test_tools/simpletest/options.php
@@ -2,7 +2,7 @@
/**
* base include file for SimpleTest
* @package SimpleTest
- * @version $Id$
+ * @version $Id: options.php 1532 2006-12-01 12:28:55Z xue $
*/
/**
diff --git a/tests/test_tools/simpletest/page.php b/tests/test_tools/simpletest/page.php
index 2d375678..eeae0cc9 100644
--- a/tests/test_tools/simpletest/page.php
+++ b/tests/test_tools/simpletest/page.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: page.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/parser.php b/tests/test_tools/simpletest/parser.php
index 5ac737cf..d6c10579 100644
--- a/tests/test_tools/simpletest/parser.php
+++ b/tests/test_tools/simpletest/parser.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage MockObjects
- * @version $Id$
+ * @version $Id: parser.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/reflection_php4.php b/tests/test_tools/simpletest/reflection_php4.php
index 0617a674..4af685ec 100644
--- a/tests/test_tools/simpletest/reflection_php4.php
+++ b/tests/test_tools/simpletest/reflection_php4.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: reflection_php4.php 1398 2006-09-08 19:31:03Z xue $
*/
/**
diff --git a/tests/test_tools/simpletest/reflection_php5.php b/tests/test_tools/simpletest/reflection_php5.php
index a0f25117..58a30856 100644
--- a/tests/test_tools/simpletest/reflection_php5.php
+++ b/tests/test_tools/simpletest/reflection_php5.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: reflection_php5.php 1398 2006-09-08 19:31:03Z xue $
*/
/**
diff --git a/tests/test_tools/simpletest/remote.php b/tests/test_tools/simpletest/remote.php
index bb84641c..7e6898cb 100644
--- a/tests/test_tools/simpletest/remote.php
+++ b/tests/test_tools/simpletest/remote.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: remote.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/reporter.php b/tests/test_tools/simpletest/reporter.php
index 1e30d2bf..c8c1639d 100644
--- a/tests/test_tools/simpletest/reporter.php
+++ b/tests/test_tools/simpletest/reporter.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: reporter.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/runner.php b/tests/test_tools/simpletest/runner.php
index a7938980..57939f7a 100644
--- a/tests/test_tools/simpletest/runner.php
+++ b/tests/test_tools/simpletest/runner.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: runner.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/scorer.php b/tests/test_tools/simpletest/scorer.php
index 87a60e0e..2c81c954 100644
--- a/tests/test_tools/simpletest/scorer.php
+++ b/tests/test_tools/simpletest/scorer.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: scorer.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+*/
diff --git a/tests/test_tools/simpletest/selector.php b/tests/test_tools/simpletest/selector.php
index d734ac2d..901815ad 100644
--- a/tests/test_tools/simpletest/selector.php
+++ b/tests/test_tools/simpletest/selector.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest.
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: selector.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/shell_tester.php b/tests/test_tools/simpletest/shell_tester.php
index 5af68684..5719e9d3 100644
--- a/tests/test_tools/simpletest/shell_tester.php
+++ b/tests/test_tools/simpletest/shell_tester.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: shell_tester.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/simple_test.php b/tests/test_tools/simpletest/simple_test.php
index ddc35b7f..3bb1d40e 100644
--- a/tests/test_tools/simpletest/simple_test.php
+++ b/tests/test_tools/simpletest/simple_test.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: simple_test.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/simpletest.php b/tests/test_tools/simpletest/simpletest.php
index fe4937b3..f859ac0f 100644
--- a/tests/test_tools/simpletest/simpletest.php
+++ b/tests/test_tools/simpletest/simpletest.php
@@ -3,7 +3,7 @@
* Global state for SimpleTest and kicker script in future versions.
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: simpletest.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/socket.php b/tests/test_tools/simpletest/socket.php
index 3fd24b49..7b47aa9c 100644
--- a/tests/test_tools/simpletest/socket.php
+++ b/tests/test_tools/simpletest/socket.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage MockObjects
- * @version $Id$
+ * @version $Id: socket.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/tag.php b/tests/test_tools/simpletest/tag.php
index 876484bb..5d8de890 100644
--- a/tests/test_tools/simpletest/tag.php
+++ b/tests/test_tools/simpletest/tag.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest.
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: tag.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/test_case.php b/tests/test_tools/simpletest/test_case.php
index bc4f0c42..91a356d8 100644
--- a/tests/test_tools/simpletest/test_case.php
+++ b/tests/test_tools/simpletest/test_case.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: test_case.php 2309 2007-10-08 03:24:07Z wei $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/unit_tester.php b/tests/test_tools/simpletest/unit_tester.php
index c3047fca..7a382b5f 100644
--- a/tests/test_tools/simpletest/unit_tester.php
+++ b/tests/test_tools/simpletest/unit_tester.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: unit_tester.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/url.php b/tests/test_tools/simpletest/url.php
index dce7d455..b208d1b3 100644
--- a/tests/test_tools/simpletest/url.php
+++ b/tests/test_tools/simpletest/url.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: url.php 1532 2006-12-01 12:28:55Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/user_agent.php b/tests/test_tools/simpletest/user_agent.php
index 9bc8885f..a901e6d4 100644
--- a/tests/test_tools/simpletest/user_agent.php
+++ b/tests/test_tools/simpletest/user_agent.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: user_agent.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/web_tester.php b/tests/test_tools/simpletest/web_tester.php
index 15d703ed..c582a6ff 100644
--- a/tests/test_tools/simpletest/web_tester.php
+++ b/tests/test_tools/simpletest/web_tester.php
@@ -3,7 +3,7 @@
* Base include file for SimpleTest.
* @package SimpleTest
* @subpackage WebTester
- * @version $Id$
+ * @version $Id: web_tester.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/test_tools/simpletest/xml.php b/tests/test_tools/simpletest/xml.php
index d76d6d79..9d1ab3b2 100644
--- a/tests/test_tools/simpletest/xml.php
+++ b/tests/test_tools/simpletest/xml.php
@@ -3,7 +3,7 @@
* base include file for SimpleTest
* @package SimpleTest
* @subpackage UnitTester
- * @version $Id$
+ * @version $Id: xml.php 1398 2006-09-08 19:31:03Z xue $
*/
/**#@+
diff --git a/tests/unit/TComponentTest.php b/tests/unit/TComponentTest.php
index 7722f9d6..25292c0d 100644
--- a/tests/unit/TComponentTest.php
+++ b/tests/unit/TComponentTest.php
@@ -1,21 +1,11 @@
<?php
require_once dirname(__FILE__).'/phpunit.php';
-Prado::using('System.Util.*');
-Prado::using('System.Collections.TPriorityList');
-Prado::using('System.Collections.TPriorityMap');
-
class NewComponent extends TComponent {
private $_object = null;
private $_text = 'default';
private $_eventHandled = false;
- private $_return = null;
- private $_colorattribute = null;
- public function getAutoGlobalListen() {
- return true;
- }
-
public function getText() {
return $this->_text;
}
@@ -24,14 +14,6 @@ class NewComponent extends TComponent {
$this->_text=$value;
}
- public function getReadOnlyProperty() {
- return 'read only';
- }
-
- public function getJsReadOnlyJsProperty() {
- return 'js read only';
- }
-
public function getObject() {
if(!$this->_object) {
$this->_object=new NewComponent;
@@ -48,363 +30,10 @@ class NewComponent extends TComponent {
$this->_eventHandled=true;
}
- public function eventReturnValue($sender,$param) {
- return $param->Return;
- }
-
public function isEventHandled() {
return $this->_eventHandled;
}
-
- public function resetEventHandled() {
- $this->_eventHandled = false;
- }
- public function getReturn() {
- return $this->_return;
- }
- public function setReturn($return) {
- $this->_return = $return;
- }
- public function getjsColorAttribute() {
- return $this->_colorattribute;
- }
- public function setjsColorAttribute($colorattribute) {
- $this->_colorattribute = $colorattribute;
- }
-}
-
-
-class NewComponentNoListen extends NewComponent {
- // this object does _not_ auto install global listeners during construction
- public function getAutoGlobalListen() {
- return false;
- }
-}
-
-class DynamicCatchingComponent extends NewComponentNoListen implements IDynamicMethods {
- public function __dycall($method, $args) {
-
- }
-}
-
-
-class GlobalRaiseComponent extends NewComponent implements IDynamicMethods {
- private $_callorder = array();
-
- public function getCallOrders()
- {
- return $this->_callorder;
- }
- public function __dycall($method, $args) {
- if(strncasecmp($method,'fx',2)!==0) return;
- $this->_callorder[] = 'fxcall';
- }
- public function fxGlobalListener($sender,$param,$name) {
- $this->_callorder[] = 'fxGL';
- }
- public function fxPrimaryGlobalEvent($sender,$param,$name) {
- $this->_callorder[] = 'primary';
- }
- public function commonRaiseEventListener($sender,$param,$name) {
- $this->_callorder[] = 'com';
- }
- public function postglobalRaiseEventListener($sender,$param,$name) {
- $this->_callorder[] = 'postgl';
- }
- public function preglobalRaiseEventListener($sender,$param,$name) {
- $this->_callorder[] = 'pregl';
- }
-}
-
-
-
-class FooClassBehavior extends TClassBehavior {
- private $_baseObject = null;
- public function faaEverMore($object, $laa, $sol) {
- $this->_baseObject = $object;
- return $laa * $sol;
- }
- public function getLastClassObject() {return $this->_baseObject;}
-}
-
-class FooFooClassBehavior extends FooClassBehavior {
- public function faafaaEverMore($object, $laa, $sol) {
-
- }
-}
-
-class BarClassBehavior extends TClassBehavior {
- public function moreFunction($object, $laa, $sol) {
- return true;
- }
-}
-
-
-
-class FooBehavior extends TBehavior {
- public function faaEverMore($laa, $sol) {
- return true;
- }
}
-class FooFooBehavior extends FooBehavior {
-
- public function faafaaEverMore($laa, $sol) {
- return sqrt($laa * $laa + $sol * $sol);
- }
-}
-class FooBarBehavior extends TBehavior {
- public function moreFunction($laa, $sol) {
- return $laa * $sol * $sol;
- }
-}
-
-class PreBarBehavior extends TBehavior {
-}
-
-class BarBehavior extends PreBarBehavior implements IInstanceCheck {
- private $_instanceReturn = null;
-
- public function moreFunction($laa, $sol) {
- return pow($laa+$sol+1, 2);
- }
-
- public function isinstanceof($class, $instance=null) {
- return $this->_instanceReturn;
- }
- public function setInstanceReturn($value) {
- $this->_instanceReturn = $value;
- }
-}
-class DynamicCallComponent extends NewComponent implements IDynamicMethods {
- public function __dycall($method, $args) {
- if($method === 'dyPowerFunction')
- return pow($args[0], $args[1]);
- if($method === 'dyDivisionFunction')
- return $args[0] / $args[1];
- if($method === 'fxPowerFunction')
- return 2*pow($args[0], $args[1]);
- if($method === 'fxDivisionFunction')
- return 2*$args[0] / $args[1];
- }
-}
-
-
-
-class BehaviorTestBehavior extends TBehavior {
- private $excitement = 'faa';
- public function getExcitement() {
- return $this->excitement;
- }
- public function setExcitement($value) {
- $this->excitement = $value;
- }
- public function getReadOnly() {
- return true;
- }
-
- public function onBehaviorEvent($sender, $param,$responsetype=null,$postfunction=null) {
- return $this->getOwner()->raiseEvent('onBehaviorEvent',$sender,$param,$responsetype,$postfunction);
- }
- public function fxGlobalBehaviorEvent($sender, $param) {
- }
-}
-
-class dy1TextReplace extends TBehavior {
- protected $_called = false;
- public function dyTextFilter($text, $callchain) {
- $this->_called = true;
- return str_replace("..", '__', $callchain->dyTextFilter($text));
- }
- public function isCalled() {
- return $this->_called;
- }
- public function dyPowerFunction($x, $y, $callchain)
- {
- return pow($x / $callchain->dyPowerFunction($x, $y), $y);
- }
-}
-class dy2TextReplace extends dy1TextReplace {
- public function dyTextFilter($text, $callchain) {
- $this->_called = true;
- return str_replace("++", '||', $callchain->dyTextFilter($text));
- }
-}
-class dy3TextReplace extends dy1TextReplace {
- public function dyTextFilter($text, $callchain) {
- $this->_called = true;
- return str_replace("!!", '??', $callchain->dyTextFilter($text));
- }
-}
-
-class dy1ClassTextReplace extends TClassBehavior {
- protected $_called = false;
- public function dyTextFilter($hostobject, $text, $callchain) {
- $this->_called = true;
- return str_replace("__", '..', $callchain->dyTextFilter($text));
- }
- public function isCalled() {
- return $this->_called;
- }
- public function dyPowerFunction($hostobject, $x, $y, $callchain)
- {
- return pow($x / $callchain->dyPowerFunction($x, $y), $y);
- }
-}
-class dy2ClassTextReplace extends dy1ClassTextReplace {
- public function dyTextFilter($hostobject, $text, $callchain) {
- $this->_called = true;
- return str_replace("||", '++', $callchain->dyTextFilter($text));
- }
-}
-class dy3ClassTextReplace extends dy1ClassTextReplace {
- public function dyTextFilter($hostobject, $text, $callchain) {
- $this->_called = true;
- return str_replace("??", '^_^', $callchain->dyTextFilter($text));
- }
-}
-
-
-class IntraObjectExtenderBehavior extends TBehavior {
-
- private $lastCall = null;
- private $arglist = null;
-
- public function getLastCall() {
- $v = $this->lastCall;
- $this->lastCall = null;
- return $v;
- }
-
- public function getLastArgumentList() {
- $v = $this->arglist;
- $this->arglist = null;
- return $v;
- }
-
-
-
- public function dyListen($fx, $chain) {
- $this->lastCall = 1;
- $this->arglist = func_get_args();
-
- return $chain->dyListen($fx); // Calls the next event, within a chain
- }
- public function dyUnlisten($fx, $chain) {
- $this->lastCall = 2;
- $this->arglist = func_get_args();
-
- return $chain->dyUnlisten($fx);
- }
- public function dyPreRaiseEvent($name,$sender,$param,$responsetype,$postfunction, $chain) {
- $this->lastCall = 3;
- $this->arglist = func_get_args();
-
- return $chain->dyPreRaiseEvent($name);// Calls the next event, within a chain, if parameters are left off, they are filled in with
- // the original parameters passed to the dynamic event. Parameters can be passed if they are changed.
- }
- public function dyIntraRaiseEventTestHandler($handler,$sender,$param,$name, $chain) {
- $this->lastCall += 4;
- $this->arglist = func_get_args();
- }
- public function dyIntraRaiseEventPostHandler($name,$sender,$param,$handler, $chain) {
- $this->lastCall += 5;
- $this->arglist = func_get_args();
- }
- public function dyPostRaiseEvent($responses,$name,$sender,$param,$responsetype,$postfunction, $chain) {
- $this->lastCall += 6;
- $this->arglist = func_get_args();
- }
- public function dyEvaluateExpressionFilter($expression, $chain) {
- $this->lastCall = 7;
- $this->arglist = func_get_args();
- return $expression;
- }
- public function dyEvaluateStatementsFilter($statement, $chain) {
- $this->lastCall = 8;
- $this->arglist = func_get_args();
- return $statement;
- }
- public function dyCreatedOnTemplate($parent, $chain) {
- $this->lastCall = 9;
- $this->arglist = func_get_args();
- return $parent;
- }
- public function dyAddParsedObject($object, $chain) {
- $this->lastCall = 10;
- $this->arglist = func_get_args();
- }
- public function dyAttachBehavior($name,$behavior, $chain) {
- $this->lastCall = 11;
- $this->arglist = func_get_args();
- }
- public function dyDetachBehavior($name,$behavior, $chain) {
- $this->lastCall = 12;
- $this->arglist = func_get_args();
- }
- public function dyEnableBehaviors($chain) {
- $this->lastCall += 13;
- $this->arglist = func_get_args();
- }
- public function dyDisableBehaviors($chain) {
- $this->lastCall = 14;
- $this->arglist = func_get_args();
- }
- public function dyEnableBehavior($name,$behavior, $chain) {
- $this->lastCall = 15;
- $this->arglist = func_get_args();
- }
- public function dyDisableBehavior($name,$behavior, $chain) {
- $this->lastCall = 16;
- $this->arglist = func_get_args();
- }
-}
-
-
-class IntraClassObjectExtenderBehavior extends TClassBehavior {
-}
-
-
-class TDynamicBehavior extends TBehavior implements IDynamicMethods {
- private $_dyMethod = null;
- public function getLastBehaviorDynamicMethodCalled() {
- return $this->_dyMethod;
- }
- public function __dycall($method, $args) {
- $this->_dyMethod = $method;
- if($method == 'dyTestDynamicBehaviorMethod')
- return $args[0] / $args[1];
- }
- public function dyTestIntraEvent($param1, $param2, $chain) {
- return $chain->dyTestIntraEvent($param1*2*$param2, $param2);
- }
- public function TestBehaviorMethod($param1, $param2) {
- return $param1 * $param2;
- }
-}
-
-
-class TDynamicClassBehavior extends TClassBehavior implements IDynamicMethods {
- private $_dyMethod = null;
- public function getLastBehaviorDynamicMethodCalled() {
- return $this->_dyMethod;
- }
- //Dynamic Calls within class behaviors contain the main object as the first parameter within the args
- public function __dycall($method, $args) {
- $this->_dyMethod = $method;
- $object = array_shift($args);
- if($method == 'dyTestDynamicClassBehaviorMethod')
- return $args[0] / $args[1];
- }
- public function dyTestIntraEvent($object, $param1, $param2, $chain) {
- return $chain->dyTestIntraEvent($param1*2*$param2, $param2);
- }
- public function TestBehaviorMethod($object, $param1, $param2) {
- return $param1 * $param2;
- }
-}
-
-
-
/**
* @package System
@@ -417,761 +46,26 @@ class TComponentTest extends PHPUnit_Framework_TestCase {
$this->component = new NewComponent();
}
-
public function tearDown() {
- // PHP version 5.3.6 doesn't call the __destruct method when unsetting variables;
- // Thus any object that listens must be explicitly call unlisten in this version of PHP.
- if($this->component)
- $this->component->unlisten();
$this->component = null;
}
-
-
- public function testGetListeningToGlobalEvents() {
- $this->assertEquals(true, $this->component->getListeningToGlobalEvents());
- $this->component->unlisten();
- $this->assertEquals(false, $this->component->getListeningToGlobalEvents());
- }
-
-
- public function testConstructorAutoListen() {
- // the default object auto installs class behavior hooks
- $this->assertEquals(1, $this->component->getEventHandlers('fxAttachClassBehavior')->getCount());
- $this->assertEquals(1, $this->component->getEventHandlers('fxDetachClassBehavior')->getCount());
- $this->assertTrue($this->component->getListeningToGlobalEvents());
-
- // this object does not auto install class behavior hooks, thus not changing the global event structure.
- // Creating a new instance should _not_ influence the fxAttachClassBehavior and fxDetachClassBehavior
- // count.
- $component_nolisten = new NewComponentNoListen();
- $this->assertEquals(1, $this->component->getEventHandlers('fxAttachClassBehavior')->getCount());
- $this->assertEquals(1, $this->component->getEventHandlers('fxDetachClassBehavior')->getCount());
- $this->assertEquals(1, $component_nolisten->getEventHandlers('fxAttachClassBehavior')->getCount());
- $this->assertEquals(1, $component_nolisten->getEventHandlers('fxDetachClassBehavior')->getCount());
-
- // tests order of class behaviors when a parent and class have class behavior.
- // The child should override the parent object-oriented programming style
- $this->component->attachClassBehavior('Bar', 'BarBehavior', 'NewComponentNoListen');
- $this->component->attachClassBehavior('FooBar', 'FooBarBehavior', 'NewComponent');
-
- //create new object with new class behaviors built in, defined in the two lines above
- $component = new NewComponentNoListen;
-
- $this->assertEquals(25, $component->moreFunction(2, 2));
-
- $this->assertEquals(25, $component->Bar->moreFunction(2, 2));
- $this->assertEquals(8, $component->FooBar->moreFunction(2, 2));
-
- $component->unlisten();// unwind object and class behaviors
- $this->component->detachClassBehavior('FooBar', 'NewComponent');
- $this->component->detachClassBehavior('Bar', 'NewComponentNoListen');
-
- }
-
-
- public function testListenAndUnlisten() {
-
- $component = new NewComponentNoListen();
-
- $this->assertEquals(false, $component->getListeningToGlobalEvents());
-
- //This is from $this->component being instanced and listening. $component is accessing the global event structure
- $this->assertEquals(1, $component->getEventHandlers('fxAttachClassBehavior')->getCount());
-
- $this->assertEquals(2, $component->listen());
-
- $this->assertEquals(true, $component->getListeningToGlobalEvents());
-
- //This is from $this->component being instanced and listening. $component is accessing the global event structure
- $this->assertEquals(2, $component->getEventHandlers('fxAttachClassBehavior')->getCount());
-
- $this->assertEquals(2, $component->unlisten());
-
- $this->assertEquals(false, $component->getListeningToGlobalEvents());
-
- //This is from $this->component being instanced and listening. $component is accessing the global event structure
- $this->assertEquals(1, $component->getEventHandlers('fxAttachClassBehavior')->getCount());
- }
-
-
- public function testListenAndUnlistenWithDynamicEventCatching() {
-
- $component = new DynamicCatchingComponent();
-
- $this->assertEquals(false, $component->getListeningToGlobalEvents());
-
- //This is from $this->component being instanced and listening. $component is accessing the global event structure
- $this->assertEquals(0, $component->getEventHandlers(TComponent::GLOBAL_RAISE_EVENT_LISTENER)->getCount());
-
- // this adds the fxAttachClassBehavior, fxDetachClassBehavior, and __dycall of the component
- $this->assertEquals(3, $component->listen());
-
- $this->assertEquals(true, $component->getListeningToGlobalEvents());
-
- //This is from $this->component being instanced and listening. $component is accessing the global event structure
- $this->assertEquals(1, $component->getEventHandlers(TComponent::GLOBAL_RAISE_EVENT_LISTENER)->getCount());
-
- $this->assertEquals(3, $component->unlisten());
-
- $this->assertEquals(false, $component->getListeningToGlobalEvents());
-
- //This is from $this->component being instanced and listening. $component is accessing the global event structure
- $this->assertEquals(0, $component->getEventHandlers(TComponent::GLOBAL_RAISE_EVENT_LISTENER)->getCount());
- }
-
-
-
- //Test Class behaviors
- public function testAttachClassBehavior() {
-
- // ensure that the class is listening
- $this->assertEquals(1, $this->component->getEventHandlers('fxAttachClassBehavior')->getCount());
-
- //Test that the component is not a FooClassBehavior
- $this->assertNull($this->component->asa('FooClassBehavior'), "Component is already a FooClassBehavior and should not have this behavior");
-
- //Add the FooClassBehavior
- $this->component->attachClassBehavior('FooClassBehavior', new FooClassBehavior);
-
- //Test that the existing listening component can be a FooClassBehavior
- $this->assertNotNull($this->component->asa('FooClassBehavior'), "Component is does not have the FooClassBehavior and should have this behavior");
-
- // test if the function modifies new instances of the object
- $anothercomponent = new NewComponent();
-
- //The new component should be a FooClassBehavior
- $this->assertNotNull($anothercomponent->asa('FooClassBehavior'), "anothercomponent does not have the FooClassBehavior");
-
- // test when overwriting an existing class behavior, it should throw an TInvalidOperationException
- try {
- $this->component->attachClassBehavior('FooClassBehavior', new BarClassBehavior);
- $this->fail('TInvalidOperationException not raised when overwriting an existing behavior');
- } catch(TInvalidOperationException $e) {
- }
-
-
- // test when overwriting an existing class behavior, it should throw an TInvalidOperationException
- try {
- $this->component->attachClassBehavior('FooBarBehavior', 'FooBarBehavior', 'TComponent');
- $this->fail('TInvalidOperationException not raised when trying to place a behavior on the root object TComponent');
- } catch(TInvalidOperationException $e) {
- }
-
-
- // test if the function does not modify any existing objects that are not listening
- // The FooClassBehavior is already a part of the class behaviors thus the new instance gets the behavior.
- $nolistencomponent = new NewComponentNoListen();
-
- // test if the function modifies all existing objects that are listening
- // Adding a behavior to the first object, the second instance should automatically get the class behavior.
- // This is because the second object is listening to the global events of class behaviors
- $this->component->attachClassBehavior('BarClassBehavior', new BarClassBehavior);
- $this->assertNotNull($anothercomponent->asa('BarClassBehavior'), "anothercomponent is does not have the BarClassBehavior");
-
- // The no listen object should not have the BarClassBehavior because it was added as a class behavior after the object was instanced
- $this->assertNull($nolistencomponent->asa('BarClassBehavior'), "nolistencomponent has the BarClassBehavior and should not");
-
- // But the no listen object should have the FooClassBehavior because the class behavior was installed before the object was instanced
- $this->assertNotNull($nolistencomponent->asa('FooClassBehavior'), "nolistencomponent is does not have the FooClassBehavior");
-
- //Clear out what was done during this test
- $anothercomponent->unlisten();
- $this->component->detachClassBehavior('FooClassBehavior');
- $this->component->detachClassBehavior('BarClassBehavior');
-
- // Test attaching of single object behaviors as class-wide behaviors
- $this->component->attachClassBehavior('BarBehaviorObject', 'BarBehavior');
- $this->assertTrue($this->component->asa('BarBehaviorObject') instanceof BarBehavior);
- $this->assertEquals($this->component->BarBehaviorObject->Owner, $this->component);
- $this->component->detachClassBehavior('BarBehaviorObject');
- }
-
-
-
-
-
- public function testDetachClassBehavior() {
- // ensure that the component is listening
- $this->assertEquals(1, $this->component->getEventHandlers('fxDetachClassBehavior')->getCount());
-
- $prenolistencomponent = new NewComponentNoListen();
-
- //Attach a class behavior
- $this->component->attachClassBehavior('FooClassBehavior', new FooClassBehavior);
-
- //Create new components that listen and don't listen to global events
- $anothercomponent = new NewComponent();
- $postnolistencomponent = new NewComponentNoListen();
-
- //ensures that all the Components are properly initialized
- $this->assertEquals(2, $this->component->getEventHandlers('fxDetachClassBehavior')->getCount());
- $this->assertNotNull($this->component->asa('FooClassBehavior'), "Component does not have the FooClassBehavior and should have this behavior");
- $this->assertNull($prenolistencomponent->asa('FooClassBehavior'), "Component has the FooClassBehavior and should _not_ have this behavior");
- $this->assertNotNull($anothercomponent->asa('FooClassBehavior'), "Component does not have the FooClassBehavior and should have this behavior");
- $this->assertNotNull($postnolistencomponent->asa('FooClassBehavior'), "Component does not have the FooClassBehavior and should have this behavior");
-
-
- $this->component->detachClassBehavior('FooClassBehavior');
-
- $this->assertNull($this->component->asa('FooClassBehavior'), "Component has the FooClassBehavior and should _not_ have this behavior");
- $this->assertNull($prenolistencomponent->asa('FooClassBehavior'), "Component has the FooClassBehavior and should _not_ have this behavior");
- $this->assertNull($anothercomponent->asa('FooClassBehavior'), "Component has the FooClassBehavior and should _not_ have this behavior");
- $this->assertNotNull($postnolistencomponent->asa('FooClassBehavior'), "Component does not have the FooClassBehavior and should have this behavior");
-
-
- //tear down function variables
- $anothercomponent->unlisten();
- }
-
- public function testGetClassHierarchy() {
- $component = new DynamicCatchingComponent;
- $this->assertEquals(array('TComponent', 'NewComponent', 'NewComponentNoListen', 'DynamicCatchingComponent'), $component->getClassHierarchy());
- $this->assertEquals(array('TComponent', 'NewComponent', 'NewComponentNoListen', 'DynamicCatchingComponent'), $component->getClassHierarchy(false));
- $this->assertEquals(array('tcomponent', 'newcomponent', 'newcomponentnolisten', 'dynamiccatchingcomponent'), $component->getClassHierarchy(true));
- }
-
-
- public function testAsA() {
- $anothercomponent = new NewComponent();
-
- // ensure the component does not have the FooClassBehavior
- $this->assertNull($this->component->asa('FooClassBehavior'));
- $this->assertNull($this->component->asa('FooFooClassBehavior'));
- $this->assertNull($this->component->asa('BarClassBehavior'));
- $this->assertNull($this->component->asa('NonExistantClassBehavior'));
-
- $this->assertNull($anothercomponent->asa('FooClassBehavior'));
- $this->assertNull($anothercomponent->asa('FooFooClassBehavior'));
- $this->assertNull($anothercomponent->asa('BarClassBehavior'));
- $this->assertNull($anothercomponent->asa('NonExistantClassBehavior'));
-
- // add the class behavior
- $this->component->attachClassBehavior('FooClassBehavior', new FooClassBehavior);
-
- //Check that the component has only the class behavior assigned
- $this->assertNotNull($this->component->asa('FooClassBehavior'));
- $this->assertNull($this->component->asa('FooFooClassBehavior'));
- $this->assertNull($this->component->asa('BarClassBehavior'));
- $this->assertNull($this->component->asa('NonExistantClassBehavior'));
-
- //Check that the component has only the class behavior assigned
- $this->assertNotNull($anothercomponent->asa('FooClassBehavior'));
- $this->assertNull($anothercomponent->asa('FooFooClassBehavior'));
- $this->assertNull($anothercomponent->asa('BarClassBehavior'));
- $this->assertNull($anothercomponent->asa('NonExistantClassBehavior'));
-
- // remove the class behavior
- $this->component->detachClassBehavior('FooClassBehavior');
-
- // Check the function doesn't have the behavior any more
- $this->assertNull($this->component->asa('FooClassBehavior'));
- $this->assertNull($this->component->asa('FooFooClassBehavior'));
- $this->assertNull($this->component->asa('BarClassBehavior'));
- $this->assertNull($this->component->asa('NonExistantClassBehavior'));
-
- $this->assertNull($anothercomponent->asa('FooClassBehavior'));
- $this->assertNull($anothercomponent->asa('FooFooClassBehavior'));
- $this->assertNull($anothercomponent->asa('BarClassBehavior'));
- $this->assertNull($anothercomponent->asa('NonExistantClassBehavior'));
-
-
-
-
- $this->component->attachBehavior('BarBehavior', new BarBehavior);
-
- //Check that the component has only the object behavior assigned
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNull($this->component->asa('FooFooBehavior'));
- $this->assertNotNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('NonExistantBehavior'));
-
- //Check that the component has the behavior assigned
- $this->assertNull($anothercomponent->asa('FooBehavior'));
- $this->assertNull($anothercomponent->asa('FooFooBehavior'));
- $this->assertNull($anothercomponent->asa('BarBehavior'));
- $this->assertNull($anothercomponent->asa('NonExistantBehavior'));
-
- $this->component->detachBehavior('BarBehavior');
-
- //Check that the component has no object behaviors assigned
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNull($this->component->asa('FooFooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('NonExistantBehavior'));
-
- //Check that the component has no behavior assigned
- $this->assertNull($anothercomponent->asa('FooBehavior'));
- $this->assertNull($anothercomponent->asa('FooFooBehavior'));
- $this->assertNull($anothercomponent->asa('BarBehavior'));
- $this->assertNull($anothercomponent->asa('NonExistantBehavior'));
-
- $anothercomponent->unlisten();
- }
-
- public function testIsA() {
- //This doesn't check the IInstanceCheck functionality, separate function
-
- $this->assertTrue($this->component->isa('TComponent'));
- $this->assertTrue($this->component->isa('NewComponent'));
- $this->assertFalse($this->component->isa(new FooBehavior));
- $this->assertFalse($this->component->isa('FooBehavior'));
-
- //Ensure there is no BarBehavior
- $this->assertNull($this->component->asa('FooFooBehavior'));
-
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa('FooFooBehavior'));
-
- $this->component->attachBehavior('FooFooBehavior', new FooFooBehavior);
-
- $this->assertNotNull($this->component->asa('FooFooBehavior'));
-
- $this->assertTrue($this->component->isa('FooBehavior'));
- $this->assertTrue($this->component->isa('FooFooBehavior'));
-
- $this->component->disableBehaviors();
- // It still has the behavior
- $this->assertNotNull($this->component->asa('FooFooBehavior'));
-
- // But it is not expressed
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa('FooFooBehavior'));
-
- $this->component->enableBehaviors();
- $this->assertNotNull($this->component->asa('FooFooBehavior'));
-
- $this->assertTrue($this->component->isa('FooFooBehavior'));
-
-
-
- $this->component->attachBehavior('FooBarBehavior', new FooBarBehavior);
-
- $this->assertTrue($this->component->isa('FooBehavior'));
- $this->assertTrue($this->component->isa('FooBarBehavior'));
-
- $this->component->disableBehavior('FooBarBehavior');
-
- $this->assertTrue($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa('FooBarBehavior'));
-
- $this->component->enableBehavior('FooBarBehavior');
- $this->component->disableBehavior('FooFooBehavior');
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa('FooFooBehavior'));
- $this->assertTrue($this->component->isa('FooBarBehavior'));
-
- $this->component->disableBehavior('FooBarBehavior');
- $this->component->disableBehavior('FooFooBehavior');
-
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa('FooFooBehavior'));
- $this->assertFalse($this->component->isa('FooBarBehavior'));
-
- $this->component->enableBehavior('FooBarBehavior');
- $this->component->enableBehavior('FooFooBehavior');
-
- $this->assertTrue($this->component->isa('FooFooBehavior'));
- $this->assertTrue($this->component->isa('FooBarBehavior'));
-
-
- $this->component->detachBehavior('FooFooBehavior');
- $this->component->detachBehavior('FooBarBehavior');
-
- $this->assertFalse($this->component->isa(new FooBehavior));
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa(new FooFooBehavior));
- $this->assertFalse($this->component->isa('FooFooBehavior'));
- $this->assertFalse($this->component->isa(new FooBarBehavior));
- $this->assertFalse($this->component->isa('FooBarBehavior'));
-
- }
-
- public function testIsA_with_IInstanceCheck() {
-
- $this->assertTrue($this->component->isa('NewComponent'));
- $this->assertFalse($this->component->isa('PreBarBehavior'));
-
- $this->component->attachBehavior('BarBehavior', $behavior = new BarBehavior);
-
- $behavior->setInstanceReturn(null);
-
- $this->assertTrue($this->component->isa('NewComponent'));
- $this->assertTrue($this->component->isa('PreBarBehavior'));
- $this->assertFalse($this->component->isa('FooBehavior'));
-
- // This forces the iso on the BarBehavior to respond to any class with false
- $behavior->setInstanceReturn(false);
- $this->assertFalse($this->component->isa('PreBarBehavior'));
- $this->assertFalse($this->component->isa('FooBehavior'));
-
- //This forces the isa on the BarBehavior to respond to any class with true
- $behavior->setInstanceReturn(true);
- $this->assertTrue($this->component->isa('FooBehavior'));
-
-
- }
-
- public function testAttachDetachBehavior() {
-
- try {
- $this->component->faaEverMore(true, true);
- $this->fail('TApplicationException not raised trying to execute a undefined class method');
- } catch(TApplicationException $e) {}
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertFalse($this->component->isa('BarBehavior'));
-
- try {
- $this->component->attachBehavior('FooBehavior', new TComponent);
- $this->fail('TApplicationException not raised trying to execute a undefined class method');
- } catch(TInvalidDataTypeException $e) {}
-
- $this->component->attachBehavior('FooBehavior', new FooBehavior);
-
- $this->assertNotNull($this->component->asa('FooBehavior'));
- $this->assertTrue($this->component->isa('FooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertFalse($this->component->isa('BarBehavior'));
-
- try {
- $this->assertTrue($this->component->faaEverMore(true, true));
- } catch(TApplicationException $e) {
- $this->fail('TApplicationException raised while trying to execute a behavior class method');
- }
-
- try {
- $this->component->noMethodHere(true);
- $this->fail('TApplicationException not raised trying to execute a undefined class method');
- } catch(TApplicationException $e) {}
-
- $this->assertTrue($this->component->disableBehavior('FooBehavior'));
-
- //BarBehavior is not a behavior at this time
- $this->assertNull($this->component->disableBehavior('BarBehavior'));
-
- try {
- $this->component->faaEverMore(true, true);
- $this->fail('TApplicationException not raised trying to execute a undefined class method');
- } catch(TApplicationException $e) {}
-
- $this->assertTrue($this->component->enableBehavior('FooBehavior'));
-
- //BarBehavior is not a behavior at this time
- $this->assertNull($this->component->enableBehavior('BarBehavior'));
-
- try {
- $this->assertTrue($this->component->faaEverMore(true, true));
- } catch(TApplicationException $e) {
- $this->fail('TApplicationException raised while trying to execute a behavior class method');
- }
-
- $this->component->detachBehavior('FooBehavior');
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertFalse($this->component->isa('BarBehavior'));
-
- }
-
- public function testAttachDetachBehaviors() {
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('FooBarBehavior'));
- $this->assertNull($this->component->asa('PreBarBehavior'));
-
- $this->component->attachBehaviors(array('FooFooBehavior' => new FooFooBehavior, 'BarBehavior' => new BarBehavior, 'PreBarBehavior' => new PreBarBehavior));
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNotNull($this->component->asa('FooFooBehavior'));
- $this->assertNotNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('FooBarBehavior'));
- $this->assertNotNull($this->component->asa('PreBarBehavior'));
-
- $this->assertTrue($this->component->isa('FooFooBehavior'));
- $this->assertTrue($this->component->isa('FooBehavior'));
- $this->assertTrue($this->component->isa('BarBehavior'));
- $this->assertTrue($this->component->isa('PreBarBehavior'));
- $this->assertFalse($this->component->isa('FooBarBehavior'));
-
- $this->component->detachBehaviors(array('FooFooBehavior' => new FooFooBehavior, 'BarBehavior' => new BarBehavior));
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNull($this->component->asa('FooFooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('FooBarBehavior'));
- $this->assertNotNull($this->component->asa('PreBarBehavior'));
-
- $this->assertFalse($this->component->isa('FooFooBehavior'));
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa('BarBehavior'));
- $this->assertFalse($this->component->isa('FooBarBehavior'));
- $this->assertTrue($this->component->isa('PreBarBehavior'));
-
-
-
- // testing if we can detachBehaviors just by the name of the behavior instead of an array of the behavior
- $this->component->attachBehaviors(array('FooFooBehavior' => new FooFooBehavior, 'BarBehavior' => new BarBehavior));
-
- $this->assertTrue($this->component->isa('FooBehavior'));
- $this->assertTrue($this->component->isa('BarBehavior'));
-
- $this->component->detachBehaviors(array('FooFooBehavior', 'BarBehavior'));
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNull($this->component->asa('FooFooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('FooBarBehavior'));
-
- $this->assertFalse($this->component->isa('FooFooBehavior'));
- $this->assertFalse($this->component->isa('FooBehavior'));
- $this->assertFalse($this->component->isa('BarBehavior'));
- $this->assertFalse($this->component->isa('FooBarBehavior'));
- }
-
-
- public function testClearBehaviors() {
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('FooBarBehavior'));
- $this->assertNull($this->component->asa('PreBarBehavior'));
-
- $this->component->attachBehaviors(array('FooFooBehavior' => new FooFooBehavior, 'BarBehavior' => new BarBehavior, 'PreBarBehavior' => new PreBarBehavior));
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNotNull($this->component->asa('FooFooBehavior'));
- $this->assertNotNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('FooBarBehavior'));
- $this->assertNotNull($this->component->asa('PreBarBehavior'));
-
- $this->component->clearBehaviors();
-
- $this->assertNull($this->component->asa('FooBehavior'));
- $this->assertNull($this->component->asa('BarBehavior'));
- $this->assertNull($this->component->asa('FooBarBehavior'));
- $this->assertNull($this->component->asa('PreBarBehavior'));
- }
-
- public function testEnableDisableBehavior() {
-
- $this->assertNull($this->component->enableBehavior('FooBehavior'));
- $this->assertNull($this->component->disableBehavior('FooBehavior'));
-
- try {
- $this->component->faaEverMore(true, true);
- $this->fail('TApplicationException not raised trying to execute a undefined class method');
- } catch(TApplicationException $e) {}
-
- $this->component->attachBehavior('FooBehavior', new FooBehavior);
-
- $this->assertTrue($this->component->isa('FooBehavior'));
- try {
- $this->assertTrue($this->component->faaEverMore(true, true));
- } catch(TApplicationException $e) {
- $this->fail('TApplicationException raised while trying to execute a behavior class method');
- }
-
- $this->assertTrue($this->component->disableBehavior('FooBehavior'));
-
- $this->assertFalse($this->component->isa('FooBehavior'));
-
- try {
- $this->component->faaEverMore(true, true);
- $this->fail('TApplicationException not raised trying to execute a undefined class method');
- } catch(TApplicationException $e) {}
-
- $this->assertTrue($this->component->enableBehavior('FooBehavior'));
-
- $this->assertTrue($this->component->isa('FooBehavior'));
- try {
- $this->assertTrue($this->component->faaEverMore(true, true));
- } catch(TApplicationException $e) {
- $this->fail('TApplicationException raised while trying to execute a behavior class method');
- }
-
-
-
- $this->assertNull($this->component->enableBehavior('BarClassBehavior'));
- $this->assertNull($this->component->disableBehavior('BarClassBehavior'));
-
- try {
- $this->component->moreFunction(true, true);
- $this->fail('TApplicationException not raised trying to execute an undefined class method');
- } catch(TApplicationException $e) {}
-
- $this->component->attachClassBehavior('BarClassBehavior', new BarClassBehavior);
-
- $this->assertFalse($this->component->enableBehavior('BarClassBehavior'));
- $this->assertFalse($this->component->disableBehavior('BarClassBehavior'));
-
- try {
- $this->assertTrue($this->component->moreFunction(true, true));
- } catch(TApplicationException $e) {
- $this->fail('TApplicationException raised while trying to execute a behavior class method');
- }
-
- $this->component->detachClassBehavior('BarClassBehavior');
- }
-
-
- public function testBehaviorFunctionCalls() {
-
- $this->component->attachBehavior('FooBarBehavior', $behavior = new FooBarBehavior);
- $this->component->attachClassBehavior('FooClassBehavior', $classbehavior = new FooClassBehavior);
-
- // Test the Class Methods
- $this->assertEquals(12, $this->component->faaEverMore(3, 4));
-
- // Check that the called object is shifted in front of the array of a class behavior call
- $this->assertEquals($this->component, $this->component->getLastClassObject());
-
-
- //Test the FooBarBehavior
- $this->assertEquals(27, $this->component->moreFunction(3, 3));
-
- $this->assertTrue($this->component->disableBehavior('FooBarBehavior'));
- try {
- $this->assertNull($this->component->moreFunction(3, 4));
- $this->fail('TApplicationException not raised trying to execute a disabled behavior');
- } catch(TApplicationException $e) {}
- $this->assertTrue($this->component->enableBehavior('FooBarBehavior'));
-
- // Test the global event space, this should work and return false because no function implements these methods
- $this->assertNull($this->component->fxSomeUndefinedGlobalEvent());
- $this->assertNull($this->component->dySomeUndefinedIntraObjectEvent());
-
- $this->component->detachClassBehavior('FooClassBehavior');
-
-
-
- // test object instance behaviors implemented through class-wide behaviors
- $this->component->attachClassBehavior('FooFooBehaviorAsClass', 'FooFooBehavior');
-
- $component = new NewComponent;
-
- $this->assertEquals(5, $this->component->faafaaEverMore(3, 4));
- $this->assertEquals(10, $component->faafaaEverMore(6, 8));
-
- $this->component->detachClassBehavior('FooFooBehaviorAsClass');
- $component->unlisten();
- $component = null;
-
- try {
- $this->component->faafaaEverMore(3, 4);
- $this->fail('TApplicationException not raised trying to execute a disabled behavior');
- } catch(TApplicationException $e) {}
-
-
-
- // make a call to an unpatched fx and dy call so that it's passed through to the __dycall function
- $dynamicComponent = new DynamicCallComponent;
-
- $this->assertNull($dynamicComponent->fxUndefinedEvent());
- $this->assertNull($dynamicComponent->dyUndefinedEvent());
-
- //This tests the dynamic __dycall function
- $this->assertEquals(1024, $dynamicComponent->dyPowerFunction(2, 10));
- $this->assertEquals(5, $dynamicComponent->dyDivisionFunction(10, 2));
-
- $this->assertEquals(2048, $dynamicComponent->fxPowerFunction(2, 10));
- $this->assertEquals(10, $dynamicComponent->fxDivisionFunction(10, 2));
-
- $dynamicComponent->unlisten();
-
- }
-
public function testHasProperty() {
$this->assertTrue($this->component->hasProperty('Text'), "Component hasn't property Text");
$this->assertTrue($this->component->hasProperty('text'), "Component hasn't property text");
- $this->assertFalse($this->component->hasProperty('Caption'), "Component has property Caption");
-
- $this->assertTrue($this->component->hasProperty('ColorAttribute'), "Component hasn't property JsColorAttribute");
- $this->assertTrue($this->component->hasProperty('colorattribute'), "Component hasn't property JsColorAttribute");
- $this->assertFalse($this->component->canGetProperty('PastelAttribute'), "Component has property JsPastelAttribute");
-
- $this->assertTrue($this->component->hasProperty('JSColorAttribute'), "Component hasn't property JsColorAttribute");
- $this->assertTrue($this->component->hasProperty('jscolorattribute'), "Component hasn't property JsColorAttribute");
- $this->assertFalse($this->component->hasProperty('jsPastelAttribute'), "Component has property JsPastelAttribute");
-
- $this->assertFalse($this->component->hasProperty('Excitement'), "Component has property Excitement");
- $this->component->attachBehavior('ExcitementPropBehavior', new BehaviorTestBehavior);
- $this->assertTrue($this->component->hasProperty('Excitement'), "Component hasn't property Excitement");
- $this->component->disableBehaviors();
- $this->assertFalse($this->component->hasProperty('Excitement'), "Component has property Excitement");
- $this->component->enableBehaviors();
- $this->assertTrue($this->component->hasProperty('Excitement'), "Component hasn't property Excitement");
- $this->component->disableBehavior('ExcitementPropBehavior');
- $this->assertFalse($this->component->hasProperty('Excitement'), "Component has property Excitement");
- $this->component->enableBehavior('ExcitementPropBehavior');
- $this->assertTrue($this->component->hasProperty('Excitement'), "Component hasn't property Excitement");
-
- $this->component->detachBehavior('ExcitementPropBehavior');
-
- $this->assertFalse($this->component->hasProperty('Excitement'), "Component has property Excitement");
-
+ $this->assertFalse($this->component->hasProperty('Caption'), "Component as property Caption");
}
public function testCanGetProperty() {
$this->assertTrue($this->component->canGetProperty('Text'));
$this->assertTrue($this->component->canGetProperty('text'));
$this->assertFalse($this->component->canGetProperty('Caption'));
-
- $this->assertTrue($this->component->canGetProperty('ColorAttribute'));
- $this->assertTrue($this->component->canGetProperty('colorattribute'));
- $this->assertFalse($this->component->canGetProperty('PastelAttribute'));
-
- $this->assertTrue($this->component->canGetProperty('JSColorAttribute'));
- $this->assertTrue($this->component->canGetProperty('jscolorattribute'));
- $this->assertFalse($this->component->canGetProperty('jsPastelAttribute'));
-
-
- $this->assertFalse($this->component->canGetProperty('Excitement'), "Component has property Excitement");
- $this->component->attachBehavior('ExcitementPropBehavior', new BehaviorTestBehavior);
- $this->assertTrue($this->component->canGetProperty('Excitement'), "Component hasn't property Excitement");
- $this->component->disableBehaviors();
- $this->assertFalse($this->component->canGetProperty('Excitement'), "Component has property Excitement");
- $this->component->enableBehaviors();
- $this->assertTrue($this->component->canGetProperty('Excitement'), "Component hasn't property Excitement");
- $this->component->disableBehavior('ExcitementPropBehavior');
- $this->assertFalse($this->component->canGetProperty('Excitement'), "Component has property Excitement");
- $this->component->enableBehavior('ExcitementPropBehavior');
- $this->assertTrue($this->component->canGetProperty('Excitement'), "Component hasn't property Excitement");
-
- $this->component->detachBehavior('ExcitementPropBehavior');
-
- $this->assertFalse($this->component->canGetProperty('Excitement'), "Component has property Excitement");
}
public function testCanSetProperty() {
$this->assertTrue($this->component->canSetProperty('Text'));
$this->assertTrue($this->component->canSetProperty('text'));
$this->assertFalse($this->component->canSetProperty('Caption'));
-
- $this->assertTrue($this->component->canSetProperty('ColorAttribute'));
- $this->assertTrue($this->component->canSetProperty('colorattribute'));
- $this->assertFalse($this->component->canSetProperty('PastelAttribute'));
-
- $this->assertTrue($this->component->canSetProperty('JSColorAttribute'));
- $this->assertTrue($this->component->canSetProperty('jscolorattribute'));
- $this->assertFalse($this->component->canSetProperty('jsPastelAttribute'));
-
- $this->assertFalse($this->component->canSetProperty('Excitement'), "Component has property Excitement");
- $this->component->attachBehavior('ExcitementPropBehavior', new BehaviorTestBehavior);
- $this->assertTrue($this->component->canSetProperty('Excitement'), "Component hasn't property Excitement");
- $this->component->disableBehaviors();
- $this->assertFalse($this->component->canSetProperty('Excitement'), "Component has property Excitement");
- $this->component->enableBehaviors();
- $this->assertTrue($this->component->canSetProperty('Excitement'), "Component hasn't property Excitement");
- $this->component->disableBehavior('ExcitementPropBehavior');
- $this->assertFalse($this->component->canSetProperty('Excitement'), "Component has property Excitement");
- $this->component->enableBehavior('ExcitementPropBehavior');
- $this->assertTrue($this->component->canSetProperty('Excitement'), "Component hasn't property Excitement");
-
- $this->component->detachBehavior('ExcitementPropBehavior');
}
public function testGetProperty() {
@@ -1181,67 +75,6 @@ class TComponentTest extends PHPUnit_Framework_TestCase {
$this->fail('exception not raised when getting undefined property');
} catch(TInvalidOperationException $e) {
}
-
- $this->assertTrue($this->component->OnMyEvent instanceof TPriorityList);
- try {
- $value2=$this->component->onUndefinedEvent;
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
-
- //Without the function parenthesis, the function is _not_ called but the __get
- // method is called and the global events (list) are accessed
- $this->assertTrue($this->component->fxAttachClassBehavior instanceof TPriorityList);
- $this->assertTrue($this->component->fxDetachClassBehavior instanceof TPriorityList);
-
- // even undefined global events have a list as every object is able to access every event
- $this->assertTrue($this->component->fxUndefinedEvent instanceof TPriorityList);
-
-
- // Test the behaviors within the __get function
- $this->component->enableBehaviors();
-
- try {
- $value2=$this->component->Excitement;
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
-
- $this->component->attachBehavior('BehaviorTestBehavior', $behavior = new BehaviorTestBehavior);
- $this->assertEquals('faa', $this->component->Excitement);
-
- $this->component->disableBehaviors();
-
- try {
- $this->assertEquals('faa', $this->component->Excitement);
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
-
- $this->component->enableBehaviors();
- $this->assertEquals('faa', $this->component->getExcitement());
-
- $this->component->disableBehavior('BehaviorTestBehavior');
-
- $this->assertEquals($behavior, $this->component->BehaviorTestBehavior);
- try {
- $behavior = $this->component->BehaviorTestBehavior2;
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
-
- try {
- $this->assertEquals('faa', $this->component->Excitement);
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
- $this->component->enableBehavior('BehaviorTestBehavior');
- $this->assertEquals('faa', $this->component->getExcitement());
-
-
- // behaviors allow on and fx events to be passed through.
- $this->assertTrue($this->component->onBehaviorEvent instanceof TPriorityList);
-
}
public function testSetProperty() {
@@ -1254,203 +87,6 @@ class TComponentTest extends PHPUnit_Framework_TestCase {
$this->fail('exception not raised when setting undefined property');
} catch(TInvalidOperationException $e) {
}
-
- // Test get only properties is a set function
- try {
- $this->component->ReadOnlyProperty = 'setting read only';
- $this->fail('a property without a set function was set to a new value without error');
- } catch(TInvalidOperationException $e) {
- }
-
- try {
- $this->component->ReadOnlyJsProperty = 'jssetting read only';
- $this->fail('a js property without a set function was set to a new value without error');
- } catch(TInvalidOperationException $e) {
- }
-
- try {
- $this->component->JsReadOnlyJsProperty = 'jssetting read only';
- $this->fail('a js property without a set function was set to a new value without error');
- } catch(TInvalidOperationException $e) {
- }
-
- $this->assertEquals(0, $this->component->getEventHandlers('onMyEvent')->getCount());
- $this->component->onMyEvent = array($this->component,'myEventHandler');
- $this->assertEquals(1, $this->component->getEventHandlers('onMyEvent')->getCount());
- $this->component->onMyEvent[] = array($this->component,'Object.myEventHandler');
- $this->assertEquals(2, $this->component->getEventHandlers('onMyEvent')->getCount());
-
- $this->component->getEventHandlers('onMyEvent')->clear();
-
- // Test the behaviors within the __get function
- $this->component->enableBehaviors();
-
- try {
- $this->component->Excitement = 'laa';
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
-
- $this->component->attachBehavior('BehaviorTestBehavior', $behavior1 = new BehaviorTestBehavior);
- $this->component->Excitement = 'laa';
- $this->assertEquals('laa', $this->component->Excitement);
- $this->assertEquals('sol', $this->component->Excitement = 'sol');
-
-
- $this->component->disableBehaviors();
-
- try {
- $this->component->Excitement = false;
- $this->assertEquals(false, $this->component->Excitement);
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
-
- $this->component->enableBehaviors();
- $this->component->Excitement = 'faa';
- $this->assertEquals('faa', $this->component->getExcitement());
-
- $this->component->disableBehavior('BehaviorTestBehavior');
-
- try {
- $this->component->Excitement = false;
- $this->assertEquals(false, $this->component->Excitement);
- $this->fail('exception not raised when getting undefined property');
- } catch(TInvalidOperationException $e) {
- }
- $this->component->enableBehavior('BehaviorTestBehavior');
- $this->component->Excitement = 'sol';
- $this->assertEquals('sol', $this->component->Excitement);
-
-
- $this->component->attachBehavior('BehaviorTestBehavior2', $behavior2 = new BehaviorTestBehavior);
-
- $this->assertEquals('sol', $this->component->Excitement);
- $this->assertEquals('faa', $behavior2->Excitement);
-
- // this sets Excitement for both because they are not uniquely named
- $this->component->Excitement = 'befaad';
-
- $this->assertEquals('befaad', $this->component->Excitement);
- $this->assertEquals('befaad', $behavior1->Excitement);
- $this->assertEquals('befaad', $behavior2->Excitement);
-
-
- $this->component->detachBehavior('BehaviorTestBehavior2');
-
- // behaviors allow on and fx events to be passed through.
- $this->assertTrue($this->component->BehaviorTestBehavior->onBehaviorEvent instanceof TPriorityList);
-
- $this->assertEquals(0, $this->component->BehaviorTestBehavior->getEventHandlers('onBehaviorEvent')->getCount());
- $this->component->onBehaviorEvent = array($this->component,'myEventHandler');
- $this->assertEquals(1, $this->component->BehaviorTestBehavior->getEventHandlers('onBehaviorEvent')->getCount());
- $this->component->onBehaviorEvent[] = array($this->component,'Object.myEventHandler');
- $this->assertEquals(2, $this->component->BehaviorTestBehavior->getEventHandlers('onBehaviorEvent')->getCount());
-
- $this->component->BehaviorTestBehavior->getEventHandlers('onBehaviorEvent')->clear();
- }
-
-
- public function testIsSetFunction() {
- $this->assertTrue(isset($this->component->fxAttachClassBehavior));
- $this->component->unlisten();
-
- $this->assertFalse(isset($this->component->onMyEvent));
- $this->assertFalse(isset($this->component->undefinedEvent));
- $this->assertFalse(isset($this->component->fxAttachClassBehavior));
-
- $this->assertFalse(isset($this->component->BehaviorTestBehavior));
- $this->assertFalse(isset($this->component->onBehaviorEvent));
-
- $this->component->attachBehavior('BehaviorTestBehavior', new BehaviorTestBehavior);
-
- $this->assertTrue(isset($this->component->BehaviorTestBehavior));
- $this->assertFalse(isset($this->component->onBehaviorEvent));
-
- $this->component->attachEventHandler('onBehaviorEvent','foo');
- $this->assertTrue(isset($this->component->onBehaviorEvent));
-
- $this->component->attachEventHandler('onMyEvent','foo');
- $this->assertTrue(isset($this->component->onMyEvent));
-
- $this->assertTrue(isset($this->component->Excitement));
- $this->component->Excitement = null;
- $this->assertFalse(isset($this->component->Excitement));
- $this->assertFalse(isset($this->component->UndefinedBehaviorProperty));
-
-
- }
-
-
- public function testUnsetFunction() {
-
- $this->assertEquals('default', $this->component->getText());
- unset($this->component->Text);
- $this->assertNull($this->component->getText());
-
- unset($this->component->UndefinedProperty);
-
- // object events
- $this->assertEquals(0, $this->component->onMyEvent->Count);
- $this->component->attachEventHandler('onMyEvent','foo');
- $this->assertEquals(1, $this->component->onMyEvent->Count);
- unset($this->component->onMyEvent);
- $this->assertEquals(0, $this->component->onMyEvent->Count);
-
- //global events
- $this->assertEquals(1, $this->component->fxAttachClassBehavior->Count);
- $component = new NewComponent();
- $this->assertEquals(2, $this->component->fxAttachClassBehavior->Count);
- unset($this->component->fxAttachClassBehavior);
- // retain the other object event
- $this->assertEquals(1, $this->component->fxAttachClassBehavior->Count);
- $component->unlisten();
-
- try {
- unset($this->component->Object);
- $this->fail('TInvalidOperationException not raised when unsetting get only property');
- } catch(TInvalidOperationException $e) {}
-
- $this->component->attachBehavior('BehaviorTestBehavior', new BehaviorTestBehavior);
- $this->assertTrue($this->component->asa('BehaviorTestBehavior') instanceof BehaviorTestBehavior);
- $this->assertFalse($this->component->asa('BehaviorTestBehavior2') instanceof BehaviorTestBehavior);
-
- $this->assertEquals('faa', $this->component->Excitement);
- unset($this->component->Excitement);
- $this->assertNull($this->component->Excitement);
- $this->component->Excitement = 'sol';
- $this->assertEquals('sol', $this->component->Excitement);
-
- // Test the disabling of unset within behaviors
- $this->component->disableBehaviors();
- unset($this->component->Excitement);
- $this->component->enableBehaviors();
- // This should still be 'sol' because the unset happened inside behaviors being disabled
- $this->assertEquals('sol', $this->component->Excitement);
- $this->component->disableBehavior('BehaviorTestBehavior');
- unset($this->component->Excitement);
- $this->component->enableBehavior('BehaviorTestBehavior');
- $this->assertEquals('sol', $this->component->Excitement);
-
- unset($this->component->Excitement);
- $this->assertNull($this->component->Excitement);
-
- try {
- unset($this->component->ReadOnly);
- $this->fail('TInvalidOperationException not raised when unsetting get only property');
- } catch(TInvalidOperationException $e) {}
-
- $this->component->onBehaviorEvent = 'foo';
- $this->assertEquals(1, count($this->component->onBehaviorEvent));
- $this->assertEquals(1, count($this->component->BehaviorTestBehavior->onBehaviorEvent));
- unset($this->component->onBehaviorEvent);
- $this->assertEquals(0, count($this->component->onBehaviorEvent));
- $this->assertEquals(0, count($this->component->BehaviorTestBehavior->onBehaviorEvent));
-
- // Remove behavior via unset
- unset($this->component->BehaviorTestBehavior);
- $this->assertFalse($this->component->asa('BehaviorTestBehavior') instanceof BehaviorTestBehavior);
-
}
public function testGetSubProperty() {
@@ -1466,225 +102,46 @@ class TComponentTest extends PHPUnit_Framework_TestCase {
$this->assertTrue($this->component->hasEvent('OnMyEvent'));
$this->assertTrue($this->component->hasEvent('onmyevent'));
$this->assertFalse($this->component->hasEvent('onYourEvent'));
-
- // fx won't throw an error if any of these fx function are called on an object.
- // It is a special prefix event designation that every object responds to all events.
- $this->assertTrue($this->component->hasEvent('fxAttachClassBehavior'));
- $this->assertTrue($this->component->hasEvent('fxattachclassbehavior'));
-
- $this->assertTrue($this->component->hasEvent('fxNonExistantGlobalEvent'));
- $this->assertTrue($this->component->hasEvent('fxnonexistantglobalevent'));
-
- $this->assertTrue($this->component->hasEvent('dyNonExistantLocalEvent'));
- $this->assertTrue($this->component->hasEvent('fxnonexistantlocalevent'));
-
-
- //Test behavior events
- $this->assertFalse($this->component->hasEvent('onBehaviorEvent'));
- $this->component->attachBehavior('BehaviorTestBehavior', new BehaviorTestBehavior);
- $this->assertTrue($this->component->hasEvent('onBehaviorEvent'));
- $this->assertTrue($this->component->BehaviorTestBehavior->hasEvent('onBehaviorEvent'));
-
- $this->component->disableBehavior('BehaviorTestBehavior');
- $this->assertFalse($this->component->hasEvent('onBehaviorEvent'));
- $this->component->enableBehavior('BehaviorTestBehavior');
- $this->assertTrue($this->component->hasEvent('onBehaviorEvent'));
}
public function testHasEventHandler() {
$this->assertFalse($this->component->hasEventHandler('OnMyEvent'));
$this->component->attachEventHandler('OnMyEvent','foo');
$this->assertTrue($this->component->hasEventHandler('OnMyEvent'));
-
- $this->assertFalse($this->component->hasEventHandler('fxNonExistantGlobalEvent'));
- $this->component->attachEventHandler('fxNonExistantGlobalEvent','foo');
- $this->assertTrue($this->component->hasEventHandler('fxNonExistantGlobalEvent'));
-
- //Test behavior events
- $this->assertFalse($this->component->hasEventHandler('onBehaviorEvent'));
- $this->component->attachBehavior('BehaviorTestBehavior', new BehaviorTestBehavior);
- $this->assertFalse($this->component->hasEventHandler('onBehaviorEvent'));
- $this->assertFalse($this->component->BehaviorTestBehavior->hasEventHandler('onBehaviorEvent'));
-
- $this->component->attachEventHandler('onBehaviorEvent','foo');
- $this->assertTrue($this->component->hasEventHandler('onBehaviorEvent'));
-
- $this->component->disableBehavior('BehaviorTestBehavior');
- $this->assertFalse($this->component->hasEvent('onBehaviorEvent'));
- $this->assertFalse($this->component->hasEventHandler('onBehaviorEvent'));
- $this->component->enableBehavior('BehaviorTestBehavior');
- $this->assertTrue($this->component->hasEvent('onBehaviorEvent'));
- $this->assertTrue($this->component->hasEventHandler('onBehaviorEvent'));
}
public function testGetEventHandlers() {
$list=$this->component->getEventHandlers('OnMyEvent');
- $this->assertTrue(($list instanceof TPriorityList) && ($list->getCount()===0));
+ $this->assertTrue(($list instanceof TList) && ($list->getCount()===0));
$this->component->attachEventHandler('OnMyEvent','foo');
- $this->assertTrue(($list instanceof TPriorityList) && ($list->getCount()===1));
+ $this->assertTrue(($list instanceof TList) && ($list->getCount()===1));
try {
$list=$this->component->getEventHandlers('YourEvent');
$this->fail('exception not raised when getting event handlers for undefined event');
} catch(TInvalidOperationException $e) {
}
-
- $list=$this->component->getEventHandlers('fxRandomEvent');
- $this->assertTrue(($list instanceof TPriorityList) && ($list->getCount()===0));
- $this->component->attachEventHandler('fxRandomEvent','foo');
- $this->assertTrue(($list instanceof TPriorityList) && ($list->getCount()===1));
- try {
- $list=$this->component->getEventHandlers('fxSomeUndefinedGlobalEvent');
- } catch(TInvalidOperationException $e) {
- $this->fail('exception raised when getting event handlers for universal global event');
- }
-
-
-
- //Test behavior events
- try {
- $list=$this->component->getEventHandlers('onBehaviorEvent');
- $this->fail('exception not raised when getting event handlers for undefined event');
- } catch(TInvalidOperationException $e) {
- }
- $this->assertFalse($this->component->hasEventHandler('onBehaviorEvent'));
-
- $this->component->attachBehavior('BehaviorTestBehavior', new BehaviorTestBehavior);
- $list=$this->component->getEventHandlers('onBehaviorEvent');
- $this->assertTrue(($list instanceof TPriorityList) && ($list->getCount()===0));
- $this->component->attachEventHandler('onBehaviorEvent','foo');
- $this->assertTrue(($list instanceof TPriorityList) && ($list->getCount()===1));
-
- $this->component->disableBehavior('BehaviorTestBehavior');
- try {
- $list=$this->component->getEventHandlers('onBehaviorEvent');
- $this->fail('exception not raised when getting event handlers for undefined event');
- } catch(TInvalidOperationException $e) {
- }
- $this->component->enableBehavior('BehaviorTestBehavior');
- $this->assertTrue(($this->component->getEventHandlers('onBehaviorEvent') instanceof TPriorityList) && ($list->getCount()===1));
-
}
public function testAttachEventHandler() {
-
$this->component->attachEventHandler('OnMyEvent','foo');
- $this->assertEquals(1, $this->component->getEventHandlers('OnMyEvent')->getCount());
+ $this->assertTrue($this->component->getEventHandlers('OnMyEvent')->getCount()===1);
try {
$this->component->attachEventHandler('YourEvent','foo');
$this->fail('exception not raised when attaching event handlers for undefined event');
} catch(TInvalidOperationException $e) {
}
-
- //Testing the priorities of attaching events
- $this->component->attachEventHandler('OnMyEvent','foopre', 5);
- $this->component->attachEventHandler('OnMyEvent','foopost', 15);
- $this->component->attachEventHandler('OnMyEvent','foobar', 10);
- $this->assertEquals(4, $this->component->getEventHandlers('OnMyEvent')->getCount());
- $list = $this->component->getEventHandlers('OnMyEvent');
- $this->assertEquals('foopre', $list[0]);
- $this->assertEquals('foo', $list[1]);
- $this->assertEquals('foobar', $list[2]);
- $this->assertEquals('foopost', $list[3]);
-
-
- //Test attaching behavior events
- try {
- $this->component->attachEventHandler('onBehaviorEvent','foo');
- $this->fail('exception not raised when getting event handlers for undefined event');
- } catch(TInvalidOperationException $e) {
- }
- $this->component->attachBehavior('BehaviorTestBehavior', new BehaviorTestBehavior);
-
- $this->component->attachEventHandler('onBehaviorEvent','foo');
-
- //Testing the priorities of attaching behavior events
- $this->component->attachEventHandler('onBehaviorEvent','foopre', 5);
- $this->component->attachEventHandler('onBehaviorEvent','foopost', 15);
- $this->component->attachEventHandler('onBehaviorEvent','foobar', 10);
- $this->component->attachEventHandler('onBehaviorEvent','foobarfoobar', 10);
- $this->assertEquals(5, $this->component->getEventHandlers('onBehaviorEvent')->getCount());
- $list = $this->component->getEventHandlers('onBehaviorEvent');
- $this->assertEquals('foopre', $list[0]);
- $this->assertEquals('foo', $list[1]);
- $this->assertEquals('foobar', $list[2]);
- $this->assertEquals('foobarfoobar', $list[3]);
- $this->assertEquals('foopost', $list[4]);
-
- $this->component->disableBehavior('BehaviorTestBehavior');
- try {
- $this->component->attachEventHandler('onBehaviorEvent','bar');
- $this->fail('exception not raised when getting event handlers for undefined event');
- } catch(TInvalidOperationException $e) {
- }
- $this->component->enableBehavior('BehaviorTestBehavior');
-
+ /*$this->component->MyEvent[]='foo2';
+ $this->assertTrue($this->component->getEventHandlers('MyEvent')->getCount()===2);
+ $this->component->getEventHandlers('MyEvent')->add('foo3');
+ $this->assertTrue($this->component->getEventHandlers('MyEvent')->getCount()===3);
+ $this->component->MyEvent[0]='foo4';
+ $this->assertTrue($this->component->getEventHandlers('MyEvent')->getCount()===3);
+ $this->component->getEventHandlers('MyEvent')->insert(0,'foo5');
+ $this->assertTrue($this->component->MyEvent->Count===4 && $this->component->MyEvent[0]==='foo5');
+ $this->component->MyEvent='foo6';
+ $this->assertTrue($this->component->MyEvent->Count===5 && $this->component->MyEvent[4]==='foo6');*/
}
- public function testDetachEventHandler() {
-
- $this->component->attachEventHandler('OnMyEvent','foo');
- $this->assertEquals(1, $this->component->getEventHandlers('OnMyEvent')->getCount());
-
- $this->component->attachEventHandler('OnMyEvent','foopre', 5);
- $this->component->attachEventHandler('OnMyEvent','foopost', 15);
- $this->component->attachEventHandler('OnMyEvent','foobar', 10);
- $this->component->attachEventHandler('OnMyEvent','foobarfoobar', 10);
-
-
-
- $this->component->detachEventHandler('OnMyEvent','foo');
- $list = $this->component->getEventHandlers('OnMyEvent');
- $this->assertEquals(4, $list->getCount());
-
- $this->assertEquals('foopre', $list[0]);
- $this->assertEquals('foobar', $list[1]);
- $this->assertEquals('foobarfoobar', $list[2]);
- $this->assertEquals('foopost', $list[3]);
-
- $this->component->detachEventHandler('OnMyEvent','foopre', null);
- $this->assertEquals(4, $list->getCount());
-
- $this->component->detachEventHandler('OnMyEvent','foopre', 5);
- $this->assertEquals(3, $list->getCount());
-
-
- // Now do detaching of behavior on events
- try {
- $this->component->attachEventHandler('onBehaviorEvent','foo');
- $this->fail('exception not raised when getting event handlers for undefined event');
- } catch(TInvalidOperationException $e) {
- }
- $this->component->attachBehavior('BehaviorTestBehavior', new BehaviorTestBehavior);
-
- $this->component->attachEventHandler('onBehaviorEvent','foo');
- $this->assertEquals(1, $this->component->getEventHandlers('onBehaviorEvent')->getCount());
-
- $this->component->attachEventHandler('onBehaviorEvent','foopre', 5);
- $this->component->attachEventHandler('onBehaviorEvent','foopost', 15);
- $this->component->attachEventHandler('onBehaviorEvent','foobar', 10);
- $this->component->attachEventHandler('onBehaviorEvent','foobarfoobar', 10);
-
-
-
- $this->component->detachEventHandler('onBehaviorEvent','foo');
- $list = $this->component->getEventHandlers('onBehaviorEvent');
- $this->assertEquals(4, $list->getCount());
-
- $this->assertEquals('foopre', $list[0]);
- $this->assertEquals('foobar', $list[1]);
- $this->assertEquals('foobarfoobar', $list[2]);
- $this->assertEquals('foopost', $list[3]);
-
- $this->component->detachEventHandler('onBehaviorEvent','foopre', null);
- $this->assertEquals(4, $list->getCount());
-
- $this->component->detachEventHandler('onBehaviorEvent','foopre', 5);
- $this->assertEquals(3, $list->getCount());
- }
-
-
-
-
public function testRaiseEvent() {
$this->component->attachEventHandler('OnMyEvent',array($this->component,'myEventHandler'));
$this->assertFalse($this->component->isEventHandled());
@@ -1694,210 +151,7 @@ class TComponentTest extends PHPUnit_Framework_TestCase {
$this->assertFalse($this->component->Object->isEventHandled());
$this->component->raiseEvent('OnMyEvent',$this,null);
$this->assertTrue($this->component->Object->isEventHandled());
-
- $this->component->resetEventHandled();
- $this->component->Object->resetEventHandled();
-
-
- // Test a behavior on event
- $this->component->attachBehavior('test', new BehaviorTestBehavior);
-
- $this->component->attachEventHandler('onBehaviorEvent',array($this->component,'myEventHandler'));
- $this->assertFalse($this->component->isEventHandled());
- $this->component->raiseEvent('onBehaviorEvent',$this,null);
- $this->assertTrue($this->component->isEventHandled());
- $this->component->attachEventHandler('onBehaviorEvent',array($this->component,'Object.myEventHandler'));
- $this->assertFalse($this->component->Object->isEventHandled());
- $this->component->raiseEvent('onBehaviorEvent',$this,null);
- $this->assertTrue($this->component->Object->isEventHandled());
-
- //test behavior enabled/disabled events
- $this->component->disableBehavior('test');
-
- $this->component->resetEventHandled();
- $this->component->Object->resetEventHandled();
-
- try {
- $this->component->attachEventHandler('onBehaviorEvent',array($this->component,'myEventHandler'));
- $this->fail('exception not raised when getting event handlers for undefined event');
- } catch(TInvalidOperationException $e) {}
- $this->assertFalse($this->component->isEventHandled());
- try {
- $this->component->raiseEvent('onBehaviorEvent',$this,null);
- $this->fail('exception not raised when getting event handlers for undefined event');
- } catch(TInvalidOperationException $e) {}
- $this->assertFalse($this->component->isEventHandled());
-
- $this->component->enableBehavior('test');
-
-
-
- //Test the return types of this function
-
- $this->assertFalse($this->component->isEventHandled());
- $this->assertFalse($this->component->Object->isEventHandled());
- $this->assertEquals(array(), $this->component->onBehaviorEvent($this,$this->component));
- $this->assertTrue($this->component->isEventHandled());
- $this->assertTrue($this->component->Object->isEventHandled());
-
- // This accumulates all the responses from each of the events
- $arr=$this->component->onBehaviorEvent($this, $this->component, TEventResults::EVENT_RESULT_ALL);
- $this->assertEquals($this, $arr[0]['sender']);
- $this->assertEquals($this->component, $arr[0]['param']);
- $this->assertTrue(null === $arr[0]['response']);
-
- $this->assertEquals($this, $arr[1]['sender']);
- $this->assertEquals($this->component, $arr[1]['param']);
- $this->assertTrue(null === $arr[1]['response']);
-
- $this->assertEquals(2, count($arr));
-
- // This tests without the default filtering-out of null
- $arr=$this->component->onBehaviorEvent($this, $this->component, false);
- $this->assertEquals(array(null, null), $arr);
-
-
- unset($this->component->onBehaviorEvent);
- $this->assertEquals(0, $this->component->onBehaviorEvent->Count);
-
- $this->component->onBehaviorEvent = array($this, 'returnValue4');
- $this->component->onBehaviorEvent = array($this, 'returnValue1');
-
- // Test the per event post processing function
- $arr=$this->component->onBehaviorEvent($this, $this->component, array($this, 'postEventFunction'));
- $this->assertEquals(array(exp(4), exp(1)), $arr);
- $arr=$this->component->onBehaviorEvent($this, $this->component, array($this, 'postEventFunction2'));
- $this->assertEquals(array(sin(4), sin(1)), $arr);
-
-
- //Testing Feed-forward functionality
- unset($this->component->onBehaviorEvent);
-
- $this->component->onBehaviorEvent = array($this, 'ffValue4');
- $this->component->onBehaviorEvent = array($this, 'ffValue2');
- $arr=$this->component->onBehaviorEvent($this, 5, TEventResults::EVENT_RESULT_FEED_FORWARD);
- $this->assertEquals(array(20, 40), $arr);
-
-
- unset($this->component->onBehaviorEvent);
-
- //Order of these events affects the response order in feed forward
- $this->component->onBehaviorEvent = array($this, 'ffValue2');
- $this->component->onBehaviorEvent = array($this, 'ffValue4');
- $arr=$this->component->onBehaviorEvent($this, 5, TEventResults::EVENT_RESULT_FEED_FORWARD);
- $this->assertEquals(array(10, 40), $arr);
- }
-
- public function returnValue1(){return 1;}
- public function returnValue4(){return 4;}
- public function postEventFunction($sender, $param, $caller, $response){return exp($response);}
- public function postEventFunction2($sender, $param, $caller, $response){return sin($response);}
- public function ffValue2($sender, $param){return $param*2;}
- public function ffValue4($sender, $param){return $param*4;}
-
-
- public function testGlobalEventListenerInRaiseEvent() {
- //TODO Test the Global Event Listener
}
-
-
- public function testIDynamicMethodsOnBehavior() {
-
- //Add Behavior with dynamic call
- $this->component->attachBehavior('TDynamicBehavior', new TDynamicBehavior);
-
- //Check that the behavior is working as it should
- $this->assertTrue($this->component->isa('TDynamicBehavior'));
- $this->assertNull($this->component->getLastBehaviorDynamicMethodCalled());
-
- // call basic behavior implemented method from object (containing behavior)
- $this->assertEquals(42, $this->component->TestBehaviorMethod(6, 7));
-
- //Test out undefined behavior/host object method
- try {
- $this->component->objectAndBehaviorUndefinedMethod();
- $this->fail('exception not raised when evaluating an undefined method by the object and behavior');
- } catch(TApplicationException $e) {
- }
-
- // calling undefined dynamic method, caught by the __dycall method in the behavior and implemented
- // this behavior catches undefined dynamic event and divides param1 by param 2
- $this->assertEquals(22, $this->component->dyTestDynamicBehaviorMethod(242, 11));
- $this->assertEquals('dyTestDynamicBehaviorMethod', $this->component->getLastBehaviorDynamicMethodCalled());
-
- // calling undefined dynamic method, caught by the __dycall in the behavior and ignored
- $this->assertNull($this->component->dyUndefinedIntraEvent(242, 11));
- $this->assertEquals('dyUndefinedIntraEvent', $this->component->getLastBehaviorDynamicMethodCalled());
-
- //call behavior defined dynamic event
- // param1 * 2 * param2
- $this->assertEquals(2420, $this->component->dyTestIntraEvent(121, 10));
-
- $this->component->detachBehavior('TDynamicBehavior');
- $this->assertFalse($this->component->isa('TDynamicBehavior'));
-
-
-
- //Add Class Behavior with dynamic call
- $this->component->attachBehavior('TDynamicClassBehavior', new TDynamicClassBehavior);
-
- //Check that the behavior is working as it should
- $this->assertTrue($this->component->isa('TDynamicClassBehavior'));
- $this->assertNull($this->component->getLastBehaviorDynamicMethodCalled());
-
- // call basic behavior implemented method from object (containing behavior)
- $this->assertEquals(42, $this->component->TestBehaviorMethod(6, 7));
-
- //Test out undefined behavior/host object method
- try {
- $this->component->objectAndBehaviorUndefinedMethod();
- $this->fail('exception not raised when evaluating an undefined method by the object and behavior');
- } catch(TApplicationException $e) {
- }
-
- // calling undefined dynamic method, caught by the __dycall method in the behavior and implemented
- // this behavior catches undefined dynamic event and divides param1 by param 2
- $this->assertEquals(22, $this->component->dyTestDynamicClassBehaviorMethod(242, 11));
- $this->assertEquals('dyTestDynamicClassBehaviorMethod', $this->component->getLastBehaviorDynamicMethodCalled());
-
- // calling undefined dynamic method, caught by the __dycall in the behavior and ignored
- $this->assertNull($this->component->dyUndefinedIntraEvent(242, 11));
- $this->assertEquals('dyUndefinedIntraEvent', $this->component->getLastBehaviorDynamicMethodCalled());
-
- //call behavior defined dynamic event
- // param1 * 2 * param2
- $this->assertEquals(2420, $this->component->dyTestIntraEvent(121, 10));
-
- $this->component->detachBehavior('TDynamicClassBehavior');
- $this->assertFalse($this->component->isa('TDynamicClassBehavior'));
-
-
- }
-
- // This also tests the priority of the common global raiseEvent events
- public function testIDynamicMethodsOnBehaviorGlobalEvents() {
- $component = new GlobalRaiseComponent();
-
- // common function has a default priority of 10
- $component->attachEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER, array($component, 'commonRaiseEventListener'));
- $component->attachEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER, array($component, 'postglobalRaiseEventListener'), 1);
- $component->attachEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER, array($component, 'preglobalRaiseEventListener'), -1);
-
- $this->assertEquals(5, $this->component->fxGlobalListener->getCount());
- $this->assertEquals(1, $this->component->fxPrimaryGlobalEvent->getCount());
- $this->assertEquals(1, $this->component->fxPrimaryGlobalEvent->getCount(), 'fxPrimaryGlobalEvent is not installed on test object');
-
- // call the global event on a different object than the test object
- $res = $this->component->raiseEvent('fxPrimaryGlobalEvent', $this, null, TEventResults::EVENT_RESULT_ALL);
-
- $this->assertEquals(6, count($res));
- $this->assertEquals(array('pregl', 'primary', 'postgl', 'fxGL', 'fxcall', 'com'), $component->getCallOrders());
-
- $component->unlisten();
- }
-
-
-
public function testEvaluateExpression() {
$expression="1+2";
@@ -1909,9 +163,6 @@ class TComponentTest extends PHPUnit_Framework_TestCase {
}
}
-
-
-
public function testEvaluateStatements() {
$statements='$a="test string"; echo $a;';
$this->assertEquals('test string',$this->component->evaluateStatements($statements));
@@ -1922,169 +173,6 @@ class TComponentTest extends PHPUnit_Framework_TestCase {
} catch(Exception $e) {
}
}
-
-
- public function testDynamicFunctionCall() {
-
- $this->assertEquals(' aa bb cc __ .. ++ || !! ?? ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
-
- $this->component->attachBehavior('dy1', new dy1TextReplace);
- $this->assertFalse($this->component->dy1->isCalled());
- $this->assertEquals(' aa bb cc __ __ ++ || !! ?? ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
- $this->assertTrue($this->component->dy1->isCalled());
-
- $this->component->attachBehavior('dy2', new dy2TextReplace);
- $this->assertFalse($this->component->dy2->isCalled());
- $this->assertEquals(' aa bb cc __ __ || || !! ?? ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
- $this->assertTrue($this->component->dy2->isCalled());
-
- $this->component->attachBehavior('dy3', new dy3TextReplace);
- $this->assertFalse($this->component->dy3->isCalled());
- $this->assertEquals(' aa bb cc __ __ || || ?? ?? ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
- $this->assertTrue($this->component->dy3->isCalled());
-
- $this->assertEquals(' aa bb cc __ .. ++ || !! ?? ', $this->component->dyUndefinedEvent(' aa bb cc __ .. ++ || !! ?? '));
-
- $this->assertEquals(0.25, $this->component->dyPowerFunction(2,2));
-
-
- $this->component->detachBehavior('dy1');
- $this->component->detachBehavior('dy2');
- $this->component->detachBehavior('dy3');
-
- //test class behaviors of dynamic events and the argument list order
-
- $this->assertEquals(' aa bb cc __ .. ++ || !! ?? ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
-
- $this->component->attachBehavior('dy1', new dy1ClassTextReplace);
- $this->assertFalse($this->component->dy1->isCalled());
- $this->assertEquals(' aa bb cc .. .. ++ || !! ?? ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
- $this->assertTrue($this->component->dy1->isCalled());
-
- $this->component->attachBehavior('dy2', new dy2ClassTextReplace);
- $this->assertFalse($this->component->dy2->isCalled());
- $this->assertEquals(' aa bb cc .. .. ++ ++ !! ?? ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
- $this->assertTrue($this->component->dy2->isCalled());
-
- $this->component->attachBehavior('dy3', new dy3ClassTextReplace);
- $this->assertFalse($this->component->dy3->isCalled());
- $this->assertEquals(' aa bb cc .. .. ++ ++ !! ^_^ ', $this->component->dyTextFilter(' aa bb cc __ .. ++ || !! ?? '));
- $this->assertTrue($this->component->dy3->isCalled());
-
- $this->assertEquals(' aa bb cc __ .. ++ || !! ?? ', $this->component->dyUndefinedEvent(' aa bb cc __ .. ++ || !! ?? '));
-
- $this->assertEquals(0.25, $this->component->dyPowerFunction(2,2));
-
-
- }
-
-
-
-
- public function testDynamicIntraObjectEvents() {
-
- $this->component->attachBehavior('IntraEvents', new IntraObjectExtenderBehavior);
-
- $this->assertNull($this->component->IntraEvents->LastCall);
-
- //unlisten first, this object listens upon instantiation.
- $this->component->unlisten();
- $this->assertEquals(2, $this->component->IntraEvents->LastCall);
-
- // ensures that IntraEvents nulls the last call variable when calling this getter
- $this->assertNull($this->component->IntraEvents->LastCall);
-
- //listen next to undo the unlisten
- $this->component->listen();
- $this->assertEquals(1, $this->component->IntraEvents->LastCall);
-
-
- $this->assertEquals(3, $this->component->evaluateExpression('1+2'));
- $this->assertEquals(7, $this->component->IntraEvents->LastCall);
-
- $statements='$a="test string"; echo $a;';
- $this->assertEquals('test string', $this->component->evaluateStatements($statements));
- $this->assertEquals(8, $this->component->IntraEvents->LastCall);
-
- $component2 = new NewComponentNoListen();
- $this->assertNull($this->component->createdOnTemplate($component2));
- $this->assertEquals(9, $this->component->IntraEvents->LastCall);
-
- $this->assertNull($this->component->addParsedObject($component2));
- $this->assertEquals(10, $this->component->IntraEvents->LastCall);
-
-
-
- $behavior = new BarBehavior;
- $this->assertEquals($behavior, $this->component->attachBehavior('BarBehavior', $behavior));
- $this->assertEquals(11, $this->component->IntraEvents->LastCall);
-
- $this->assertNull($this->component->disableBehaviors());
- $this->assertNull($this->component->enableBehaviors());
- $this->assertEquals(27, $this->component->IntraEvents->LastCall);
-
- $this->assertTrue($this->component->disableBehavior('BarBehavior'));
- $this->assertEquals(16, $this->component->IntraEvents->LastCall);
-
- $this->assertTrue($this->component->enableBehavior('BarBehavior'));
- $this->assertEquals(15, $this->component->IntraEvents->LastCall);
-
- $this->assertEquals($behavior, $this->component->detachBehavior('BarBehavior'));
- $this->assertEquals(12, $this->component->IntraEvents->LastCall);
-
-
- $this->component->attachEventHandler('OnMyEvent',array($this->component,'myEventHandler'));
- $this->component->raiseEvent('OnMyEvent',$this,null);
-
- //3 + 4 + 5 + 6 = 18 (the behavior adds these together when each raiseEvent dynamic intra event is called)
- $this->assertEquals(18, $this->component->IntraEvents->LastCall);
- }
-
-
-
- public function testJavascriptGetterSetter() {
-
- $this->assertFalse(isset($this->component->ColorAttribute));
- $this->assertFalse(isset($this->component->JsColorAttribute));
-
- $this->component->ColorAttribute = "('#556677', '#abcdef', 503987)";
- $this->assertEquals("('#556677', '#abcdef', 503987)", $this->component->ColorAttribute);
-
- $this->assertTrue(isset($this->component->ColorAttribute));
- $this->assertTrue(isset($this->component->JsColorAttribute));
-
- $this->component->ColorAttribute = "new Array(1, 2, 3, 4, 5)";
- $this->assertEquals("new Array(1, 2, 3, 4, 5)", $this->component->JsColorAttribute);
-
- $this->component->JsColorAttribute = "['#112233', '#fedcba', 22009837]";
- $this->assertEquals("['#112233', '#fedcba', 22009837]", $this->component->ColorAttribute);
- }
-
-
- public function testJavascriptIssetUnset() {
-
- $this->component->JsColorAttribute = "['#112233', '#fedcba', 22009837]";
- $this->assertEquals("['#112233', '#fedcba', 22009837]", $this->component->ColorAttribute);
-
- unset($this->component->ColorAttribute);
-
- $this->assertFalse(isset($this->component->ColorAttribute));
- $this->assertFalse(isset($this->component->JsColorAttribute));
-
- $this->component->JsColorAttribute = "['#112233', '#fedcba', 22009837]";
-
- $this->assertTrue(isset($this->component->ColorAttribute));
- $this->assertTrue(isset($this->component->JsColorAttribute));
-
- unset($this->component->JsColorAttribute);
-
- $this->assertFalse(isset($this->component->ColorAttribute));
- $this->assertFalse(isset($this->component->JsColorAttribute));
-
- }
-
-
-
}
?> \ No newline at end of file