diff options
| author | mikl <> | 2008-04-18 09:47:05 +0000 | 
|---|---|---|
| committer | mikl <> | 2008-04-18 09:47:05 +0000 | 
| commit | a54dcaa9d7fbdc7a3f14d33ef3cf36feb29f9f39 (patch) | |
| tree | 389492db2141c82a9a46d06d692816adf26077c0 /framework/Web/UI/WebControls/TCheckBox.php | |
| parent | 8b3b214c305ab78b1942e080b4d6543ff4060bf8 (diff) | |
Renamed IControlContainer to ISurroundable
Diffstat (limited to 'framework/Web/UI/WebControls/TCheckBox.php')
| -rw-r--r-- | framework/Web/UI/WebControls/TCheckBox.php | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index 4061f217..b722ec3e 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.php @@ -40,7 +40,7 @@   * @package System.Web.UI.WebControls
   * @since 3.0
   */
 -class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatable, IDataRenderer, IControlContainer
 +class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatable, IDataRenderer, ISurroundable
  {
  	private $_dataChanged=false;
 @@ -268,9 +268,9 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl  	}
  	/**
 -	 * @return string the id of the surrounding tag or this clientID if no such tag present
 +	 * @return string the id of the surrounding tag or this clientID if no such tag needed
  	 */
 -	public function getContainerClientID()
 +	public function getSurroundingTagID()
  	{
          return $this->getSpanNeeded() ? $this->getClientID().'_parent' : $this->getClientID();
  	}
 @@ -304,7 +304,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl  			$onclick='';
          if($needspan=$this->getSpanNeeded())
          {
 -            $writer->addAttribute('id',$this->getContainerClientID());
 +            $writer->addAttribute('id',$this->getSurroundingTagID());
  			$writer->renderBeginTag('span');
          }
  		$clientID=$this->getClientID();
  | 
