summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TWebControl.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TWebControl.php')
-rw-r--r--framework/Web/UI/WebControls/TWebControl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TWebControl.php b/framework/Web/UI/WebControls/TWebControl.php
index ba6fe04c..18571d73 100644
--- a/framework/Web/UI/WebControls/TWebControl.php
+++ b/framework/Web/UI/WebControls/TWebControl.php
@@ -368,7 +368,7 @@ class TWebControl extends TControl
* - {@link renderEndTag}
* @param THtmlWriter the writer used for the rendering purpose
*/
- protected function render($writer)
+ public function render($writer)
{
$this->renderBeginTag($writer);
$this->renderContents($writer);
@@ -391,7 +391,7 @@ class TWebControl extends TControl
* You can override this method to provide customized content rendering.
* @param THtmlWriter the writer used for the rendering purpose
*/
- protected function renderContents($writer)
+ public function renderContents($writer)
{
parent::renderChildren($writer);
}