summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TLiteral.php
diff options
context:
space:
mode:
authorxue <>2005-12-06 18:59:31 +0000
committerxue <>2005-12-06 18:59:31 +0000
commitfa1bc21a7f5346c702490dffbe3cf3f9940b3cd0 (patch)
tree79bf8f120f89e26b6c810bfa4ee136f50de1ee00 /framework/Web/UI/WebControls/TLiteral.php
parent10ae6ed6ee263644d3d7780153520af76215d178 (diff)
Diffstat (limited to 'framework/Web/UI/WebControls/TLiteral.php')
-rw-r--r--framework/Web/UI/WebControls/TLiteral.php11
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()