Method | Description | |
---|---|---|
__construct ( $filterGroup ) | Constructor | |
getClassName ( ) | ||
getPluralElementName ( ) : string | Return the plural element name | |
getSingularElementName ( ) : string | Get the singular element name | |
handleChildElement ( $node, $stageId, $fileId, &$submissionFiles ) | Handle a child node of the submission file element; add new files, if any, to $submissionFiles | |
handleElement ( $node ) : array | Handle a submission file element | |
handleRevisionChildElement ( $node, $submission, $submissionFile ) : string | Handle a child of the revision element | |
handleRevisionElement ( $node, $stageId, $fileId ) | Handle a revision element | |
instantiateSubmissionFile ( $tagName ) : SubmissionFile | Instantiate a submission file. | |
parseIdentifier ( $element, $submissionFile ) | Parse an identifier node and set up the representation object accordingly |
public __construct ( $filterGroup ) | ||
$filterGroup | FilterGroup |
public getPluralElementName ( ) : string | ||
return | string |
public getSingularElementName ( ) : string | ||
return | string |
public handleChildElement ( $node, $stageId, $fileId, &$submissionFiles ) | ||
$node | DOMElement | |
$stageId | int SUBMISSION_FILE_... | |
$fileId | int File id | |
$submissionFiles | array |
public handleElement ( $node ) : array | ||
$node | DOMElement | |
return | array | Array of SubmissionFile objects |
public handleRevisionChildElement ( $node, $submission, $submissionFile ) : string | ||
$node | DOMElement | |
$submission | Submission | |
$submissionFile | SubmissionFile | |
return | string | Filename for new file |
public handleRevisionElement ( $node, $stageId, $fileId ) | ||
$node | DOMElement | |
$stageId | int SUBMISSION_FILE_... | |
$fileId | int File id |
public instantiateSubmissionFile ( $tagName ) : SubmissionFile | ||
$tagName | string | |
return | SubmissionFile |
public parseIdentifier ( $element, $submissionFile ) | ||
$element | DOMElement | |
$submissionFile | SubmissionFile |