summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THyperLinkColumn.php
diff options
context:
space:
mode:
authorxue <>2006-09-04 22:00:25 +0000
committerxue <>2006-09-04 22:00:25 +0000
commitf587496dcba7c7030062b5dfdc7612f3ed89dbf9 (patch)
tree845e2be5bef86f056c1ac25ac285a92cc2ad56c3 /framework/Web/UI/WebControls/THyperLinkColumn.php
parent9fe3fc70f1d721790265926fac4dc0f3ad6140bf (diff)
updated datagrid columns to make use of enumerable list item types.
Diffstat (limited to 'framework/Web/UI/WebControls/THyperLinkColumn.php')
-rw-r--r--framework/Web/UI/WebControls/THyperLinkColumn.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THyperLinkColumn.php b/framework/Web/UI/WebControls/THyperLinkColumn.php
index b8dbb607..7cca42d5 100644
--- a/framework/Web/UI/WebControls/THyperLinkColumn.php
+++ b/framework/Web/UI/WebControls/THyperLinkColumn.php
@@ -177,7 +177,7 @@ class THyperLinkColumn extends TDataGridColumn
public function initializeCell($cell,$columnIndex,$itemType)
{
parent::initializeCell($cell,$columnIndex,$itemType);
- if($itemType===TDataGrid::IT_ITEM || $itemType===TDataGrid::IT_ALTERNATINGITEM || $itemType===TDataGrid::IT_SELECTEDITEM || $itemType===TDataGrid::IT_EDITITEM)
+ if($itemType===TListItemType::Item || $itemType===TListItemType::AlternatingItem || $itemType===TListItemType::SelectedItem || $itemType===TListItemType::EditItem)
{
$link=new THyperLink;
$link->setText($this->getText());