diff options
author | javalizard <> | 2010-04-18 02:43:10 +0000 |
---|---|---|
committer | javalizard <> | 2010-04-18 02:43:10 +0000 |
commit | c8b27e28e32cd8a93c2203b2c391d0b8e8ecf86a (patch) | |
tree | c40321e85699920c408649d5c902158f86dadd8d /framework/Web/UI/WebControls/THeader1.php | |
parent | 826d1ea2931d2af3fdc0906ad6f0c968d26a8856 (diff) |
Added the THeader1-6, and fixed up the THtmlElement a touch.
Diffstat (limited to 'framework/Web/UI/WebControls/THeader1.php')
-rw-r--r-- | framework/Web/UI/WebControls/THeader1.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/THeader1.php b/framework/Web/UI/WebControls/THeader1.php new file mode 100644 index 00000000..a4d29267 --- /dev/null +++ b/framework/Web/UI/WebControls/THeader1.php @@ -0,0 +1,36 @@ +<?php +/** + * THeader1 class file + * + * @author Brad Anderson <javalizard@gmail.com> + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2010 PradoSoft + * @license http://www.pradosoft.com/license/ + * @version $Id: THeader1.php 2590 2008-12-10 11:34:24Z carlgmathisen $ + * @package System.Web.UI.WebControls + */ + +/** + * THeader1 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 <javalizard@gmail.com> + * @version $Id: THeader1.php 2541 2008-10-21 15:05:13Z javalizard $ + * @package System.Web.UI.WebControls + * @since 3.2a + */ + +class THeader1 extends THtmlElement { + + /** + * @return string tag name + */ + protected function getDefaultTagName() + { + return 'h1'; + } + +} |