summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/THttpResponse.php6
1 files 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);
}