PKPSubmissionFileDAO::deleteAllRevisionsByAssocId PHP Method

deleteAllRevisionsByAssocId() public method

Retrieve all files associated to a certain object.
public deleteAllRevisionsByAssocId ( $assocType, $assocId, $fileStage = null ) : integer
$assocType int ASSOC_TYPE_...
$assocId int ID corresponding to specified assocType.
$fileStage int (optional) further restricts the selection to a given file stage.
return integer the number of deleted file revisions.
    function deleteAllRevisionsByAssocId($assocType, $assocId, $fileStage = null)
    {
        return $this->_deleteInternally(null, $fileStage, null, null, $assocType, $assocId);
    }