diff options
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TDataGrid.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TDataGridColumn.php | 4 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TImageButton.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index 1042ba84..318fc8b3 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -790,7 +790,7 @@ class TDataGrid extends TBaseDataList if($ds->getAllowCustomPaging())
$ds->setDataSource(new TDummyDataSource($itemCount));
else
- $ds->setDataSource(new TDummyDataSource($this->getViewState('DataSourceCount',0));
+ $ds->setDataSource(new TDummyDataSource($this->getViewState('DataSourceCount',0)));
$columns=new TList($this->getColumns());
$columns->mergeWith($this->_autoColumns);
diff --git a/framework/Web/UI/WebControls/TDataGridColumn.php b/framework/Web/UI/WebControls/TDataGridColumn.php index 5e43f735..abd06b80 100644 --- a/framework/Web/UI/WebControls/TDataGridColumn.php +++ b/framework/Web/UI/WebControls/TDataGridColumn.php @@ -196,12 +196,12 @@ abstract class TDataGridColumn extends TComponent $this->_viewState[$key]=$value;
}
- protected function loadState($state)
+ public function loadState($state)
{
$this->_viewState=$state;
}
- protected function saveState()
+ public function saveState()
{
return $this->_viewState;
}
diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index f4d61855..b8e14717 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -106,7 +106,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven * This method is used by framework and control developers.
* @return TPostBackOptions parameters about how the button defines its postback behavior.
*/
- protected function getPostBackOptions()
+ public function getPostBackOptions()
{
$options=new TPostBackOptions();
if($this->getCausesValidation() && $this->getPage()->getValidators($this->getValidationGroup())->getCount()>0)
|