| Server IP : 127.0.1.1 / Your IP : 216.73.216.83 Web Server : Apache/2.4.58 (Ubuntu) System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/public_html/lib/pkp/classes/navigationMenu/ |
Upload File : |
<?php
/**
* @file classes/navigationMenu/NavigationMenu.inc.php
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class NavigationMenu
* @ingroup navigationMenu
* @see NavigationMenuDAO
*
* @brief Class describing a NavigationMenu.
*/
class NavigationMenu extends DataObject {
/** @var $menuTree array Hierarchical array of NavigationMenuItems */
var $menuTree = null;
//
// Get/set methods
//
/**
* Get contextId of this NavigationMenu
* @return int
*/
function getContextId() {
return $this->getData('contextId');
}
/**
* Set contextId of this NavigationMenu
* @param $contextId int
*/
function setContextId($contextId) {
$this->setData('contextId', $contextId);
}
/**
* Get title of this NavigationMenu. Not localized.
* @return string
*/
function getTitle() {
return $this->getData('title');
}
/**
* Set title of this NavigationMenu. Not localized.
* @param $title string
*/
function setTitle($title) {
$this->setData('title', $title);
}
/**
* Get areaName of this NavigationMenu. Not localized.
* @return string
*/
function getAreaName() {
return $this->getData('areaName');
}
/**
* Set navigationArea name of this NavigationMenu. Not localized.
* @param $areaName string
*/
function setAreaName($areaName) {
$this->setData('areaName', $areaName);
}
}