Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

httpresponse(3) [php man page]

HTTPRESPONSE(3) 							 1							   HTTPRESPONSE(3)

The HttpResponse

CLASS SYNOPSIS
HttpResponse HttpResponse o static void HttpResponse::capture (void ) o static int HttpResponse::getBufferSize (void ) o static bool HttpResponse::getCache (void ) o static string HttpResponse::getCacheControl (void ) o static string HttpResponse::getContentDisposition (void ) o static string HttpResponse::getContentType (void ) o static string HttpResponse::getData (void ) o static string HttpResponse::getETag (void ) o static string HttpResponse::getFile (void ) o static bool HttpResponse::getGzip (void ) o static mixed HttpResponse::getHeader ([string $name]) o static int HttpResponse::getLastModified (void ) o static string HttpResponse::getRequestBody (void ) o static resource HttpResponse::getRequestBodyStream (void ) o static array HttpResponse::getRequestHeaders (void ) o static resource HttpResponse::getStream (void ) o static float HttpResponse::getThrottleDelay (void ) o static string HttpResponse::guessContentType (string $magic_file, [int $magic_mode = MAGIC_MIME]) o static void HttpResponse::redirect ([string $url], [array $params], [bool $session = false], [int $status]) o static bool HttpResponse::send ([bool $clean_ob = true]) o static bool HttpResponse::setBufferSize (int $bytes) o static bool HttpResponse::setCache (bool $cache) o static bool HttpResponse::setCacheControl (string $control, [int $max_age], [bool $must_revalidate = true]) o static bool HttpResponse::setContentDisposition (string $filename, [bool $inline = false]) o static bool HttpResponse::setContentType (string $content_type) o static bool HttpResponse::setData (mixed $data) o static bool HttpResponse::setETag (string $etag) o static bool HttpResponse::setFile (string $file) o static bool HttpResponse::setGzip (bool $gzip) o static bool HttpResponse::setHeader (string $name, [mixed $value], [bool $replace = true]) o static bool HttpResponse::setLastModified (int $timestamp) o static bool HttpResponse::setStream (resource $stream) o static bool HttpResponse::setThrottleDelay (float $seconds) o static bool HttpResponse::status (int $status) CLASS MEMBERS
PROPERTIES
Static Properties +----------+-------------------------------+---+---+ |Modifiers | | | | | | | | | | | Type | | | | | | | | | | Name | | | | | | | | | | Description | | | | | | | | +----------+-------------------------------+---+---+ |protected | | | | | | | | | | | boolean | | | | | | | | | | cache | | | | | | | | | | whether caching the response | | | | | should be attempted | | | | | | | | |protected | | | | | | | | | | | boolean | | | | | | | | | | gzip | | | | | | | | | | whether the sent entity | | | | | should be gzip'ed on the fly | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | eTag | | | | | | | | | | the generated or custom ETag | | | | | | | | |protected | | | | | | | | | | | integer | | | | | | | | | | lastModified | | | | | | | | | | the generated or custom time- | | | | | stamp of last modification | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | cacheControl | | | | | | | | | | | | | | | Cache-Control setting | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | contentType | | | | | | | | | | the Content-Type of the sent | | | | | entity | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | contentDisposition | | | | | | | | | | the Content-Disposition of | | | | | the sent entity | | | | | | | | |protected | | | | | | | | | | | integer | | | | | | | | | | bufferSize | | | | | | | | | | the chunk buffer size used | | | | | for throttling | | | | | | | | |protected | | | | | | | | | | | double | | | | | | | | | | throttleDelay | | | | | | | | | | the seconds to delay when | | | | | throttling | | | | | | | | +----------+-------------------------------+---+---+ PREDEFINED CONSTANTS
+--------+--------------------------------------+---+ | Type | | | | | | | | | Name | | | | | | | | Description | | | | | | +--------+--------------------------------------+---+ |integer | | | | | | | | | REDIRECT | | | | | | | | guess applicable redirect method | | | | | | |integer | | | | | | | | | REDIRECT_PERM | | | | | | | | permanent redirect ( 301 Moved per- | | | | manently) | | | | | | |integer | | | | | | | | | REDIRECT_FOUND | | | | | | | | standard redirect ( 302 Found) | | | | | | |integer | | | | | | | | | REDIRECT_POST | | | | | | | | redirect applicable to POST requests | | | | ( 303 See other) | | | | | | |integer | | | | | | | | | REDIRECT_PROXY | | | | | | | | proxy redirect ( 305 Use proxy) | | | | | | |integer | | | | | | | | | REDIRECT_TEMP | | | | | | | | temporary redirect ( 307 Temporary | | | | Redirect) | | | | | | +--------+--------------------------------------+---+ PHP Documentation Group HTTPRESPONSE(3)
Man Page