mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-10 19:32:07 +00:00
Added list view
This commit is contained in:
parent
34ea7be622
commit
9f01d0fde0
12 changed files with 139 additions and 17 deletions
|
@ -97,6 +97,13 @@ class Config
|
|||
*/
|
||||
private $actionMarkAsRead;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="view_mode", type="integer", nullable=true)
|
||||
*/
|
||||
private $viewMode;
|
||||
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="config")
|
||||
*/
|
||||
|
@ -339,6 +346,26 @@ class Config
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getViewMode()
|
||||
{
|
||||
return $this->viewMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $viewMode
|
||||
*
|
||||
* @return Config
|
||||
*/
|
||||
public function setViewMode($viewMode)
|
||||
{
|
||||
$this->viewMode = $viewMode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param TaggingRule $rule
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue