summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2006-03-28 23:10:29 +0000
committerxue <>2006-03-28 23:10:29 +0000
commit25a0a04cdcca020b4f198d79e50938a3fcbbe8b0 (patch)
tree16a1ca41505c22e1856d5aa15450f7e78be0db74 /framework/Web
parent8e06ea7fb257f47c98d34e8cc4a5b6d5b96f600a (diff)
Added TComponentReflection.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TDataGrid.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php
index e3bc3fbe..55b12ebc 100644
--- a/framework/Web/UI/WebControls/TDataGrid.php
+++ b/framework/Web/UI/WebControls/TDataGrid.php
@@ -510,19 +510,19 @@ class TDataGrid extends TBaseDataList implements INamingContainer
}
/**
- * @param boolean whether paging is enabled
+ * @return boolean whether sorting is enabled. Defaults to false.
*/
- public function setAllowPaging($value)
+ public function getAllowSorting()
{
- $this->setViewState('AllowPaging',TPropertyValue::ensureBoolean($value),false);
+ return $this->getViewState('AllowSorting',false);
}
/**
- * @return boolean whether sorting is enabled. Defaults to false.
+ * @param boolean whether paging is enabled
*/
- public function getAllowSorting()
+ public function setAllowPaging($value)
{
- return $this->getViewState('AllowSorting',false);
+ $this->setViewState('AllowPaging',TPropertyValue::ensureBoolean($value),false);
}
/**