original_string: public function admin_remove_service_function_confirmation($function, $service) {
          $optionsyes = array('id' => $service->id, 'action' => 'delete',
              'confirm' => 1, 'sesskey' => sesskey(), 'fid' => $function->id);
          $optionsno = array('id' => $service->id);
          $formcontinue = new single_button(new moodle_url('service_functions.php',
                                  $optionsyes), get_string('remove'));
          $formcancel = new single_button(new moodle_url('service_functions.php',
                                  $optionsno), get_string('cancel'), 'get');
          return $this->output->confirm(get_string('removefunctionconfirm', 'webservice',
                          (object) array('service' => $service->name, 'function' => $function->name)),
                  $formcontinue, $formcancel);
      }
code: public function admin_remove_service_function_confirmation($function, $service) {
          $optionsyes = array('id' => $service->id, 'action' => 'delete',
              'confirm' => 1, 'sesskey' => sesskey(), 'fid' => $function->id);
          $optionsno = array('id' => $service->id);
          $formcontinue = new single_button(new moodle_url('service_functions.php',
                                  $optionsyes), get_string('remove'));
          $formcancel = new single_button(new moodle_url('service_functions.php',
                                  $optionsno), get_string('cancel'), 'get');
          return $this->output->confirm(get_string('removefunctionconfirm', 'webservice',
                          (object) array('service' => $service->name, 'function' => $function->name)),
                  $formcontinue, $formcancel);
      }
code_tokens: public function admin_remove_service_function_confirmation ( $ function , $ service ) { $ optionsyes = array ( 'id' => $ service -> id , 'action' => 'delete' , 'confirm' => 1 , 'sesskey' => sesskey ( ) , 'fid' => $ function -> id ) ; $ optionsno = array ( 'id' => $ service -> id ) ; $ formcontinue = new single_button ( new moodle_url ( 'service_functions.php' , $ optionsyes ) , get_string ( 'remove' ) ) ; $ formcancel = new single_button ( new moodle_url ( 'service_functions.php' , $ optionsno ) , get_string ( 'cancel' ) , 'get' ) ; return $ this -> output -> confirm ( get_string ( 'removefunctionconfirm' , 'webservice' , ( object ) array ( 'service' => $ service -> name , 'function' => $ function -> name ) ) , $ formcontinue , $ formcancel ) ; }
docstring: Display a confirmation page to remove a function from a service
  
  @param stdClass $function It needs function id + function name properties.
  @param stdClass $service It needs service id + service name properties.
  @return string html
docstring_tokens: Display a confirmation page to remove a function from a service