|
Previous Page |
Solar_Http_Response |
Next Page |
Properties
Public
$content
(string) The response body content.
Protected
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
$_cookies
(array) All cookies to send at display() time.
$_cookies_httponly
(bool) Whether or not cookies should default being sent by HTTP only.
$_headers
(array) All headers to send at display() time.
$_status_code
(int) The HTTP response status code.
$_status_text
(int) The HTTP response status text.
$_version
(string) The HTTP version to send as.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _exception()
- _sendHeaders()
- apiVersion()
- display()
- dump()
- getContent()
- getCookie()
- getCookies()
- getHeader()
- getHeaders()
- getStatusCode()
- getStatusText()
- getVersion()
- locale()
- setContent()
- setCookie()
- setCookiesHttponly()
- setHeader()
- setStatusCode()
- setStatusText()
- setVersion()