summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THeader3.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/THeader3.php')
-rw-r--r--framework/Web/UI/WebControls/THeader3.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/THeader3.php b/framework/Web/UI/WebControls/THeader3.php
new file mode 100644
index 00000000..c12ed6d6
--- /dev/null
+++ b/framework/Web/UI/WebControls/THeader3.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * THeader3 class file
+ *
+ * @author Brad Anderson <javalizard@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2005-2010 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @version $Id: THeader3.php 2590 2008-12-10 11:34:24Z carlgmathisen $
+ * @package System.Web.UI.WebControls
+ */
+
+/**
+ * THeader3 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: THeader3.php 2541 2008-10-21 15:05:13Z javalizard $
+ * @package System.Web.UI.WebControls
+ * @since 3.2a
+ */
+
+class THeader3 extends THtmlElement {
+
+ /**
+ * @return string tag name
+ */
+ protected function getDefaultTagName()
+ {
+ return 'h3';
+ }
+
+}