Hi,
I’m trying to select from submissions those which are published and have certain keyword,
I see that there’s a status code (1,2,3, etc.) for submissions in the db.
What is the number for status “Published”?
Thanks in advance for your reply.
Regards,
Juan
Hi @jascanio ,
Those are defined in the PKPSubmission PHP class:
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class PKPSubmission
* @ingroup submission
* @see PKPSubmissionDAO
*
* @brief The Submission class implements the abstract data model of a
* scholarly submission.
*/
// Submission status constants
define('STATUS_QUEUED', 1);
define('STATUS_PUBLISHED', 3);
define('STATUS_DECLINED', 4);
define('STATUS_SCHEDULED', 5);
// License settings (internal use only)
define ('PERMISSIONS_FIELD_LICENSE_URL', 1);
define ('PERMISSIONS_FIELD_COPYRIGHT_HOLDER', 2);
define ('PERMISSIONS_FIELD_COPYRIGHT_YEAR', 3);
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher ,
Thanks for your help!
Regards,
Juan