some more explanation

This commit is contained in:
Christian Weiske 2010-05-06 20:39:46 +02:00
parent f310b12374
commit ec49e80dea

View File

@ -3,7 +3,7 @@ require_once 'HTML/QuickForm2/Element/InputText.php';
/**
* Text input element with pre-set text that vanishes when
* the user focuses it.
* the user focuses it. Setting a special class is also supported.
*
* Example:
* before:
@ -14,7 +14,11 @@ require_once 'HTML/QuickForm2/Element/InputText.php';
* Name: [John Doe ]
* E-Mail: [| ]
*
* @category HTML
* @package HTML_QuickForm2
* @author Christian Weiske <cweiske@php.net>
* @license http://opensource.org/licenses/bsd-license.php New BSD License
* @link http://pear.php.net/package/HTML_QuickForm2
*/
class SemanticScuttle_QuickForm2_Element_BackgroundText
extends HTML_QuickForm2_Element_InputText
@ -147,7 +151,7 @@ class SemanticScuttle_QuickForm2_Element_BackgroundText
* Automatically sets the background CSS class if the value
* is the background text.
*
* @param HTML_QuickForm2_Renderer Renderer instance
* @param HTML_QuickForm2_Renderer $renderer Renderer instance
*
* @return HTML_QuickForm2_Renderer
*/