summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/ActiveRecord/Scaffold/TScaffoldView.php')
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldView.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
index 04420e9a..6201009f 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
@@ -4,7 +4,7 @@
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Data.ActiveRecord.Scaffold
@@ -113,8 +113,8 @@ class TScaffoldView extends TScaffoldBase
{
$this->getListView()->setVisible(false);
$this->getEditView()->setVisible(true);
- $this->getAddButton()->setVisible(false);
- $this->getSearchControl()->setVisible(false);
+ $this->_panForNewButton->setVisible(false);
+ $this->_panForSearch->setVisible(false);
$this->getEditView()->getCancelButton()->setVisible(true);
$this->getEditView()->getClearButton()->setVisible(false);
}
@@ -126,8 +126,8 @@ class TScaffoldView extends TScaffoldBase
{
$this->getListView()->setVisible(true);
$this->getEditView()->setVisible(false);
- $this->getAddButton()->setVisible(true);
- $this->getSearchControl()->setVisible(true);
+ $this->_panForNewButton->setVisible(true);
+ $this->_panForSearch->setVisible(true);
}
/**
@@ -140,4 +140,4 @@ class TScaffoldView extends TScaffoldBase
$this->showEditView($sender, $param);
}
}
-
+