diff options
author | javalizard <> | 2010-04-18 15:30:32 +0000 |
---|---|---|
committer | javalizard <> | 2010-04-18 15:30:32 +0000 |
commit | ef5dbc7cf8387052a707d6b57105fa6660e8fd35 (patch) | |
tree | ca40c29fb790c4cfa2b4a20cb51468a32ddfb402 /framework/Web/UI/WebControls/THeader2.php | |
parent | 12f04df3c800a0776fbf6d2d1cb70bed8f47ed2a (diff) |
exposes the default tagname to the system by making the getDefaultTagName public. Also adds getIsMutated to tell if the tag has changed. getDefaultTagName allows for simple and complex behaviors for selecting a default TagName.
lemon is to lime as yellow is to green => TWebControl is to THtmlElement as getTagName is to getDefaultTagName
Diffstat (limited to 'framework/Web/UI/WebControls/THeader2.php')
-rw-r--r-- | framework/Web/UI/WebControls/THeader2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THeader2.php b/framework/Web/UI/WebControls/THeader2.php index 62cde55b..168c349c 100644 --- a/framework/Web/UI/WebControls/THeader2.php +++ b/framework/Web/UI/WebControls/THeader2.php @@ -28,7 +28,7 @@ class THeader2 extends THtmlElement { /** * @return string tag name */ - protected function getDefaultTagName() + public function getDefaultTagName() { return 'h2'; } |