diff options
author | xue <> | 2006-12-15 16:06:52 +0000 |
---|---|---|
committer | xue <> | 2006-12-15 16:06:52 +0000 |
commit | 883768e2025a4060311d90a74cc6067196e1d22b (patch) | |
tree | 56122088e62278e07fadff134449a1aea0e9b2c7 /framework/Web/THttpResponse.php | |
parent | de545935560f9d3c28ff35da2d9a179279b68a40 (diff) |
changing some public methods to protected.
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r-- | framework/Web/THttpResponse.php | 6 |
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);
}
|