summaryrefslogtreecommitdiffstats
path: root/application/libraries/Duser/Duser.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries/Duser/Duser.php')
-rw-r--r--application/libraries/Duser/Duser.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/application/libraries/Duser/Duser.php b/application/libraries/Duser/Duser.php
index 42d6b1d62..b615528f7 100644
--- a/application/libraries/Duser/Duser.php
+++ b/application/libraries/Duser/Duser.php
@@ -24,14 +24,24 @@ abstract class Duser_Driver extends CI_Driver {
* - username string
* - userid INT > 0
*
+ * @param username
+ * @param password
* @return mixed array on success, false on failure
*/
abstract public function login($username, $password);
+ /*
+ * @param username
+ * @return boolean true is username exists, false otherwise
+ */
public function username_exists($username) {
return null;
}
+ /*
+ * @param userid
+ * @return string email address of the user
+ */
public function get_email($userid) {
return null;
}