From 2121ac351266a79adee962a824aa58b1a643c980 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 28 Jun 2006 11:24:19 +0000 Subject: Some minor fixes. --- framework/Exceptions/messages.txt | 1 + framework/Web/UI/WebControls/TDataGridColumn.php | 1 + 2 files changed, 2 insertions(+) (limited to 'framework') diff --git a/framework/Exceptions/messages.txt b/framework/Exceptions/messages.txt index 8bc1cd6f..60b57d78 100644 --- a/framework/Exceptions/messages.txt +++ b/framework/Exceptions/messages.txt @@ -292,6 +292,7 @@ parametermodule_parameterfile_unchangeable = TParameterModule.ParameterFile is n parametermodule_parameterfile_invalid = TParameterModule.ParameterFile '{0}' is invalid. Make sure it is in namespace format and the file extension is '.xml'. parametermodule_parameterid_required = Parameter element must have 'id' attribute. +datagridcolumn_id_invalid = {0}.ID '{1}' is invalid. Only alphanumeric and underline characters are allowed. The first character must be an alphabetic or underline character. datagridcolumn_expression_invalid = {0} is evaluating an invalid expression '{1}' : {2} outputcache_duration_invalid = {0}.Duration must be an integer no less than 0. diff --git a/framework/Web/UI/WebControls/TDataGridColumn.php b/framework/Web/UI/WebControls/TDataGridColumn.php index fcb2e261..8c34b85f 100644 --- a/framework/Web/UI/WebControls/TDataGridColumn.php +++ b/framework/Web/UI/WebControls/TDataGridColumn.php @@ -68,6 +68,7 @@ abstract class TDataGridColumn extends TApplicationComponent * By explicitly specifying the column ID, one can access the column * by $templateControl->ColumnID. * @param string the ID of the column. + * @throws TInvalidDataValueException if the ID is of bad format */ public function setID($value) { -- cgit v1.2.3