diff options
Diffstat (limited to 'framework/Web/UI/TControl.php')
| -rw-r--r-- | framework/Web/UI/TControl.php | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 860b6baf..3bb893e2 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -997,6 +997,14 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable  	{
  		return isset($this->_rf[self::RF_NAMED_OBJECTS][$name]);
  	}
 +	
 +	/**
 +	 * @return boolean true if the control has been initialized.
 +	 */
 +	public function getIsInitialized()
 +	{
 +		return $this->getControlStage() >= self::CS_CHILD_INITIALIZED;
 +	}
  	/**
  	 * Returns the named registered object.
  | 
