getData('menuId'); } /** * Set menuId for this navigation menu item assignment. * @param $menuId int */ public function setMenuId($menuId) { $this->setData('menuId', $menuId); } /** * Get menuItemId for this navigation menu item assignment. * @return int */ public function getMenuItemId() { return $this->getData('menuItemId'); } /** * Set menuItemId for this navigation menu item assignment. * @param $menuItemId int */ public function setMenuItemId($menuItemId) { $this->setData('menuItemId', $menuItemId); } /** * Get parent menu item ID * @return int */ public function getParentId() { return $this->getData('parentId'); } /** * Set parent menu item ID * @param $parentId int */ public function setParentId($parentId) { $this->setData('parentId', $parentId); } /** * Get seq for this navigation menu item. * @return int */ public function getSequence() { return $this->getData('seq'); } /** * Set seq for this navigation menu item. * @param $seq int */ public function setSequence($seq) { $this->setData('seq', $seq); } /** * Get the NavigationMenuItem this assignment represents. * * This object is only available in some cases, when the NavigationMenuItem * has been stored for re-use. * * @return int */ public function getMenuItem() { return $this->navigationMenuItem; } /** * Set the NavigationMenuItem this assignment represents * @param $seq int */ public function setMenuItem($obj) { $this->navigationMenuItem = is_a($obj, 'NavigationMenuItem') ? $obj : null; } /** * Get the title of the object. * @return string */ function getLocalizedTitle() { return $this->getLocalizedData('title'); } /** * Get the title of the object. * @param $locale string * @return string */ function getTitle($locale) { return $this->getData('title', $locale); } /** * Set the title of the object. * @param $title string * @param $locale string */ function setTitle($title, $locale) { $this->setData('title', $title, $locale); } } ?>