System-Util
[ class tree: System-Util ] [ index: System-Util ] [ all elements ]

Class: LTidyHttpResponseAdapter

Source Location: /packages/LVirtualNodes/LTidyHttpResponseAdapter.php

Class Overview

THttpResponseAdapter
   |
   --LTidyHttpResponseAdapter

THttpResponseAdapter class.


Author(s):

Version:

  • $Id$

Methods



Class Details

[line 28]
THttpResponseAdapter class.

THttpResponseAdapter allows the base http response class to change behaviour without change the class hierachy.




Tags:

since:  3.0
version:  $Id$
author:  Wei Zhuo <weizhuo[at]gmail[dot]com>


[ Top ]


Class Methods


constructor __construct [line 39]

LTidyHttpResponseAdapter __construct( THttpResponse $response)

Constructor. Attach a response to be adapted.



Tags:

access:  public


Parameters:

THttpResponse   $response   the response object the adapter is to attach to.

[ Top ]

method createNewHtmlWriter [line 95]

void createNewHtmlWriter( string $type, ITextWriter $writer)

This method is invoked when a new HtmlWriter needs to be created.

Default implementation calls the attached response createNewHtmlWriter method.




Tags:

access:  public


Parameters:

string   $type   type of the HTML writer to be created.
ITextWriter   $writer   the writer responsible for holding the content.

[ Top ]

method flushContent [line 56]

void flushContent( )

This method is invoked when the response flushes the content and headers.

Default implementation calls the attached response flushContent method.




Tags:

access:  public


[ Top ]

method getResponse [line 47]

THttpResponse getResponse( )



Tags:

return:  the response object adapted.
access:  public


[ Top ]

method httpRedirect [line 84]

void httpRedirect( string $url)

This method is invoked when the response is to redirect to another page.



Tags:

access:  public


Parameters:

string   $url   new url to redirect to.

[ Top ]


Documentation generated on Sun, 25 Feb 2007 16:11:46 +0100 by phpDocumentor 1.3.1