summaryrefslogtreecommitdiffstats
path: root/application/libraries/Duser/Duser.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-16 16:43:13 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-16 16:49:11 +0200
commit2172c2049fc8b8eca5dbed7b659a089e20d1fadd (patch)
tree2b4f38e2b410c08b4e2d810d2f1ac8961ffdbcdb /application/libraries/Duser/Duser.php
parenta301dbf1cbe6d001e3488c458fd0868ff0608888 (diff)
Duser: Add some comments
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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;
}