Methods summary
Modifier and Type | Method |
---|---|
public | __construct ( unknown uiComponent ) |
public string | getBufferedContents ( ) |
public | prepareForResponse ( Response response ) |
public string | toKownPayloadString ( ) |
Methods in detail
-
__construct
public __construct ( unknown uiComponent ) -
getBufferedContents
string public getBufferedContents ( )Specified: PayloadOverrides: Payload::getBufferedContents() -
prepareForResponse
This method gets called before the respone object is flushed to the client and is supposed to make necessary changes to the http header of the Response (e.g. Content-Type).
Example implementation:
public function prepareForResponse(Response $response) {@ $response->setHeader('Content-Type: text/html; charset=utf-8');
Specified: PayloadOverrides: Payload::prepareForResponse() -
toKownPayloadString
string public toKownPayloadString ( )Returns a string which describes this object. This string is mainly used to be displayed in error messages.Specified: PayloadOverrides: Payload::toKownPayloadString()
see
return
throws