cvs: pear /Perm_LiveUser/Auth/Container DB.php MDB.php MDB2.php
| From: | Arnaud Limbourg | Date: | Mon, 07 Jun 2004 16:50:04 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Auth/Container DB.php MDB.php MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-20309@lists.php.net to get a copy of this message | ||
arnaud Mon Jun 7 12:50:04 2004 EDT
Modified files:
/pear/Perm_LiveUser/Auth/Container DB.php MDB.php MDB2.php
Log:
* mark some methods private
http://cvs.php.net/diff.php/pear/Perm_LiveUser/Auth/Container/DB.php?r1=1.48&r2=1.49&ty=u
Index: pear/Perm_LiveUser/Auth/Container/DB.php
diff -u pear/Perm_LiveUser/Auth/Container/DB.php:1.48 pear/Perm_LiveUser/Auth/Container/DB.php:1.49
--- pear/Perm_LiveUser/Auth/Container/DB.php:1.48 Mon Jun 7 12:09:48 2004
+++ pear/Perm_LiveUser/Auth/Container/DB.php Mon Jun 7 12:50:03 2004
@@ -47,7 +47,7 @@
* 'allowDuplicateHandles' => 1);
*
* @author Markus Wolff <wolff@21st.de>
- * @version $Id: DB.php,v 1.48 2004/06/07 16:09:48 arnaud Exp $
+ * @version $Id: DB.php,v 1.49 2004/06/07 16:50:03 arnaud Exp $
* @package LiveUser
* @category authentication
*/
@@ -153,16 +153,16 @@
}
/**
- * LiveUser_Auth_Container_DB::updateUserData()
+ * LiveUser_Auth_Container_DB::_updateUserData()
*
* Writes current values for user back to the database.
* This method does nothing in the base class and is supposed to
* be overridden in subclasses according to the supported backend.
*
- * @return mixed true or an DB error object
* @access private
+ * @return mixed true or an DB error object
*/
- function updateUserData()
+ function _updateUserData()
{
if (!$this->init_ok) {
return false;
@@ -181,7 +181,7 @@
}
/**
- * LiveUser_Auth_Container_DB::readUserData()
+ * LiveUser_Auth_Container_DB::_readUserData()
*
* Reads auth_user_id, passwd, is_active flag
* lastlogin timestamp from the database
@@ -195,11 +195,12 @@
* passwords - yep, some people want this).
* If no match is found, false is being returned.
*
+ * @access private
* @param string user handle
* @param boolean user password
* @return boolean
*/
- function readUserData($handle, $passwd = false)
+ function _readUserData($handle, $passwd = false)
{
if (!$this->init_ok) {
return false;
http://cvs.php.net/diff.php/pear/Perm_LiveUser/Auth/Container/MDB.php?r1=1.29&r2=1.30&ty=u
Index: pear/Perm_LiveUser/Auth/Container/MDB.php
diff -u pear/Perm_LiveUser/Auth/Container/MDB.php:1.29
pear/Perm_LiveUser/Auth/Container/MDB.php:1.30
--- pear/Perm_LiveUser/Auth/Container/MDB.php:1.29 Mon Jun 7 12:09:49 2004
+++ pear/Perm_LiveUser/Auth/Container/MDB.php Mon Jun 7 12:50:03 2004
@@ -48,7 +48,7 @@
* 'allowDuplicateHandles' => 1);
*
* @author Markus Wolff <wolff@21st.de>
- * @version $Id: MDB.php,v 1.29 2004/06/07 16:09:49 arnaud Exp $
+ * @version $Id: MDB.php,v 1.30 2004/06/07 16:50:03 arnaud Exp $
* @package LiveUser
* @category authentication
*/
@@ -167,7 +167,7 @@
}
/**
- * LiveUser_Auth_Container_MDB::updateUserData()
+ * LiveUser_Auth_Container_MDB::_updateUserData()
*
* Writes current values for user back to the database.
* This method does nothing in the base class and is supposed to
@@ -176,7 +176,7 @@
* @return mixed true or an MDB error object
* @access private
*/
- function updateUserData()
+ function _updateUserData()
{
if (!$this->init_ok) {
return false;
@@ -196,7 +196,7 @@
}
/**
- * LiveUser_Auth_Container_MDB::readUserData()
+ * LiveUser_Auth_Container_MDB::_readUserData()
*
* Reads auth_user_id, passwd, is_active flag
* lastlogin timestamp from the database
@@ -210,11 +210,12 @@
* passwords - yep, some people want this).
* If no match is found, false is being returned.
*
+ * @access private
* @param string $handle
* @param boolean $passwd
* @return boolean
*/
- function readUserData($handle, $passwd=false)
+ function _readUserData($handle, $passwd=false)
{
if (!$this->init_ok) {
return false;
http://cvs.php.net/diff.php/pear/Perm_LiveUser/Auth/Container/MDB2.php?r1=1.8&r2=1.9&ty=u
Index: pear/Perm_LiveUser/Auth/Container/MDB2.php
diff -u pear/Perm_LiveUser/Auth/Container/MDB2.php:1.8
pear/Perm_LiveUser/Auth/Container/MDB2.php:1.9
--- pear/Perm_LiveUser/Auth/Container/MDB2.php:1.8 Mon Jun 7 12:09:49 2004
+++ pear/Perm_LiveUser/Auth/Container/MDB2.php Mon Jun 7 12:50:03 2004
@@ -48,7 +48,7 @@
* 'allowDuplicateHandles' => 1);
*
* @author Markus Wolff <wolff@21st.de>
- * @version $Id: MDB2.php,v 1.8 2004/06/07 16:09:49 arnaud Exp $
+ * @version $Id: MDB2.php,v 1.9 2004/06/07 16:50:03 arnaud Exp $
* @package LiveUser
* @category authentication
*/
@@ -160,16 +160,16 @@
}
/**
- * LiveUser_Auth_Container_MDB2::updateUserData()
+ * LiveUser_Auth_Container_MDB2::_updateUserData()
*
* Writes current values for user back to the database.
* This method does nothing in the base class and is supposed to
* be overridden in subclasses according to the supported backend.
*
- * @return mixed true or an MDB2 error object
* @access private
+ * @return mixed true or an MDB2 error object
*/
- function updateUserData()
+ function _updateUserData()
{
if (!$this->init_ok) {
return false;
@@ -189,7 +189,7 @@
}
/**
- * LiveUser_Auth_Container_MDB2::readUserData()
+ * LiveUser_Auth_Container_MDB2::_readUserData()
*
* Reads auth_user_id, passwd, is_active flag
* lastlogin timestamp from the database
@@ -203,11 +203,12 @@
* passwords - yep, some people want this).
* If no match is found, false is being returned.
*
+ * @access private
* @param string $handle
* @param boolean $passwd
* @return boolean
*/
- function readUserData($handle, $passwd=false)
+ function _readUserData($handle, $passwd=false)
{
if (!$this->init_ok) {
return false;