From 2a677c5adfdf3940c755dc3888f1711e442236e7 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 5 Apr 2007 18:16:50 +0000 Subject: [PATCH] - add "see HttpResponse for PHP-5.1+" git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233345 c90b9560-bf6c-de11-be94-00142212c4b1 --- language-snippets.ent | 2 ++ reference/http/functions/caching/http-cache-etag.xml | 3 ++- .../http/functions/caching/http-cache-last-modified.xml | 3 ++- reference/http/functions/responses/http-redirect.xml | 7 ++----- .../functions/responses/http-send-content-disposition.xml | 3 ++- .../http/functions/responses/http-send-content-type.xml | 3 ++- reference/http/functions/responses/http-send-data.xml | 3 ++- reference/http/functions/responses/http-send-file.xml | 3 ++- .../http/functions/responses/http-send-last-modified.xml | 7 ++----- reference/http/functions/responses/http-send-status.xml | 7 ++----- reference/http/functions/responses/http-send-stream.xml | 3 ++- reference/http/functions/responses/http-throttle.xml | 3 ++- 12 files changed, 24 insertions(+), 23 deletions(-) diff --git a/language-snippets.ent b/language-snippets.ent index 4495c3f91c..1f5fa712f0 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -781,6 +781,8 @@ function instead.'> exits on success'> +HttpResponse class if you are using PHP-5.1 and above'> This function is supposed to be used in conjunction with http_send_data, http_send_file &listendand; http_send_stream.'> diff --git a/reference/http/functions/caching/http-cache-etag.xml b/reference/http/functions/caching/http-cache-etag.xml index c8c9fc994c..eb824a6d73 100644 --- a/reference/http/functions/caching/http-cache-etag.xml +++ b/reference/http/functions/caching/http-cache-etag.xml @@ -1,5 +1,5 @@ - + @@ -113,6 +113,7 @@ http_send_data("data"); http_cache_last_modified + &http.response.class.php51; diff --git a/reference/http/functions/caching/http-cache-last-modified.xml b/reference/http/functions/caching/http-cache-last-modified.xml index 790bac422b..64af473691 100644 --- a/reference/http/functions/caching/http-cache-last-modified.xml +++ b/reference/http/functions/caching/http-cache-last-modified.xml @@ -1,5 +1,5 @@ - + @@ -114,6 +114,7 @@ printf("%s\n", http_date()); http_cache_etag + &http.response.class.php51; diff --git a/reference/http/functions/responses/http-redirect.xml b/reference/http/functions/responses/http-redirect.xml index 060c8eb4cd..1b6ed01493 100644 --- a/reference/http/functions/responses/http-redirect.xml +++ b/reference/http/functions/responses/http-redirect.xml @@ -1,5 +1,5 @@ - + @@ -146,17 +146,14 @@ Redirecting to &reftitle.seealso; - - Or something else + &http.response.class.php51; - --> diff --git a/reference/http/functions/responses/http-send-content-disposition.xml b/reference/http/functions/responses/http-send-content-disposition.xml index 3d0d1e6f9e..b61afebb89 100644 --- a/reference/http/functions/responses/http-send-content-disposition.xml +++ b/reference/http/functions/responses/http-send-content-disposition.xml @@ -1,5 +1,5 @@ - + @@ -125,6 +125,7 @@ Use the PEAR Coding Standards http_send_data http_send_file http_send_stream + &http.response.class.php51; diff --git a/reference/http/functions/responses/http-send-content-type.xml b/reference/http/functions/responses/http-send-content-type.xml index a98f1667d1..fa2f28ee09 100644 --- a/reference/http/functions/responses/http-send-content-type.xml +++ b/reference/http/functions/responses/http-send-content-type.xml @@ -1,5 +1,5 @@ - + @@ -112,6 +112,7 @@ Use the PEAR Coding Standards http_send_data http_send_file http_send_stream + &http.response.class.php51; diff --git a/reference/http/functions/responses/http-send-data.xml b/reference/http/functions/responses/http-send-data.xml index d5870cf6b1..26de3f2ab6 100644 --- a/reference/http/functions/responses/http-send-data.xml +++ b/reference/http/functions/responses/http-send-data.xml @@ -1,5 +1,5 @@ - + @@ -114,6 +114,7 @@ Use the PEAR Coding Standards http_throttle http_send_content_type http_send_content_disposition + &http.response.class.php51; diff --git a/reference/http/functions/responses/http-send-file.xml b/reference/http/functions/responses/http-send-file.xml index 46b95bec38..903bf813fd 100644 --- a/reference/http/functions/responses/http-send-file.xml +++ b/reference/http/functions/responses/http-send-file.xml @@ -1,5 +1,5 @@ - + @@ -127,6 +127,7 @@ Content-Disposition: inline; filename="document.pdf" http_throttle http_send_content_type http_send_content_disposition + &http.response.class.php51; diff --git a/reference/http/functions/responses/http-send-last-modified.xml b/reference/http/functions/responses/http-send-last-modified.xml index f44381a851..755415d5ec 100644 --- a/reference/http/functions/responses/http-send-last-modified.xml +++ b/reference/http/functions/responses/http-send-last-modified.xml @@ -1,5 +1,5 @@ - + @@ -107,17 +107,14 @@ Use the PEAR Coding Standards --> - diff --git a/reference/http/functions/responses/http-send-status.xml b/reference/http/functions/responses/http-send-status.xml index cf33680a63..0ce57662fd 100644 --- a/reference/http/functions/responses/http-send-status.xml +++ b/reference/http/functions/responses/http-send-status.xml @@ -1,5 +1,5 @@ - + @@ -105,17 +105,14 @@ Use the PEAR Coding Standards --> - diff --git a/reference/http/functions/responses/http-send-stream.xml b/reference/http/functions/responses/http-send-stream.xml index dd0533d5b2..6ae48298d9 100644 --- a/reference/http/functions/responses/http-send-stream.xml +++ b/reference/http/functions/responses/http-send-stream.xml @@ -1,5 +1,5 @@ - + @@ -114,6 +114,7 @@ Use the PEAR Coding Standards http_throttle http_send_content_type http_send_content_disposition + &http.response.class.php51; diff --git a/reference/http/functions/responses/http-throttle.xml b/reference/http/functions/responses/http-throttle.xml index 90fa0d8d98..5df5ab4d84 100644 --- a/reference/http/functions/responses/http-throttle.xml +++ b/reference/http/functions/responses/http-throttle.xml @@ -1,5 +1,5 @@ - + @@ -113,6 +113,7 @@ http_send_file('document.pdf'); http_send_data http_send_file http_send_stream + &http.response.class.php51;