aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-28 11:02:10 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-28 14:27:58 +0100
commit9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224 (patch)
treec8f043dde3a6bdd653aac7136d742f6ed8c49b84 /src/Wallabag/CoreBundle/Entity
parent34ea7be6228c633ef8da703994eed034026e9c18 (diff)
downloadwallabag-9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224.tar.gz
wallabag-9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224.tar.zst
wallabag-9f01d0fde09fa055a7db9f26e77c5e6b3d6c2224.zip
Added list view
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Config.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php
index e04f0a7b..70364ab6 100644
--- a/src/Wallabag/CoreBundle/Entity/Config.php
+++ b/src/Wallabag/CoreBundle/Entity/Config.php
@@ -98,6 +98,13 @@ class Config
98 private $actionMarkAsRead; 98 private $actionMarkAsRead;
99 99
100 /** 100 /**
101 * @var int
102 *
103 * @ORM\Column(name="view_mode", type="integer", nullable=true)
104 */
105 private $viewMode;
106
107 /**
101 * @ORM\OneToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="config") 108 * @ORM\OneToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="config")
102 */ 109 */
103 private $user; 110 private $user;
@@ -340,6 +347,26 @@ class Config
340 } 347 }
341 348
342 /** 349 /**
350 * @return int
351 */
352 public function getViewMode()
353 {
354 return $this->viewMode;
355 }
356
357 /**
358 * @param int $viewMode
359 *
360 * @return Config
361 */
362 public function setViewMode($viewMode)
363 {
364 $this->viewMode = $viewMode;
365
366 return $this;
367 }
368
369 /**
343 * @param TaggingRule $rule 370 * @param TaggingRule $rule
344 * 371 *
345 * @return Config 372 * @return Config