From c8b27e28e32cd8a93c2203b2c391d0b8e8ecf86a Mon Sep 17 00:00:00 2001 From: javalizard <> Date: Sun, 18 Apr 2010 02:43:10 +0000 Subject: Added the THeader1-6, and fixed up the THtmlElement a touch. --- framework/Web/UI/WebControls/THeader6.php | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 framework/Web/UI/WebControls/THeader6.php (limited to 'framework/Web/UI/WebControls/THeader6.php') diff --git a/framework/Web/UI/WebControls/THeader6.php b/framework/Web/UI/WebControls/THeader6.php new file mode 100644 index 00000000..3e3e978a --- /dev/null +++ b/framework/Web/UI/WebControls/THeader6.php @@ -0,0 +1,36 @@ + + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2010 PradoSoft + * @license http://www.pradosoft.com/license/ + * @version $Id: THeader6.php 2590 2008-12-10 11:34:24Z carlgmathisen $ + * @package System.Web.UI.WebControls + */ + +/** + * THeader6 class + * + * This is a simple class to enable your application to have headers but then have your + * theme be able to redefine the TagName + * This is also useful for the {@link TWebControlDecorator} (used by themes). + * + * @author Brad Anderson + * @version $Id: THeader6.php 2541 2008-10-21 15:05:13Z javalizard $ + * @package System.Web.UI.WebControls + * @since 3.2 + */ + +class THeader6 extends THtmlElement { + + /** + * @return string tag name + */ + protected function getDefaultTagName() + { + return 'h6'; + } + +} -- cgit v1.2.3