ninegate
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -80,6 +80,11 @@ class Group
|
||||
*/
|
||||
private $owner;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="Page", inversedBy="templategroups")
|
||||
*/
|
||||
private $pagetemplate;
|
||||
|
||||
/**
|
||||
* @var ArrayCollection
|
||||
* @var UserGroup
|
||||
@@ -322,4 +327,16 @@ class Group
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPagetemplate(): ?Page
|
||||
{
|
||||
return $this->pagetemplate;
|
||||
}
|
||||
|
||||
public function setPagetemplate(?Page $pagetemplate): self
|
||||
{
|
||||
$this->pagetemplate = $pagetemplate;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
namespace App\Entity;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
@@ -71,6 +72,13 @@ class Pagewidget
|
||||
*/
|
||||
protected $opened;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*
|
||||
* @ORM\Column(name="viewheader", type="boolean", options={"default":true})
|
||||
*/
|
||||
protected $viewheader;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
@@ -138,6 +146,12 @@ class Pagewidget
|
||||
*/
|
||||
private $slides;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->bookmarks = new ArrayCollection();
|
||||
$this->slides = new ArrayCollection();
|
||||
}
|
||||
|
||||
// A garder pour forcer l'id en init
|
||||
public function setId($id)
|
||||
{
|
||||
@@ -146,457 +160,260 @@ class Pagewidget
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->bookmarks = new \Doctrine\Common\Collections\ArrayCollection();
|
||||
$this->slides = new \Doctrine\Common\Collections\ArrayCollection();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getId()
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set name.
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setName($name)
|
||||
public function getName(): ?string
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function setName(string $name): self
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
public function getLoc(): ?string
|
||||
{
|
||||
return $this->name;
|
||||
return $this->loc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set loc.
|
||||
*
|
||||
* @param string $loc
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setLoc($loc)
|
||||
public function setLoc(string $loc): self
|
||||
{
|
||||
$this->loc = $loc;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get loc.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLoc()
|
||||
public function getRoworder(): ?int
|
||||
{
|
||||
return $this->loc;
|
||||
return $this->roworder;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set roworder.
|
||||
*
|
||||
* @param int $roworder
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setRoworder($roworder)
|
||||
public function setRoworder(int $roworder): self
|
||||
{
|
||||
$this->roworder = $roworder;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get roworder.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getRoworder()
|
||||
{
|
||||
return $this->roworder;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set height.
|
||||
*
|
||||
* @param int $height
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setHeight($height)
|
||||
{
|
||||
$this->height = $height;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get height.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getHeight()
|
||||
public function getHeight(): ?int
|
||||
{
|
||||
return $this->height;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set autoajust.
|
||||
*
|
||||
* @param bool $autoajust
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setAutoajust($autoajust)
|
||||
public function setHeight(int $height): self
|
||||
{
|
||||
$this->autoajust = $autoajust;
|
||||
$this->height = $height;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get autoajust.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getAutoajust()
|
||||
{
|
||||
return $this->autoajust;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set border.
|
||||
*
|
||||
* @param bool $border
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setBorder($border)
|
||||
{
|
||||
$this->border = $border;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get border.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getBorder()
|
||||
{
|
||||
return $this->border;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set opened.
|
||||
*
|
||||
* @param bool $opened
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setOpened($opened)
|
||||
{
|
||||
$this->opened = $opened;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get opened.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getOpened()
|
||||
{
|
||||
return $this->opened;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorheaderback.
|
||||
*
|
||||
* @param string $colorheaderback
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setColorheaderback($colorheaderback)
|
||||
{
|
||||
$this->colorheaderback = $colorheaderback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorheaderback.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorheaderback()
|
||||
{
|
||||
return $this->colorheaderback;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorheaderfont.
|
||||
*
|
||||
* @param string $colorheaderfont
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setColorheaderfont($colorheaderfont)
|
||||
{
|
||||
$this->colorheaderfont = $colorheaderfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorheaderfont.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorheaderfont()
|
||||
{
|
||||
return $this->colorheaderfont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorbodyback.
|
||||
*
|
||||
* @param string $colorbodyback
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setColorbodyback($colorbodyback)
|
||||
{
|
||||
$this->colorbodyback = $colorbodyback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorbodyback.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorbodyback()
|
||||
{
|
||||
return $this->colorbodyback;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorbodyfont.
|
||||
*
|
||||
* @param string $colorbodyfont
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setColorbodyfont($colorbodyfont)
|
||||
{
|
||||
$this->colorbodyfont = $colorbodyfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorbodyfont.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorbodyfont()
|
||||
{
|
||||
return $this->colorbodyfont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set parameter.
|
||||
*
|
||||
* @param array $parameter
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setParameter($parameter)
|
||||
{
|
||||
$this->parameter = $parameter;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get parameter.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getParameter()
|
||||
{
|
||||
return $this->parameter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set page.
|
||||
*
|
||||
* @param Page $page
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setPage(Page $page = null)
|
||||
{
|
||||
$this->page = $page;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get page.
|
||||
*
|
||||
* @return Page
|
||||
*/
|
||||
public function getPage()
|
||||
{
|
||||
return $this->page;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set widget.
|
||||
*
|
||||
* @param Widget $widget
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setWidget(Widget $widget = null)
|
||||
{
|
||||
$this->widget = $widget;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get widget.
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function getWidget()
|
||||
{
|
||||
return $this->widget;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set icon.
|
||||
*
|
||||
* @param Icon $icon
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function setIcon(Icon $icon = null)
|
||||
{
|
||||
$this->icon = $icon;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get icon.
|
||||
*
|
||||
* @return Icon
|
||||
*/
|
||||
public function getIcon()
|
||||
{
|
||||
return $this->icon;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add bookmark.
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function addBookmark(Bookmark $bookmark)
|
||||
{
|
||||
$this->bookmarks[] = $bookmark;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove bookmark.
|
||||
*/
|
||||
public function removeBookmark(Bookmark $bookmark)
|
||||
{
|
||||
$this->bookmarks->removeElement($bookmark);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get bookmarks.
|
||||
*
|
||||
* @return \Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
public function getBookmarks()
|
||||
{
|
||||
return $this->bookmarks;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add slide.
|
||||
*
|
||||
* @return Pagewidget
|
||||
*/
|
||||
public function addSlide(Slide $slide)
|
||||
{
|
||||
$this->slides[] = $slide;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove slide.
|
||||
*/
|
||||
public function removeSlide(Slide $slide)
|
||||
{
|
||||
$this->slides->removeElement($slide);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get slides.
|
||||
*
|
||||
* @return \Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
public function getSlides()
|
||||
{
|
||||
return $this->slides;
|
||||
}
|
||||
|
||||
public function isAutoajust(): ?bool
|
||||
{
|
||||
return $this->autoajust;
|
||||
}
|
||||
|
||||
public function setAutoajust(bool $autoajust): self
|
||||
{
|
||||
$this->autoajust = $autoajust;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isBorder(): ?bool
|
||||
{
|
||||
return $this->border;
|
||||
}
|
||||
|
||||
public function setBorder(bool $border): self
|
||||
{
|
||||
$this->border = $border;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isOpened(): ?bool
|
||||
{
|
||||
return $this->opened;
|
||||
}
|
||||
|
||||
public function setOpened(bool $opened): self
|
||||
{
|
||||
$this->opened = $opened;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isViewheader(): ?bool
|
||||
{
|
||||
return $this->viewheader;
|
||||
}
|
||||
|
||||
public function setViewheader(bool $viewheader): self
|
||||
{
|
||||
$this->viewheader = $viewheader;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorheaderback(): ?string
|
||||
{
|
||||
return $this->colorheaderback;
|
||||
}
|
||||
|
||||
public function setColorheaderback(?string $colorheaderback): self
|
||||
{
|
||||
$this->colorheaderback = $colorheaderback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorheaderfont(): ?string
|
||||
{
|
||||
return $this->colorheaderfont;
|
||||
}
|
||||
|
||||
public function setColorheaderfont(?string $colorheaderfont): self
|
||||
{
|
||||
$this->colorheaderfont = $colorheaderfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorbodyback(): ?string
|
||||
{
|
||||
return $this->colorbodyback;
|
||||
}
|
||||
|
||||
public function setColorbodyback(?string $colorbodyback): self
|
||||
{
|
||||
$this->colorbodyback = $colorbodyback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorbodyfont(): ?string
|
||||
{
|
||||
return $this->colorbodyfont;
|
||||
}
|
||||
|
||||
public function setColorbodyfont(?string $colorbodyfont): self
|
||||
{
|
||||
$this->colorbodyfont = $colorbodyfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getParameter(): array
|
||||
{
|
||||
return $this->parameter;
|
||||
}
|
||||
|
||||
public function setParameter(?array $parameter): self
|
||||
{
|
||||
$this->parameter = $parameter;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPage(): ?Page
|
||||
{
|
||||
return $this->page;
|
||||
}
|
||||
|
||||
public function setPage(?Page $page): self
|
||||
{
|
||||
$this->page = $page;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getWidget(): ?Widget
|
||||
{
|
||||
return $this->widget;
|
||||
}
|
||||
|
||||
public function setWidget(?Widget $widget): self
|
||||
{
|
||||
$this->widget = $widget;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getIcon(): ?Icon
|
||||
{
|
||||
return $this->icon;
|
||||
}
|
||||
|
||||
public function setIcon(?Icon $icon): self
|
||||
{
|
||||
$this->icon = $icon;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Collection<int, Bookmark>
|
||||
*/
|
||||
public function getBookmarks(): Collection
|
||||
{
|
||||
return $this->bookmarks;
|
||||
}
|
||||
|
||||
public function addBookmark(Bookmark $bookmark): self
|
||||
{
|
||||
if (!$this->bookmarks->contains($bookmark)) {
|
||||
$this->bookmarks->add($bookmark);
|
||||
$bookmark->setPagewidget($this);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function removeBookmark(Bookmark $bookmark): self
|
||||
{
|
||||
if ($this->bookmarks->removeElement($bookmark)) {
|
||||
// set the owning side to null (unless already changed)
|
||||
if ($bookmark->getPagewidget() === $this) {
|
||||
$bookmark->setPagewidget(null);
|
||||
}
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Collection<int, Slide>
|
||||
*/
|
||||
public function getSlides(): Collection
|
||||
{
|
||||
return $this->slides;
|
||||
}
|
||||
|
||||
public function addSlide(Slide $slide): self
|
||||
{
|
||||
if (!$this->slides->contains($slide)) {
|
||||
$this->slides->add($slide);
|
||||
$slide->setPagewidget($this);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function removeSlide(Slide $slide): self
|
||||
{
|
||||
if ($this->slides->removeElement($slide)) {
|
||||
// set the owning side to null (unless already changed)
|
||||
if ($slide->getPagewidget() === $this) {
|
||||
$slide->setPagewidget(null);
|
||||
}
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
namespace App\Entity;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
@@ -79,6 +80,13 @@ class Widget
|
||||
*/
|
||||
protected $opened;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*
|
||||
* @ORM\Column(name="viewheader", type="boolean", options={"default":true})
|
||||
*/
|
||||
protected $viewheader;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
@@ -135,6 +143,11 @@ class Widget
|
||||
*/
|
||||
private $pagewidgets;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->pagewidgets = new ArrayCollection();
|
||||
}
|
||||
|
||||
// A garder pour forcer l'id en init
|
||||
public function setId($id)
|
||||
{
|
||||
@@ -143,426 +156,230 @@ class Widget
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->pagewidgets = new \Doctrine\Common\Collections\ArrayCollection();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getId()
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set roworder.
|
||||
*
|
||||
* @param int $roworder
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setRoworder($roworder)
|
||||
public function getRoworder(): ?int
|
||||
{
|
||||
return $this->roworder;
|
||||
}
|
||||
|
||||
public function setRoworder(int $roworder): self
|
||||
{
|
||||
$this->roworder = $roworder;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get roworder.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getRoworder()
|
||||
public function getName(): ?string
|
||||
{
|
||||
return $this->roworder;
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set name.
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setName($name)
|
||||
public function setName(string $name): self
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
public function getDescription(): ?string
|
||||
{
|
||||
return $this->name;
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set description.
|
||||
*
|
||||
* @param string $description
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setDescription($description)
|
||||
public function setDescription(?string $description): self
|
||||
{
|
||||
$this->description = $description;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get description.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription()
|
||||
public function getRouteview(): ?string
|
||||
{
|
||||
return $this->description;
|
||||
return $this->routeview;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set routeview.
|
||||
*
|
||||
* @param string $routeview
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setRouteview($routeview)
|
||||
public function setRouteview(string $routeview): self
|
||||
{
|
||||
$this->routeview = $routeview;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get routeview.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRouteview()
|
||||
{
|
||||
return $this->routeview;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set height.
|
||||
*
|
||||
* @param int $height
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setHeight($height)
|
||||
{
|
||||
$this->height = $height;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get height.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getHeight()
|
||||
public function getHeight(): ?int
|
||||
{
|
||||
return $this->height;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set autoajust.
|
||||
*
|
||||
* @param bool $autoajust
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setAutoajust($autoajust)
|
||||
public function setHeight(int $height): self
|
||||
{
|
||||
$this->autoajust = $autoajust;
|
||||
$this->height = $height;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get autoajust.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getAutoajust()
|
||||
{
|
||||
return $this->autoajust;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set border.
|
||||
*
|
||||
* @param bool $border
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setBorder($border)
|
||||
{
|
||||
$this->border = $border;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get border.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getBorder()
|
||||
{
|
||||
return $this->border;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set opened.
|
||||
*
|
||||
* @param bool $opened
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setOpened($opened)
|
||||
{
|
||||
$this->opened = $opened;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get opened.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getOpened()
|
||||
{
|
||||
return $this->opened;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorheaderback.
|
||||
*
|
||||
* @param string $colorheaderback
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setColorheaderback($colorheaderback)
|
||||
{
|
||||
$this->colorheaderback = $colorheaderback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorheaderback.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorheaderback()
|
||||
{
|
||||
return $this->colorheaderback;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorheaderfont.
|
||||
*
|
||||
* @param string $colorheaderfont
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setColorheaderfont($colorheaderfont)
|
||||
{
|
||||
$this->colorheaderfont = $colorheaderfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorheaderfont.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorheaderfont()
|
||||
{
|
||||
return $this->colorheaderfont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorbodyback.
|
||||
*
|
||||
* @param string $colorbodyback
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setColorbodyback($colorbodyback)
|
||||
{
|
||||
$this->colorbodyback = $colorbodyback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorbodyback.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorbodyback()
|
||||
{
|
||||
return $this->colorbodyback;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set colorbodyfont.
|
||||
*
|
||||
* @param string $colorbodyfont
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setColorbodyfont($colorbodyfont)
|
||||
{
|
||||
$this->colorbodyfont = $colorbodyfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get colorbodyfont.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getColorbodyfont()
|
||||
{
|
||||
return $this->colorbodyfont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set access.
|
||||
*
|
||||
* @param string $access
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setAccess($access)
|
||||
{
|
||||
$this->access = $access;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get access.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAccess()
|
||||
{
|
||||
return $this->access;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set parameter.
|
||||
*
|
||||
* @param array $parameter
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setParameter($parameter)
|
||||
{
|
||||
$this->parameter = $parameter;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get parameter.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getParameter()
|
||||
{
|
||||
return $this->parameter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set icon.
|
||||
*
|
||||
* @param Icon $icon
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function setIcon(Icon $icon = null)
|
||||
{
|
||||
$this->icon = $icon;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get icon.
|
||||
*
|
||||
* @return Icon
|
||||
*/
|
||||
public function getIcon()
|
||||
{
|
||||
return $this->icon;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add pagewidget.
|
||||
*
|
||||
* @return Widget
|
||||
*/
|
||||
public function addPagewidget(Pagewidget $pagewidget)
|
||||
{
|
||||
$this->pagewidgets[] = $pagewidget;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove pagewidget.
|
||||
*/
|
||||
public function removePagewidget(Pagewidget $pagewidget)
|
||||
{
|
||||
$this->pagewidgets->removeElement($pagewidget);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get pagewidgets.
|
||||
*
|
||||
* @return \Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
public function getPagewidgets()
|
||||
{
|
||||
return $this->pagewidgets;
|
||||
}
|
||||
|
||||
public function isAutoajust(): ?bool
|
||||
{
|
||||
return $this->autoajust;
|
||||
}
|
||||
|
||||
public function setAutoajust(bool $autoajust): self
|
||||
{
|
||||
$this->autoajust = $autoajust;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isBorder(): ?bool
|
||||
{
|
||||
return $this->border;
|
||||
}
|
||||
|
||||
public function setBorder(bool $border): self
|
||||
{
|
||||
$this->border = $border;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isOpened(): ?bool
|
||||
{
|
||||
return $this->opened;
|
||||
}
|
||||
|
||||
public function setOpened(bool $opened): self
|
||||
{
|
||||
$this->opened = $opened;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isViewheader(): ?bool
|
||||
{
|
||||
return $this->viewheader;
|
||||
}
|
||||
|
||||
public function setViewheader(bool $viewheader): self
|
||||
{
|
||||
$this->viewheader = $viewheader;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorheaderback(): ?string
|
||||
{
|
||||
return $this->colorheaderback;
|
||||
}
|
||||
|
||||
public function setColorheaderback(?string $colorheaderback): self
|
||||
{
|
||||
$this->colorheaderback = $colorheaderback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorheaderfont(): ?string
|
||||
{
|
||||
return $this->colorheaderfont;
|
||||
}
|
||||
|
||||
public function setColorheaderfont(?string $colorheaderfont): self
|
||||
{
|
||||
$this->colorheaderfont = $colorheaderfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorbodyback(): ?string
|
||||
{
|
||||
return $this->colorbodyback;
|
||||
}
|
||||
|
||||
public function setColorbodyback(?string $colorbodyback): self
|
||||
{
|
||||
$this->colorbodyback = $colorbodyback;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColorbodyfont(): ?string
|
||||
{
|
||||
return $this->colorbodyfont;
|
||||
}
|
||||
|
||||
public function setColorbodyfont(?string $colorbodyfont): self
|
||||
{
|
||||
$this->colorbodyfont = $colorbodyfont;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAccess(): array
|
||||
{
|
||||
return $this->access;
|
||||
}
|
||||
|
||||
public function setAccess(?array $access): self
|
||||
{
|
||||
$this->access = $access;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getParameter(): array
|
||||
{
|
||||
return $this->parameter;
|
||||
}
|
||||
|
||||
public function setParameter(?array $parameter): self
|
||||
{
|
||||
$this->parameter = $parameter;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getIcon(): ?Icon
|
||||
{
|
||||
return $this->icon;
|
||||
}
|
||||
|
||||
public function setIcon(?Icon $icon): self
|
||||
{
|
||||
$this->icon = $icon;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Collection<int, Pagewidget>
|
||||
*/
|
||||
public function getPagewidgets(): Collection
|
||||
{
|
||||
return $this->pagewidgets;
|
||||
}
|
||||
|
||||
public function addPagewidget(Pagewidget $pagewidget): self
|
||||
{
|
||||
if (!$this->pagewidgets->contains($pagewidget)) {
|
||||
$this->pagewidgets->add($pagewidget);
|
||||
$pagewidget->setWidget($this);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function removePagewidget(Pagewidget $pagewidget): self
|
||||
{
|
||||
if ($this->pagewidgets->removeElement($pagewidget)) {
|
||||
// set the owning side to null (unless already changed)
|
||||
if ($pagewidget->getWidget() === $this) {
|
||||
$pagewidget->setWidget(null);
|
||||
}
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user