]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/poche/User.class.php
3 * poche, a read it later open source system
6 * @author Nicolas LÅ“uillet <support@inthepoche.com>
8 * @license http://www.wtfpl.net/ see COPYING file
20 function __construct($user)
22 $this->id
= $user['id'];
23 $this->username
= $user['username'];
24 $this->name
= $user['name'];
25 $this->password
= $user['password'];
26 $this->email
= $user['email'];
27 $this->config
= $user['config'];
30 function getConfigValue($name) {
31 return (isset($this->config
[$name])) ? $this->config
[$name] : FALSE;