diff options
Diffstat (limited to 'framework/Web/UI/WebControls/TLiteral.php')
-rw-r--r-- | framework/Web/UI/WebControls/TLiteral.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/framework/Web/UI/WebControls/TLiteral.php b/framework/Web/UI/WebControls/TLiteral.php index cda144dd..6ba5e4be 100644 --- a/framework/Web/UI/WebControls/TLiteral.php +++ b/framework/Web/UI/WebControls/TLiteral.php @@ -31,17 +31,6 @@ class TLiteral extends TControl
{
/**
- * 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('literal_body_forbidden');
- }
-
- /**
* @return string the static text of the TLiteral
*/
public function getText()
|