summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TWebControl.php
diff options
context:
space:
mode:
authorxue <>2006-02-08 23:18:20 +0000
committerxue <>2006-02-08 23:18:20 +0000
commitaa46c9ab78abdd23c273c5e49b402a87a2aefcdb (patch)
tree9bb054b662ff59d86736d6cee6eb0f4b1b57ba59 /framework/Web/UI/WebControls/TWebControl.php
parent682d48577ae6e0118a11e5e6134fdbbb6048456d (diff)
Changed accessibility of a few render-related methods (needed by adapters).
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);
}