original_string: public static function get_shortened_request_type_string($requesttype) {
          $types = self::get_request_types_short();
          if (!isset($types[$requesttype])) {
              throw new moodle_exception('errorinvalidrequesttype', 'tool_dataprivacy');
          }
          return $types[$requesttype];
      }
code: public static function get_shortened_request_type_string($requesttype) {
          $types = self::get_request_types_short();
          if (!isset($types[$requesttype])) {
              throw new moodle_exception('errorinvalidrequesttype', 'tool_dataprivacy');
          }
          return $types[$requesttype];
      }
code_tokens: public static function get_shortened_request_type_string ( $ requesttype ) { $ types = self :: get_request_types_short ( ) ; if ( ! isset ( $ types [ $ requesttype ] ) ) { throw new moodle_exception ( 'errorinvalidrequesttype' , 'tool_dataprivacy' ) ; } return $ types [ $ requesttype ] ; }
docstring: Retrieves the human-readable shortened text value of a data request type.
  
  @param int $requesttype The request type.
  @return string
  @throws coding_exception
  @throws moodle_exception
docstring_tokens: Retrieves the human - readable shortened text value of a data request type .