cvs: pear /HTTP HTTP.php
| From: | Alexander Merz | Date: | Tue, 07 Aug 2001 01:06:26 +0000 |
| Subject: | cvs: pear /HTTP HTTP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-429@lists.php.net to get a copy of this message | ||
alexmerz Mon Aug 6 21:06:26 2001 EDT
Modified files:
/pear/HTTP HTTP.php
Log:
fix PHPDoc
Index: pear/HTTP/HTTP.php
diff -u pear/HTTP/HTTP.php:1.4 pear/HTTP/HTTP.php:1.5
--- pear/HTTP/HTTP.php:1.4 Fri Aug 3 04:30:15 2001
+++ pear/HTTP/HTTP.php Mon Aug 6 21:06:26 2001
@@ -17,11 +17,18 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: HTTP.php,v 1.4 2001/08/03 08:30:15 ssb Exp $
-//
-// HTTP utility functions.
+// $Id: HTTP.php,v 1.5 2001/08/07 01:06:26 alexmerz Exp $
//
+/**
+* HTTP utility functions.
+*
+* Provides functions needed for HTTP-Connections
+*
+* @access public
+* @version $Revision: 1.5 $
+* @package HTTP
+*/
class HTTP
{
/**
@@ -34,6 +41,7 @@
* @return HTTP date string, or false for an invalid timestamp.
*
* @author Stig Bakken <ssb@fast.no>
+ * @access public
*/
function Date($time)
{
@@ -56,14 +64,17 @@
*
* Accept-Language: en_UK;q=0.7, en_US;q=0.6, no;q=1.0, dk;q=0.8
*
- * @param $supported an associative array indexed by language
+ * @param array $supported an associative array indexed by language
* codes (country codes) supported by the application. Values
* must evaluate to true.
*
- * @param $default the default language to use if none is found
+ * @param string $default the default language to use if none is found
* during negotiation, defaults to "en_US" for U.S. English
*
+ * @return array contains all possible languages
+ *
* @author Stig Bakken <ssb@fast.no>
+ * @access public
*/
function negotiateLanguage(&$supported, $default = 'en_US')
{