From 74ad156f8f86ba8d258c5c2522f98a3e8d4bd914 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 25 Nov 2005 04:16:06 +0000 Subject: --- framework/Web/UI/WebControls/TLabel.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'framework/Web/UI/WebControls/TLabel.php') diff --git a/framework/Web/UI/WebControls/TLabel.php b/framework/Web/UI/WebControls/TLabel.php index 15148732..f80ad758 100644 --- a/framework/Web/UI/WebControls/TLabel.php +++ b/framework/Web/UI/WebControls/TLabel.php @@ -3,9 +3,9 @@ * TLabel class file. * * @author Qiang Xue - * @link http://www.xisc.com/ - * @copyright Copyright © 2004-2005, Qiang Xue - * @license http://www.opensource.org/licenses/bsd-license.php BSD License + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005 PradoSoft + * @license http://www.pradosoft.com/license/ * @version $Revision: $ $Date: $ * @package System.Web.UI.WebControls */ @@ -14,14 +14,14 @@ * TLabel class * * TLabel represents a label control that displays text on a Web pagge. - * Use Text property to set the text to be displayed. + * Use {@link setText Text} property to set the text to be displayed. * TLabel will render the contents enclosed within its component tag - * if Text is empty. + * if {@link setText Text} is empty. * To use TLabel as a form label, associate it with a control by setting the - * AssociateControlID property. The associated control must be locatable - * within the label's naming container. + * {@link setAssociateControlID AssociateControlID} property. + * The associated control must be locatable within the label's naming container. * - * Note, Text will NOT be encoded for rendering. + * Note, {@link setText Text} will NOT be encoded for rendering. * Make usre it does not contain dangerous characters that you want to avoid. * * @author Qiang Xue @@ -51,7 +51,7 @@ class TLabel extends TWebControl if($control=$this->findControl($aid)) $writer->addAttribute('for',$control->getClientID()); else - throw new TInvalidDataValueException('control_not_found',$aid); + throw new TInvalidDataValueException('label_associatedcontrol_invalid',$aid); } parent::addAttributesToRender($writer); } -- cgit v1.2.3