Class Response
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- ICanBoogie\HTTP\Response
- ICanBoogie\Operation\Response implements ArrayAccess
Methods summary
protected
|
|
protected
string
|
|
public
|
#
__construct( mixed $body = null, integer $status = 200, array $headers = array() )
Initializes the |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Methods inherited from ICanBoogie\HTTP\Response
__clone()
,
__set()
,
__toString()
,
echo_body()
,
get_age()
,
get_body()
,
get_cache_control()
,
get_content_length()
,
get_content_type()
,
get_date()
,
get_etag()
,
get_expires()
,
get_is_cacheable()
,
get_is_client_error()
,
get_is_empty()
,
get_is_forbidden()
,
get_is_fresh()
,
get_is_informational()
,
get_is_not_found()
,
get_is_ok()
,
get_is_private()
,
get_is_redirect()
,
get_is_server_error()
,
get_is_successful()
,
get_is_valid()
,
get_is_validateable()
,
get_last_modified()
,
get_location()
,
get_status()
,
get_status_message()
,
get_ttl()
,
set_age()
,
set_body()
,
set_cache_control()
,
set_content_length()
,
set_content_type()
,
set_date()
,
set_etag()
,
set_expires()
,
set_is_private()
,
set_last_modified()
,
set_location()
,
set_status()
,
set_ttl()
Methods inherited from ICanBoogie\Object
from()
,
resolve_facade_properties()
,
resolve_private_properties()
,
to_array()
,
to_json()
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__call()
,
__get()
,
__sleep()
,
__wakeup()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Magic methods summary
Properties summary
public
mixed
|
$rc |
#
Result of the response. |
public
|
$errors |
#
Errors occuring during the response. |
protected
array
|
$metas |
Properties inherited from ICanBoogie\HTTP\Response
$headers
,
$status_message
,
$status_messages
,
$version
Magic properties
public
string
|
$message |
|
#
The response message. |
public read-only
|
$errors |
|
Magic properties inherited from ICanBoogie\HTTP\Response
$age
,
$body
,
$cache_control
,
$content_length
,
$content_type
,
$date
,
$etag
,
$expires
,
$is_cacheable
,
$is_client_error
,
$is_empty
,
$is_forbidden
,
$is_fresh
,
$is_informational
,
$is_not_found
,
$is_ok
,
$is_private
,
$is_redirect
,
$is_server_error
,
$is_successful
,
$is_valid
,
$is_validateable
,
$last_modified
,
$location
,
$status
,
$status_message
,
$ttl