diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/class/user.class.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/class/user.class.php b/app/class/user.class.php new file mode 100644 index 0000000..8ef91ae --- /dev/null +++ b/app/class/user.class.php @@ -0,0 +1,30 @@ +<?php + +require_once "class/object.class.php"; + +/* + * Application users + */ +class User extends Object +{ + /* + * Constructor + */ + function __construct($guid = null) + { + $cols = array( + "guid", + "key", + "salt", + "alias", + "email", + "emailConf", + "emailConfKey" + ); + + parent::__construct("user", $cols); + $this->loadObj($guid); + } +} + +?> |