setData('path', $path); } /** * Get path for this navigation menu item. * @return string */ function getPath() { return $this->getData('path'); } /** * Set url for this navigation menu item. * @param $url string */ function setUrl($url) { $this->setData('url', $url); } /** * Get url for this navigation menu item. * @return string */ function getUrl() { return $this->getData('url'); } /** * Set type for this navigation menu item. * @param $type string */ function setType($type) { $this->setData('type', $type); } /** * Get type for this navigation menu item. * @return string */ function getType() { return $this->getData('type'); } /** * Get contextId for this navigation menu item. * @return int */ function getContextId() { return $this->getData('contextId'); } /** * Set context_id for this navigation menu item. * @param $contextId int */ function setContextId($contextId) { $this->setData('contextId', $contextId); } /** * Get the title of the navigation Menu. * @return string */ function getLocalizedTitle() { return $this->getLocalizedData('title'); } /** * Get the title of the navigation menu item. * @param $locale string * @return string */ function getTitle($locale) { return $this->getData('title', $locale); } /** * Set the title of the navigation menu item. * @param $title string * @param $locale string */ function setTitle($title, $locale) { $this->setData('title', $title, $locale); } /** * Get the content of the navigation Menu. * @return string */ function getLocalizedContent() { return $this->getLocalizedData('content'); } /** * Get the content of the navigation menu item. * @param $locale string * @return string */ function getContent($locale) { return $this->getData('content', $locale); } /** * Set the content of the navigation menu item. * @param $content string * @param $locale string */ function setContent($content, $locale) { $this->setData('content', $content, $locale); } /** * Get seq for this navigation menu item. * @return int */ function getSequence() { return $this->getData('seq'); } /** * Set seq for this navigation menu item. * @param $seq int */ function setSequence($seq) { $this->setData('seq', $seq); } /** * Get $isDisplayed for this navigation menu item. * @return boolean */ function getIsDisplayed() { return $this->_isDisplayed; } /** * Set $isDisplayed for this navigation menu item. * @param $isDisplayed boolean */ function setIsDisplayed($isDisplayed) { $this->_isDisplayed = $isDisplayed; } /** * Get $isChildVisible for this navigation menu item. * @return boolean true if at least one NMI child is visible. It is defined at the Service functionality level */ function getIsChildVisible() { return $this->_isChildVisible; } /** * Set $isChildVisible for this navigation menu item. * @param $isChildVisible boolean true if at least one NMI child is visible. It is defined at the Service functionality level */ function setIsChildVisible($isChildVisible) { $this->_isChildVisible = $isChildVisible; } } ?>