original_string: public function wrap_html_finish() {
          global $OUTPUT;
  
          $data = new stdClass();
          $data->options = [
              [
                  'value' => 0,
                  'name' => ''
              ],
              [
                  'value' => \tool_dataprivacy\api::DATAREQUEST_ACTION_APPROVE,
                  'name' => get_string('approve', 'tool_dataprivacy')
              ],
              [
                  'value' => \tool_dataprivacy\api::DATAREQUEST_ACTION_REJECT,
                  'name' => get_string('deny', 'tool_dataprivacy')
              ]
          ];
  
          $perpageoptions = array_combine($this->perpageoptions, $this->perpageoptions);
          $perpageselect = new \single_select(new moodle_url(''), 'perpage',
                  $perpageoptions, get_user_preferences('tool_dataprivacy_request-perpage'), null, 'selectgroup');
          $perpageselect->label = get_string('perpage', 'moodle');
          $data->perpage = $OUTPUT->render($perpageselect);
  
          echo $OUTPUT->render_from_template('tool_dataprivacy/data_requests_bulk_actions', $data);
      }
code: public function wrap_html_finish() {
          global $OUTPUT;
  
          $data = new stdClass();
          $data->options = [
              [
                  'value' => 0,
                  'name' => ''
              ],
              [
                  'value' => \tool_dataprivacy\api::DATAREQUEST_ACTION_APPROVE,
                  'name' => get_string('approve', 'tool_dataprivacy')
              ],
              [
                  'value' => \tool_dataprivacy\api::DATAREQUEST_ACTION_REJECT,
                  'name' => get_string('deny', 'tool_dataprivacy')
              ]
          ];
  
          $perpageoptions = array_combine($this->perpageoptions, $this->perpageoptions);
          $perpageselect = new \single_select(new moodle_url(''), 'perpage',
                  $perpageoptions, get_user_preferences('tool_dataprivacy_request-perpage'), null, 'selectgroup');
          $perpageselect->label = get_string('perpage', 'moodle');
          $data->perpage = $OUTPUT->render($perpageselect);
  
          echo $OUTPUT->render_from_template('tool_dataprivacy/data_requests_bulk_actions', $data);
      }
code_tokens: public function wrap_html_finish ( ) { global $ OUTPUT ; $ data = new stdClass ( ) ; $ data -> options = [ [ 'value' => 0 , 'name' => '' ] , [ 'value' => \ tool_dataprivacy \ api :: DATAREQUEST_ACTION_APPROVE , 'name' => get_string ( 'approve' , 'tool_dataprivacy' ) ] , [ 'value' => \ tool_dataprivacy \ api :: DATAREQUEST_ACTION_REJECT , 'name' => get_string ( 'deny' , 'tool_dataprivacy' ) ] ] ; $ perpageoptions = array_combine ( $ this -> perpageoptions , $ this -> perpageoptions ) ; $ perpageselect = new \ single_select ( new moodle_url ( '' ) , 'perpage' , $ perpageoptions , get_user_preferences ( 'tool_dataprivacy_request-perpage' ) , null , 'selectgroup' ) ; $ perpageselect -> label = get_string ( 'perpage' , 'moodle' ) ; $ data -> perpage = $ OUTPUT -> render ( $ perpageselect ) ; echo $ OUTPUT -> render_from_template ( 'tool_dataprivacy/data_requests_bulk_actions' , $ data ) ; }
docstring: Override the table's wrap_html_finish method in order to render the bulk actions and
  records per page options.
docstring_tokens: Override the table s wrap_html_finish method in order to render the bulk actions and records per page options .