From 6f7fdef0f500cd4bb540affd3bc1482243f337c1 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 24 Feb 2016 23:18:07 +0100 Subject: * Prado 3.3.0 --- .../framework/Web/UI/WebControls/THeader5.php | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lib/prado/framework/Web/UI/WebControls/THeader5.php (limited to 'lib/prado/framework/Web/UI/WebControls/THeader5.php') diff --git a/lib/prado/framework/Web/UI/WebControls/THeader5.php b/lib/prado/framework/Web/UI/WebControls/THeader5.php new file mode 100644 index 0000000..582567d --- /dev/null +++ b/lib/prado/framework/Web/UI/WebControls/THeader5.php @@ -0,0 +1,34 @@ + + * @link https://github.com/pradosoft/prado + * @copyright Copyright © 2005-2015 The PRADO Group + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT + * @package System.Web.UI.WebControls + */ + +/** + * THeader5 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 + * @package System.Web.UI.WebControls + * @since 3.2 + */ + +class THeader5 extends THtmlElement { + + /** + * @return string tag name + */ + public function getDefaultTagName() + { + return 'h5'; + } + +} -- cgit v1.2.3