From a7f6c6640ac9295eec3ae2edbb2250179eb85e33 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 6 May 2006 02:26:20 +0000 Subject: Adding TActiveButton and TActiveTextBox --- framework/Web/UI/TControl.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'framework/Web/UI/TControl.php') diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 3bb893e2..7121e5ed 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -1005,6 +1005,14 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable { return $this->getControlStage() >= self::CS_CHILD_INITIALIZED; } + + /** + * @return boolean true if the control has loaded post data. + */ + public function getHasLoadedPostData() + { + return $this->getControlStage() >= self::CS_LOADED; + } /** * Returns the named registered object. -- cgit v1.2.3