public static function getSelectableDoneFlagValues()
    {
        $possibleValues = array(ArchiveWriter::DONE_OK, ArchiveWriter::DONE_OK_TEMPORARY);

        if (!Rules::isRequestAuthorizedToArchive()) {
            //If request is not authorized to archive then fetch also invalidated archives
            $possibleValues[] = ArchiveWriter::DONE_INVALIDATED;
        }

        return $possibleValues;
    }
public static function getSelectableDoneFlagValues()
    {
        $possibleValues = array(ArchiveWriter::DONE_OK, ArchiveWriter::DONE_OK_TEMPORARY);

        if (!Rules::isRequestAuthorizedToArchive()) {
            //If request is not authorized to archive then fetch also invalidated archives
            $possibleValues[] = ArchiveWriter::DONE_INVALIDATED;
        }

        return $possibleValues;
    }
public static function getSelectableDoneFlagValues ( ) { $ possibleValues = array ( ArchiveWriter :: DONE_OK , ArchiveWriter :: DONE_OK_TEMPORARY ) ; if ( ! Rules :: isRequestAuthorizedToArchive ( ) ) { //If request is not authorized to archive then fetch also invalidated archives $ possibleValues [ ] = ArchiveWriter :: DONE_INVALIDATED ; } return $ possibleValues ; }
Returns done flag values allowed to be selected

@return string
Returns done flag values allowed to be selected