diff options
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/THeader1.php | 36 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/THeader2.php | 36 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/THeader3.php | 36 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/THeader4.php | 36 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/THeader5.php | 36 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/THeader6.php | 36 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/THtmlElement.php | 2 |
7 files changed, 217 insertions, 1 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'; + } + +} diff --git a/framework/Web/UI/WebControls/THeader2.php b/framework/Web/UI/WebControls/THeader2.php new file mode 100644 index 00000000..62cde55b --- /dev/null +++ b/framework/Web/UI/WebControls/THeader2.php @@ -0,0 +1,36 @@ +<?php +/** + * THeader2 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: THeader2.php 2590 2008-12-10 11:34:24Z carlgmathisen $ + * @package System.Web.UI.WebControls + */ + +/** + * THeader2 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: THeader2.php 2541 2008-10-21 15:05:13Z javalizard $ + * @package System.Web.UI.WebControls + * @since 3.2a + */ + +class THeader2 extends THtmlElement { + + /** + * @return string tag name + */ + protected function getDefaultTagName() + { + return 'h2'; + } + +} 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 © 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'; + } + +} diff --git a/framework/Web/UI/WebControls/THeader4.php b/framework/Web/UI/WebControls/THeader4.php new file mode 100644 index 00000000..d673d4c2 --- /dev/null +++ b/framework/Web/UI/WebControls/THeader4.php @@ -0,0 +1,36 @@ +<?php +/** + * THeader4 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: THeader4.php 2590 2008-12-10 11:34:24Z carlgmathisen $ + * @package System.Web.UI.WebControls + */ + +/** + * THeader4 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: THeader4.php 2541 2008-10-21 15:05:13Z javalizard $ + * @package System.Web.UI.WebControls + * @since 3.2 + */ + +class THeader4 extends THtmlElement { + + /** + * @return string tag name + */ + protected function getDefaultTagName() + { + return 'h4'; + } + +} diff --git a/framework/Web/UI/WebControls/THeader5.php b/framework/Web/UI/WebControls/THeader5.php new file mode 100644 index 00000000..59baef91 --- /dev/null +++ b/framework/Web/UI/WebControls/THeader5.php @@ -0,0 +1,36 @@ +<?php +/** + * THeader5 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: THeader5.php 2590 2008-12-10 11:34:24Z carlgmathisen $ + * @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 <javalizard@gmail.com> + * @version $Id: THeader5.php 2541 2008-10-21 15:05:13Z javalizard $ + * @package System.Web.UI.WebControls + * @since 3.2 + */ + +class THeader5 extends THtmlElement { + + /** + * @return string tag name + */ + protected function getDefaultTagName() + { + return 'h5'; + } + +} 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 @@ +<?php +/** + * THeader6 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: 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 <javalizard@gmail.com> + * @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'; + } + +} diff --git a/framework/Web/UI/WebControls/THtmlElement.php b/framework/Web/UI/WebControls/THtmlElement.php index 856db4fd..96fd1a5a 100644 --- a/framework/Web/UI/WebControls/THtmlElement.php +++ b/framework/Web/UI/WebControls/THtmlElement.php @@ -41,7 +41,7 @@ class THtmlElement extends TWebControl {
if($this->_tagName !== null) return $this->_tagName;
- $this->_tagName = $this->getDefaultTag();
+ $this->_tagName = $this->getDefaultTagName();
return $this->_tagName;
}
|