diff options
| author | xue <> | 2006-01-11 02:17:12 +0000 | 
|---|---|---|
| committer | xue <> | 2006-01-11 02:17:12 +0000 | 
| commit | deb44d4ca9cb18865c90de0878cbc27aa4ee6c56 (patch) | |
| tree | 1c177f456564c34b999737953c7a3b01d9b0519a /framework/Web/UI/WebControls/TDataSourceControl.php | |
| parent | 384a8f108e3de0e2475d4267732b0f3ffabb7541 (diff) | |
TRepeater nearly completed (test pending)
Diffstat (limited to 'framework/Web/UI/WebControls/TDataSourceControl.php')
| -rw-r--r-- | framework/Web/UI/WebControls/TDataSourceControl.php | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TDataSourceControl.php b/framework/Web/UI/WebControls/TDataSourceControl.php index f8944dbb..eaf39199 100644 --- a/framework/Web/UI/WebControls/TDataSourceControl.php +++ b/framework/Web/UI/WebControls/TDataSourceControl.php @@ -35,14 +35,17 @@ interface IDataSource   */
  abstract class TDataSourceControl extends TControl implements IDataSource
  {
 -	public function getView($viewName);
 +	public function getView($viewName)
 +	{
 +		return null;
 +	}
  	public function getViewNames()
  	{
  		return array();
  	}
 -	protected function onDataSourceChanged($param)
 +	public function onDataSourceChanged($param)
  	{
  		$this->raiseEvent('DataSourceChanged',$this,$param);
  	}
 @@ -72,7 +75,7 @@ abstract class TDataSourceControl extends TControl implements IDataSource  		throw new TNotSupportedException('datasourcecontrol_skinid_unsupported');
  	}
 -	public function getVisible()
 +	public function getVisible($checkParents=true)
  	{
  		return false;
  	}
  | 
