[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
lib
/
pkp
/
classes
/
process
/
[
Home
]
File: Process.inc.php
<?php /** * @defgroup process */ /** * @file classes/process/Process.inc.php * * Copyright (c) 2013-2019 Simon Fraser University * Copyright (c) 2000-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @class Process * @ingroup process * @see ProcessDAO * * @brief A class representing a running process. */ // Process types define('PROCESS_TYPE_CITATION_CHECKING', 0x01); import('lib.pkp.classes.core.DataObject'); class Process extends DataObject { /** * Constructor */ function Process() { parent::DataObject(); } // // Setters and Getters // /** * Set the process type * @param $processType integer */ function setProcessType($processType) { $this->setData('processType', (integer)$processType); } /** * Get the process type * @return integer */ function getProcessType() { return $this->getData('processType'); } /** * Set the starting time of the process * @param $timeStarted integer unix timestamp */ function setTimeStarted($timeStarted) { $this->setData('timeStarted', (integer)$timeStarted); } /** * Get the starting time of the process * @return integer unix timestamp */ function &getTimeStarted() { return $this->getData('timeStarted'); } /** * Set the one-time-key usage flag * @param $obliterated boolean */ function setObliterated($obliterated) { $this->setData('obliterated', (boolean)$obliterated); } /** * Get the one-time-key usage flag * @return boolean */ function getObliterated() { return $this->getData('obliterated'); } } ?>