Skip to content

Commit

Permalink
Initial Commit - ReviewAssignments Export
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed May 20, 2018
1 parent 20dfa88 commit be049fd
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php

/**
* @file plugins/importexport/native/filter/AuthorNativeXmlFilter.inc.php
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2000-2018 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class AuthorNativeXmlFilter
* @ingroup plugins_importexport_native
*
* @brief Class that converts a Author to a Native XML document.
*/

import('lib.pkp.plugins.importexport.native.filter.PKPAuthorNativeXmlFilter');

class AuthorNativeXmlFilter extends PKPAuthorNativeXmlFilter {
/**
* Constructor
* @param $filterGroup FilterGroup
*/
function __construct($filterGroup) {
parent::__construct($filterGroup);
}


//
// Implement template methods from PersistableFilter
//
/**
* @copydoc PersistableFilter::getClassName()
*/
function getClassName() {
return 'plugins.importexport.native.filter.AuthorNativeXmlFilter';
}
}

?>
7 changes: 7 additions & 0 deletions plugins/importexport/native/filter/filterConfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
description="plugins.importexport.native.description"
inputType="xml::schema(plugins/importexport/native/native.xsd)"
outputType="class::classes.article.ArticleGalley[]" />
<!-- ReviewAssignments native XML export -->
<filterGroup
symbolic="ReviewAssignments=>native-xml"
displayName="plugins.importexport.native.displayName"
description="plugins.importexport.native.description"
inputType="class::lib.pkp.classes.submission.reviewAssignment.ReviewAssignment[])"
outputType="xml::schema(plugins/importexport/native/native.xsd" />
</filterGroups>
<filters>
<!-- Native XML article output -->
Expand Down

0 comments on commit be049fd

Please sign in to comment.