From 883768e2025a4060311d90a74cc6067196e1d22b Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 15 Dec 2006 16:06:52 +0000 Subject: changing some public methods to protected. --- framework/Web/THttpResponse.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php index 3b8c0842..7a2d7349 100644 --- a/framework/Web/THttpResponse.php +++ b/framework/Web/THttpResponse.php @@ -325,7 +325,7 @@ class THttpResponse extends TModule implements ITextWriter * @param string URL to be redirected to. If the URL is a relative one, the base URL of * the current request will be inserted at the beginning. */ - public function httpRedirect($url) + protected function httpRedirect($url) { if(!$this->getApplication()->getRequestCompleted()) $this->getApplication()->onEndRequest(); @@ -359,7 +359,7 @@ class THttpResponse extends TModule implements ITextWriter /** * Outputs the buffered content, sends content-type and charset header. */ - public function flushContent() + protected function flushContent() { Prado::trace("Flushing output",'System.Web.THttpResponse'); $this->sendContentTypeHeader(); @@ -493,7 +493,7 @@ class THttpResponse extends TModule implements ITextWriter * @param string type of HTML writer to be created. * @param ITextWriter text writer holding the contents. */ - public function createNewHtmlWriter($type, $writer) + protected function createNewHtmlWriter($type, $writer) { return Prado::createComponent($type, $writer); } -- cgit v1.2.3