original_string: public static function get_request_status_string($status) {
          $statuses = self::get_request_statuses();
          if (!isset($statuses[$status])) {
              throw new moodle_exception('errorinvalidrequeststatus', 'tool_dataprivacy');
          }
  
          return $statuses[$status];
      }
code: public static function get_request_status_string($status) {
          $statuses = self::get_request_statuses();
          if (!isset($statuses[$status])) {
              throw new moodle_exception('errorinvalidrequeststatus', 'tool_dataprivacy');
          }
  
          return $statuses[$status];
      }
code_tokens: public static function get_request_status_string ( $ status ) { $ statuses = self :: get_request_statuses ( ) ; if ( ! isset ( $ statuses [ $ status ] ) ) { throw new moodle_exception ( 'errorinvalidrequeststatus' , 'tool_dataprivacy' ) ; } return $ statuses [ $ status ] ; }
docstring: Retrieves the human-readable value of a data request status.
  
  @param int $status The request status.
  @return string
  @throws moodle_exception
docstring_tokens: Retrieves the human - readable value of a data request status .