public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function setRequest($request)
public function setRequest($request)
Parameters
$request |
Return
wild |
public function getRequest()
public function getRequest()
Return
wild |
final public function addContentSecurityPolicyURI($kind, $uri)
final public function addContentSecurityPolicyURI($kind, $uri)
Parameters
$kind | ||
$uri |
Return
wild |
final public function setDisableContentSecurityPolicy($disable)
final public function setDisableContentSecurityPolicy($disable)
Parameters
$disable |
Return
wild |
final public function addHeader($key, $value)
final public function addHeader($key, $value)
Parameters
$key | ||
$value |
Return
wild |
public function getContentIterator()
public function getContentIterator()
Return
wild |
public function buildResponseString()
public function buildResponseString()
Return
wild |
public function getHeaders()
public function getHeaders()
Return
wild |
private function newContentSecurityPolicyHeader()
private function newContentSecurityPolicyHeader()
Return
wild |
private function newContentSecurityPolicy($type, $defaults)
private function newContentSecurityPolicy($type, $defaults)
Parameters
$type | ||
$defaults |
Return
wild |
private function newContentSecurityPolicySource($uri)
private function newContentSecurityPolicySource($uri)
Parameters
$uri |
Return
wild |
public function setCacheDurationInSeconds($duration)
public function setCacheDurationInSeconds($duration)
Parameters
$duration |
Return
wild |
public function setCanCDN($can_cdn)
public function setCanCDN($can_cdn)
Parameters
$can_cdn |
Return
wild |
public function setLastModified($epoch_timestamp)
public function setLastModified($epoch_timestamp)
Parameters
$epoch_timestamp |
Return
wild |
public function setHTTPResponseCode($code)
public function setHTTPResponseCode($code)
Parameters
$code |
Return
wild |
public function getHTTPResponseCode()
public function getHTTPResponseCode()
Return
wild |
public function getHTTPResponseMessage()
public function getHTTPResponseMessage()
Return
wild |
public function setFrameable($frameable)
public function setFrameable($frameable)
Parameters
$frameable |
Return
wild |
public static function processValueForJSONEncoding(&$value, $key)
public static function processValueForJSONEncoding(&$value, $key)
Parameters
&$value | ||
$key |
Return
wild |
public static function encodeJSONForHTTPResponse($object)
public static function encodeJSONForHTTPResponse($object)
Parameters
array | $object |
Return
wild |
protected function addJSONShield($json_response)
protected function addJSONShield($json_response)
Parameters
$json_response |
Return
wild |
public function getCacheHeaders()
public function getCacheHeaders()
Return
wild |
private function formatEpochTimestampForHTTPHeader($epoch_timestamp)
private function formatEpochTimestampForHTTPHeader($epoch_timestamp)
Parameters
$epoch_timestamp |
Return
wild |
protected function shouldCompressResponse()
protected function shouldCompressResponse()
Return
wild |
public function willBeginWrite()
public function willBeginWrite()
Return
wild |
public function didCompleteWrite($aborted)
public function didCompleteWrite($aborted)
Parameters
$aborted |
Return
wild |