| Server IP : 127.0.1.1 / Your IP : 216.73.216.83 Web Server : Apache/2.4.58 (Ubuntu) System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : root ( 0) 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/plugins/ |
Upload File : |
<?php
/**
* @file classes/plugins/PKPPubIdPluginDAO.inc.php
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class PKPPubIdPluginDAO
* @ingroup plugins
*
* @brief Interface that DAOs would need to implement in order for pub ID support to be added.
*/
interface PKPPubIdPluginDAO {
/**
* Checks if public identifier exists (other than for the specified
* submission ID, which is treated as an exception).
*
* @param $pubIdType string One of the NLM pub-id-type values or
* 'other::something' if not part of the official NLM list
* (see <http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html>).
* @param $pubId string
* @param $excludePubObjectId int ID of the pub object to be excluded from the search.
* @param $contextId int
* @return boolean
*/
function pubIdExists($pubIdType, $pubId, $excludePubObjectId, $contextId);
/**
* Change the public ID of a submission.
* @param $pubObjectId int ID of the pub object
* @param $pubIdType string One of the NLM pub-id-type values or
* 'other::something' if not part of the official NLM list
* (see <http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html>).
* @param $pubId string
*/
function changePubId($pubObjectId, $pubIdType, $pubId);
/**
* Delete the public ID of a submission.
* @param $pubObjectId int ID of the pub object
* @param $pubIdType string One of the NLM pub-id-type values or
* 'other::something' if not part of the official NLM list
* (see <http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html>).
*/
function deletePubId($pubObjectId, $pubIdType);
/**
* Delete the public IDs of all submissions in this context.
* @param $contextId int
* @param $pubIdType string One of the NLM pub-id-type values or
* 'other::something' if not part of the official NLM list
* (see <http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html>).
*/
function deleteAllPubIds($contextId, $pubIdType);
}