summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-12-03 15:25:12 +0000
committerctrlaltca@gmail.com <>2011-12-03 15:25:12 +0000
commitd4d44c73f6e7dd72a98f4bbbde95264e82b1d8bb (patch)
treef61c702b3089f0da5fa338480d4bb293cee3e4ac /framework/Web/UI/TControl.php
parent521f87988b246d94a081ba96c9281893c8a296ca (diff)
Added documentation for TWebControlDecorator (fixes #259);
Added missing bits to have TWebControlDecorator actually works.
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 374c2aee..00f5f511 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -445,6 +445,15 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
}
/**
+ * @param string the skin ID of this control
+ * @throws TInvalidOperationException if the SkinID is set in a stage later than PreInit, or if the skin is applied already.
+ */
+ public function getIsSkinApplied()
+ {
+ return ($this->_flags & self::IS_SKIN_APPLIED);
+ }
+
+ /**
* @return boolean whether theming is enabled for this control.
* The theming is enabled if the control and all its parents have it enabled.
*/