forked from wallabag/wallabag
Added list view
This commit is contained in:
@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user