From fa1bc21a7f5346c702490dffbe3cf3f9940b3cd0 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 6 Dec 2005 18:59:31 +0000 Subject: --- framework/Web/UI/WebControls/THiddenField.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'framework/Web/UI/WebControls/THiddenField.php') diff --git a/framework/Web/UI/WebControls/THiddenField.php b/framework/Web/UI/WebControls/THiddenField.php index 2da9773c..5c8605f7 100644 --- a/framework/Web/UI/WebControls/THiddenField.php +++ b/framework/Web/UI/WebControls/THiddenField.php @@ -42,17 +42,6 @@ class THiddenField extends TControl implements IPostBackDataHandler throw new TNotSupportedException('hiddenfield_focus_unsupported'); } - /** - * Processes an object that is created during parsing template. - * This method overrides the parent implementation by forbidding any child controls. - * @param string|TComponent text string or component parsed and instantiated in template - */ - public function addParsedObject($object) - { - if($object instanceof TComponent) - throw new TConfigurationException('hiddenfield_body_forbidden'); - } - /** * Renders the control. * This method overrides the parent implementation by rendering -- cgit v1.2.3