summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-06-28 11:24:19 +0000
committerxue <>2006-06-28 11:24:19 +0000
commit2121ac351266a79adee962a824aa58b1a643c980 (patch)
tree2fe93c139f49ca2215adb4152984de5b4f497fbf /framework
parent98ffb7a2cb6144de626093bdf5009444661f957c (diff)
Some minor fixes.
Diffstat (limited to 'framework')
-rw-r--r--framework/Exceptions/messages.txt1
-rw-r--r--framework/Web/UI/WebControls/TDataGridColumn.php1
2 files changed, 2 insertions, 0 deletions
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)
{