[ 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
/
captcha
/
[
Home
]
File: Captcha.inc.php
<?php /** * @defgroup captcha */ /** * @file classes/captcha/Captcha.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 Captcha * @ingroup captcha * @see CaptchaDAO, CaptchaManager * * @brief Class for Captcha verifiers. * */ class Captcha extends DataObject { /** * Constructor. */ function Captcha() { parent::DataObject(); } /** * get captcha id * @return int */ function getCaptchaId() { if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.'); return $this->getId(); } /** * set captcha id * @param $captchaId int */ function setCaptchaId($captchaId) { if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.'); return $this->setId($captchaId); } /** * get session id * @return int */ function getSessionId() { return $this->getData('sessionId'); } /** * set session id * @param $sessionId int */ function setSessionId($sessionId) { return $this->setData('sessionId', $sessionId); } /** * get value * @return string */ function getValue() { return $this->getData('value'); } /** * set value * @param $value string */ function setValue($value) { return $this->setData('value', $value); } /** * get poster name * @return string */ function getPosterName() { return $this->getData('posterName'); } function setDateCreated($dateCreated) { return $this->setData('dateCreated', $dateCreated); } /** * get date created * @return date */ function getDateCreated() { return $this->getData('dateCreated'); } } ?>