cvs: pear /Auth_HTTP Auth_HTTP.php
| From: | Martin Jansen | Date: | Tue, 29 Oct 2002 17:23:04 +0000 |
| Subject: | cvs: pear /Auth_HTTP Auth_HTTP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7236@lists.php.net to get a copy of this message | ||
mj Tue Oct 29 12:23:04 2002 EDT
Modified files:
/pear/Auth_HTTP Auth_HTTP.php
Log:
* Add/Remove some doc comments.
Index: pear/Auth_HTTP/Auth_HTTP.php
diff -u pear/Auth_HTTP/Auth_HTTP.php:1.7 pear/Auth_HTTP/Auth_HTTP.php:1.8
--- pear/Auth_HTTP/Auth_HTTP.php:1.7 Sun Aug 25 01:16:26 2002
+++ pear/Auth_HTTP/Auth_HTTP.php Tue Oct 29 12:23:04 2002
@@ -16,7 +16,7 @@
// | Authors: Martin Jansen <mj@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Auth_HTTP.php,v 1.7 2002/08/25 05:16:26 markonen Exp $
+// $Id: Auth_HTTP.php,v 1.8 2002/10/29 17:23:04 mj Exp $
//
require_once "Auth/Auth.php";
@@ -37,7 +37,7 @@
* @author Martin Jansen <mj@php.net>
* @package Auth_HTTP
* @extends Auth
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
class Auth_HTTP extends Auth
{
@@ -70,7 +70,7 @@
* to internal variables and sets the session id based
* on them
*
- * @global $PHP_AUTH_USER, $PHP_AUTH_PW
+ * @return void
*/
function assignData()
{
@@ -84,9 +84,9 @@
$this->password = $server['PHP_AUTH_PW'];
}
- if (isset($this->username) && isset($this->password)) {
- session_id(md5("Auth_HTTP".$this->username.$this->password));
- }
+ if (isset($this->username) && isset($this->password)) {
+ session_id(md5("Auth_HTTP" . $this->username . $this->password));
+ }
}
// }}}
@@ -95,8 +95,8 @@
/**
* Launch the login box
*
- * @param string $username Username
- * @param string $password Password
+ * @param string $username Username
+ * @return void
*/
function drawLogin($username = "")
{
@@ -122,6 +122,7 @@
*
* @access public
* @param string $name Name of the realm
+ * @return void
*/
function setRealm($name)
{
@@ -136,6 +137,7 @@
*
* @access public
* @param string $text Text to send
+ * @return void
*/
function setCancelText($text)
{