public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
public function setRequest($request)Inherited
$request |
wild |
public function getRequest()Inherited
wild |
final public function addContentSecurityPolicyURI($kind, $uri)Inherited
$kind | ||
$uri |
wild |
final public function setDisableContentSecurityPolicy($disable)Inherited
$disable |
wild |
final public function addHeader($key, $value)Inherited
$key | ||
$value |
wild |
public function getContentIterator()Inherited
wild |
public function buildResponseString()Inherited
wild |
public function getHeaders()Inherited
wild |
private function newContentSecurityPolicyHeader()Inherited
wild |
private function newContentSecurityPolicy($type, $defaults)Inherited
$type | ||
$defaults |
wild |
private function newContentSecurityPolicySource($uri)Inherited
$uri |
wild |
public function setCacheDurationInSeconds($duration)Inherited
$duration |
wild |
public function setCanCDN($can_cdn)Inherited
$can_cdn |
wild |
public function setLastModified($epoch_timestamp)Inherited
$epoch_timestamp |
wild |
public function setHTTPResponseCode($code)Inherited
$code |
wild |
public function getHTTPResponseCode()Inherited
wild |
public function getHTTPResponseMessage()Inherited
wild |
public function setFrameable($frameable)Inherited
$frameable |
wild |
public static function processValueForJSONEncoding(&$value, $key)Inherited
&$value | ||
$key |
wild |
public static function encodeJSONForHTTPResponse($object)Inherited
array | $object |
wild |
protected function addJSONShield($json_response)Inherited
$json_response |
wild |
public function getCacheHeaders()Inherited
wild |
private function formatEpochTimestampForHTTPHeader($epoch_timestamp)Inherited
$epoch_timestamp |
wild |
protected function shouldCompressResponse()Inherited
wild |
public function willBeginWrite()Inherited
wild |
public function didCompleteWrite($aborted)Inherited
$aborted |
wild |
public function setIsExternal($external)Inherited
$external |
wild |
public function __construct()Inherited
this | //Implicit.// |
public function setURI($uri)Inherited
$uri |
wild |
public function getURI()
wild |
public function shouldStopForDebugging()Inherited
wild |
public function setCloseDialogBeforeRedirect($close)Inherited
$close |
wild |
public function getCloseDialogBeforeRedirect()Inherited
wild |
public static function getURIForRedirect($uri, $is_external)Inherited
Format a URI for use in a "Location:" header.
Verifies that a URI redirects to the expected type of resource (local or remote) and formats it for use in a "Location:" header.
The HTTP spec says "Location:" headers must use absolute URIs. Although browsers work with relative URIs, we return absolute URIs to avoid ambiguity. For example, Chrome interprets "Location: /\evil.com" to mean "perform a protocol-relative redirect to evil.com".
string | $uri | URI to redirect to. |
bool | $is_external | True if this URI identifies a remote resource. |
string | URI for use in a "Location:" header. |