id; } /** * Set roworder * * @param integer $roworder * * @return Sidebar */ public function setRoworder($roworder) { $this->roworder = $roworder; return $this; } /** * Get roworder * * @return integer */ public function getRoworder() { return $this->roworder; } /** * Set label * * @param string $label * * @return Sidebar */ public function setLabel($label) { $this->label = $label; return $this; } /** * Get label * * @return string */ public function getLabel() { return $this->label; } /** * Set path * * @param string $path * * @return Sidebar */ public function setPath($path) { $this->path = $path; return $this; } /** * Get path * * @return string */ public function getPath() { return $this->path; } /** * Set fonticon * * @param string $fonticon * * @return Sidebar */ public function setFonticon($fonticon) { $this->fonticon = $fonticon; return $this; } /** * Get fonticon * * @return string */ public function getFonticon() { return $this->fonticon; } /** * Set permission * * @param array $permission * * @return Sidebar */ public function setPermission($permission) { $this->permission = $permission; return $this; } /** * Get permission * * @return array */ public function getPermission() { return $this->permission; } /** * Set appactivate * * @param string $appactivate * * @return Sidebar */ public function setAppactivate($appactivate) { $this->appactivate = $appactivate; return $this; } /** * Get appactivate * * @return string */ public function getAppactivate() { return $this->appactivate; } /** * Set parent * * @param \Cadoles\CoreBundle\Entity\Sidebar $parent * * @return Sidebar */ public function setParent(\Cadoles\CoreBundle\Entity\Sidebar $parent = null) { $this->parent = $parent; return $this; } /** * Get parent * * @return \Cadoles\CoreBundle\Entity\Sidebar */ public function getParent() { return $this->parent; } /** * Constructor */ public function __construct() { $this->childs = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Add child * * @param \Cadoles\CoreBundle\Entity\Sidebar $child * * @return Sidebar */ public function addChild(\Cadoles\CoreBundle\Entity\Sidebar $child) { $this->childs[] = $child; return $this; } /** * Remove child * * @param \Cadoles\CoreBundle\Entity\Sidebar $child */ public function removeChild(\Cadoles\CoreBundle\Entity\Sidebar $child) { $this->childs->removeElement($child); } /** * Get childs * * @return \Doctrine\Common\Collections\Collection */ public function getChilds() { return $this->childs; } }