403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/Topogeo/ojs/plugins/generic/externalFeed/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/Topogeo/ojs/plugins/generic/externalFeed/ExternalFeed.inc.php
<?php

/**
 * @file ExternalFeed.inc.php
 *
 * Copyright (c) 2003-2012 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @class ExternalFeed
 * @ingroup plugins_generic_externalFeed
 *
 * @brief Basic class describing an external feed.
 */

// $Id$

define('EXTERNAL_FEED_DISPLAY_BLOCK_NONE',		0);
define('EXTERNAL_FEED_DISPLAY_BLOCK_HOMEPAGE',	1);
define('EXTERNAL_FEED_DISPLAY_BLOCK_ALL',		2);


class ExternalFeed extends DataObject {

	function ExternalFeed() {
		parent::DataObject();
	}

	//
	// Get/set methods
	//

	/**
	 * Get the ID of the external feed.
	 * @return int
	 */
	function getId() {
		return $this->getData('feedId');
	}

	/**
	 * Set the ID of the external feed.
	 * @param $feedId int
	 */
	function setId($feedId) {
		return $this->setData('feedId', $feedId);
	}

	/**
	 * Get the journal ID of the external feed.
	 * @return int
	 */
	function getJournalId() {
		return $this->getData('journalId');
	}

	/**
	 * Set the journal ID of the external feed.
	 * @param $journalId int
	 */
	function setJournalId($journalId) {
		return $this->setData('journalId', $journalId);
	}

	/**
	 * Get feed URL.
	 * @return int 
	 */
	function getUrl() {
		return $this->getData('url');
	}

	/**
	 * Set feed URL.
	 * @param $url string
	 */
	function setUrl($url) {
		return $this->setData('url', $url);
	}

	/**
	 * Get feed display sequence.
	 * @return float
	 */
	function getSeq() {
		return $this->getData('seq');
	}

	/**
	 * Set feed display sequence
	 * @param $sequence float
	 */
	function setSeq($seq) {
		return $this->setData('seq', $seq);
	}

	/**
	 * Get homepage display of the external feed.
	 * @return int
	 */
	function getDisplayHomepage() {
		return $this->getData('displayHomepage');
	}

	/**
	 * Set the homepage display of the external feed.
	 * @param $displayHomepage int
	 */
	function setDisplayHomepage($displayHomepage) {
		return $this->setData('displayHomepage', $displayHomepage);
	}

	/**
	 * Get block display of the external feed.
	 * @return int
	 */
	function getDisplayBlock() {
		return $this->getData('displayBlock');
	}

	/**
	 * Set the block display of the external feed.
	 * @param $displayBlock int
	 */
	function setDisplayBlock($displayBlock) {
		return $this->setData('displayBlock', $displayBlock);
	}

	/**
	 * Get limit items of the external feed.
	 * @return int
	 */
	function getLimitItems() {
		return $this->getData('limitItems');
	}

	/**
	 * Set limit items of the external feed.
	 * @param $limitItems int
	 */
	function setLimitItems($limitItems) {
		return $this->setData('limitItems', $limitItems);
	}

	/**
	 * Get recent items of the external feed.
	 * @return int
	 */
	function getRecentItems() {
		return $this->getData('recentItems');
	}

	/**
	 * Set recent items of the external feed.
	 * @param $recentItems int
	 */
	function setRecentItems($recentItems) {
		return $this->setData('recentItems', $recentItems);
	}


	/**
	 * Get the localized title
	 * @return string
	 */
	function getLocalizedTitle() {
		return $this->getLocalizedData('title');
	}

	/**
	 * Get feed title
	 * @param $locale string
	 * @return string
	 */
	function getTitle($locale) {
		return $this->getData('title', $locale);
	}

	/**
	 * Set feed title
	 * @param $title string
	 * @param $locale string
	 */
	function setTitle($title, $locale) {
		return $this->setData('title', $title, $locale);
	}
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit