diff options
author | Malf Furious <m@lfurio.us> | 2015-12-30 20:18:45 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2015-12-30 20:18:45 -0500 |
commit | 76f208ddcc490280885c3fd2fd2917e6be0b65b5 (patch) | |
tree | 0f7c02952b35efb99f5d8e0233cbd7cff405bebd /app | |
parent | c36269f976cb8287f1b6e17d4b0a958e4e9741da (diff) | |
download | scrott-76f208ddcc490280885c3fd2fd2917e6be0b65b5.tar.gz scrott-76f208ddcc490280885c3fd2fd2917e6be0b65b5.zip |
+ Created db table child class for User table
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); + } +} + +?> |