aboutsummaryrefslogtreecommitdiff
path: root/app/class/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/user.php')
-rw-r--r--app/class/user.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/class/user.php b/app/class/user.php
index 68eed91..2b87d62 100644
--- a/app/class/user.php
+++ b/app/class/user.php
@@ -12,6 +12,7 @@ class User
protected $connectcount = 0;
protected $expiredate = false;
protected $bookmark = [];
+ protected $display = ['bookmark' => false];
public function __construct($datas = [])
{
@@ -120,6 +121,11 @@ class User
return $this->bookmark;
}
+ public function display()
+ {
+ return $this->display;
+ }
+
// _______________________ S E T _______________________
@@ -198,6 +204,13 @@ class User
}
}
+ public function setdisplay($display)
+ {
+ if(is_array($display)) {
+ $this->display = $display;
+ }
+ }
+