Public Member Functions | |
__construct ($content="") | |
setHeader ($headername, $value) | |
__toString () | |
Public Attributes | |
$headers = array() | |
The headers for the page. | |
$content | |
The content of the page. | |
Container for headers and content, used for compounding these
PageContent::__construct | ( | $content = "" | ) |
Constructs a PageContent object containing only content
$content | The content of this page |
PageContent::__toString | ( | ) |
Returns a string representation of this object, containing only the content
PageContent::setHeader | ( | $headername, | |
$value | |||
) |
Sets a header
$headername | Name of the header |
$value | Value for the header |