original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns done flag values allowed to be selected
  
  @return string
docstring_tokens: Returns done flag values allowed to be selected