[pLog-svn] r4442 - plog/trunk/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Dec 28 18:55:40 GMT 2006
Author: oscar
Date: 2006-12-28 18:55:40 +0000 (Thu, 28 Dec 2006)
New Revision: 4442
Modified:
plog/trunk/class/dao/users.class.php
Log:
Somehow the method Users::getUserInfo() was defined and implemented in the base provider and all providers but never exposed via the Users class...
Modified: plog/trunk/class/dao/users.class.php
===================================================================
--- plog/trunk/class/dao/users.class.php 2006-12-28 18:43:58 UTC (rev 4441)
+++ plog/trunk/class/dao/users.class.php 2006-12-28 18:55:40 UTC (rev 4442)
@@ -74,6 +74,18 @@
}
/**
+ * Returns all the information associated to the user given
+ *
+ * @param user Username of the user from who we'd like to get the information
+ * @param pass Password of the user we'd like to get the information
+ * @return Returns a UserInfo object with the requested information, or false otherwise.
+ */
+ function getUserInfo( $user, $pass )
+ {
+ return( $this->_provider->getUserInfo( $user, $pass ));
+ }
+
+ /**
* Retrieves the user infromation but given only a userid
*
* @param userId User ID of the user from whom we'd like to get the information
More information about the pLog-svn
mailing list