Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * THtmlElement class file.
4
 *
5
 * @author Qiang Xue <qiang.xue@gmail.com>
6
 * @link http://www.pradosoft.com/
7
 * @copyright Copyright &copy; 2005-2008 PradoSoft
8
 * @license http://www.pradosoft.com/license/
9
 * @version $Id: THtmlElement.php 2482 2008-07-30 02:07:13Z knut $
10
 * @package System.Web.UI.WebControls
11
 */
12
 
13
Prado::using('System.Web.UI.WebControls.TWebControl');
14
 
15
/**
16
 * THtmlElement class.
17
 *
18
 * THtmlElement represents a generic HTML element whose tag name is specified
19
 * via {@link setTagName TagName} property. Because THtmlElement extends from
20
 * {@link TWebControl}, it enjoys all its functionalities.
21
 *
22
 * @author Qiang Xue <qiang.xue@gmail.com>
23
 * @version $Id: THtmlElement.php 2482 2008-07-30 02:07:13Z knut $
24
 * @package System.Web.UI.WebControls
25
 * @since 3.1.2
26
 */
27
class THtmlElement extends TWebControl
28
{
29
	private $_tagName='span';
30
 
31
	/**
32
	 * @return string the tag name of this control. Defaults to 'span'.
33
	 */
34
	public function getTagName()
35
	{
36
		return $this->_tagName;
37
	}
38
 
39
	/**
40
	 * @param string the tag name of this control.
41
	 */
42
	public function setTagName($value)
43
	{
44
		$this->_tagName=$value;
45
	}
46
}