id = $id; return $this; } /** * Constructor */ public function __construct() { $this->bookmarks = new \Doctrine\Common\Collections\ArrayCollection(); $this->groups = new \Doctrine\Common\Collections\ArrayCollection(); $this->niveau01s = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set title * * @param string $title * * @return Item */ public function setTitle($title) { $this->title = $title; return $this; } /** * Get title * * @return string */ public function getTitle() { return $this->title; } /** * Set subtitle * * @param string $subtitle * * @return Item */ public function setSubtitle($subtitle) { $this->subtitle = $subtitle; return $this; } /** * Get subtitle * * @return string */ public function getSubtitle() { return $this->subtitle; } /** * Set slug * * @param string $slug * * @return Item */ public function setSlug($slug) { $this->slug = $slug; return $this; } /** * Get slug * * @return string */ public function getSlug() { return $this->slug; } /** * Set url * * @param string $url * * @return Item */ public function setUrl($url) { $this->url = $url; return $this; } /** * Get url * * @return string */ public function getUrl() { return $this->url; } /** * Set target * * @param string $target * * @return Item */ public function setTarget($target) { $this->target = $target; return $this; } /** * Get target * * @return string */ public function getTarget() { return $this->target; } /** * Set content * * @param string $content * * @return Item */ public function setContent($content) { $this->content = $content; return $this; } /** * Get content * * @return string */ public function getContent() { return $this->content; } /** * Set rowOrder * * @param integer $rowOrder * * @return Item */ public function setRowOrder($rowOrder) { $this->rowOrder = $rowOrder; return $this; } /** * Get rowOrder * * @return integer */ public function getRowOrder() { return $this->rowOrder; } /** * Set protected * * @param boolean $protected * * @return Item */ public function setProtected($protected) { $this->protected = $protected; return $this; } /** * Get protected * * @return boolean */ public function getProtected() { return $this->protected; } /** * Set color * * @param string $color * * @return Item */ public function setColor($color) { $this->color = $color; return $this; } /** * Get color * * @return string */ public function getColor() { return $this->color; } /** * Set roles * * @param array $roles * * @return Item */ public function setRoles($roles) { $this->roles = $roles; return $this; } /** * Get roles * * @return array */ public function getRoles() { return $this->roles; } /** * Set icon * * @param \Cadoles\PortalBundle\Entity\Icon $icon * * @return Item */ public function setIcon(\Cadoles\PortalBundle\Entity\Icon $icon = null) { $this->icon = $icon; return $this; } /** * Get icon * * @return \Cadoles\PortalBundle\Entity\Icon */ public function getIcon() { return $this->icon; } /** * Add bookmark * * @param \Cadoles\PortalBundle\Entity\Bookmark $bookmark * * @return Item */ public function addBookmark(\Cadoles\PortalBundle\Entity\Bookmark $bookmark) { $this->bookmarks[] = $bookmark; return $this; } /** * Remove bookmark * * @param \Cadoles\PortalBundle\Entity\Bookmark $bookmark */ public function removeBookmark(\Cadoles\PortalBundle\Entity\Bookmark $bookmark) { $this->bookmarks->removeElement($bookmark); } /** * Get bookmarks * * @return \Doctrine\Common\Collections\Collection */ public function getBookmarks() { return $this->bookmarks; } /** * Set itemcategory * * @param \Cadoles\PortalBundle\Entity\Itemcategory $itemcategory * * @return Item */ public function setItemcategory(\Cadoles\PortalBundle\Entity\Itemcategory $itemcategory) { $this->itemcategory = $itemcategory; return $this; } /** * Get itemcategory * * @return \Cadoles\PortalBundle\Entity\Itemcategory */ public function getItemcategory() { return $this->itemcategory; } /** * Add group * * @param \Cadoles\CoreBundle\Entity\Group $group * * @return Item */ public function addGroup(\Cadoles\CoreBundle\Entity\Group $group) { $this->groups[] = $group; return $this; } /** * Remove group * * @param \Cadoles\CoreBundle\Entity\Group $group */ public function removeGroup(\Cadoles\CoreBundle\Entity\Group $group) { $this->groups->removeElement($group); } /** * Get groups * * @return \Doctrine\Common\Collections\Collection */ public function getGroups() { return $this->groups; } /** * Add niveau01 * * @param \Cadoles\CoreBundle\Entity\Niveau01 $niveau01 * * @return Item */ public function addNiveau01(\Cadoles\CoreBundle\Entity\Niveau01 $niveau01) { $this->niveau01s[] = $niveau01; return $this; } /** * Remove niveau01 * * @param \Cadoles\CoreBundle\Entity\Niveau01 $niveau01 */ public function removeNiveau01(\Cadoles\CoreBundle\Entity\Niveau01 $niveau01) { $this->niveau01s->removeElement($niveau01); } /** * Get niveau01s * * @return \Doctrine\Common\Collections\Collection */ public function getNiveau01s() { return $this->niveau01s; } /** * Set essential * * @param boolean $essential * * @return Item */ public function setEssential($essential) { $this->essential = $essential; return $this; } /** * Get essential * * @return boolean */ public function getEssential() { return $this->essential; } /** * Add alert * * @param \Cadoles\PortalBundle\Entity\Alert $alert * * @return Item */ public function addAlert(\Cadoles\PortalBundle\Entity\Alert $alert) { $this->alerts[] = $alert; return $this; } /** * Remove alert * * @param \Cadoles\PortalBundle\Entity\Alert $alert */ public function removeAlert(\Cadoles\PortalBundle\Entity\Alert $alert) { $this->alerts->removeElement($alert); } /** * Get alerts * * @return \Doctrine\Common\Collections\Collection */ public function getAlerts() { return $this->alerts; } /** * Set ssoitem * * @param string $ssoitem * * @return Item */ public function setSsoitem($ssoitem) { $this->ssoitem = $ssoitem; return $this; } /** * Get ssoitem * * @return string */ public function getSsoitem() { return $this->ssoitem; } }