diff options
Diffstat (limited to 'framework/Web/UI/WebControls/TImage.php')
-rw-r--r-- | framework/Web/UI/WebControls/TImage.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/framework/Web/UI/WebControls/TImage.php b/framework/Web/UI/WebControls/TImage.php index 452bae4e..3f7b8f49 100644 --- a/framework/Web/UI/WebControls/TImage.php +++ b/framework/Web/UI/WebControls/TImage.php @@ -36,17 +36,6 @@ class TImage extends TWebControl }
/**
- * 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('image_body_forbidden');
- }
-
- /**
* Adds attributes related to an HTML image element to renderer.
* @param THtmlWriter the writer used for the rendering purpose
*/
@@ -126,7 +115,7 @@ class TImage extends TWebControl }
/**
- * @return string link to long description
+ * @return string the URL to long description
*/
public function getDescriptionUrl()
{
|