original_string: public function col_registration($tool) {
          global $OUTPUT;
  
          $url = helper::get_proxy_url($tool);
  
          $toolurllabel = get_string("registrationurl", "enrol_lti");
          $toolurl = $url;
  
          $data = [
                  "rows" => [
                      [ "label" => $toolurllabel, "text" => $toolurl, "id" => "toolurl" , "hidelabel" => true],
                  ]
              ];
  
          $return = $OUTPUT->render_from_template("enrol_lti/copy_grid", $data);
          return $return;
      }
code: public function col_registration($tool) {
          global $OUTPUT;
  
          $url = helper::get_proxy_url($tool);
  
          $toolurllabel = get_string("registrationurl", "enrol_lti");
          $toolurl = $url;
  
          $data = [
                  "rows" => [
                      [ "label" => $toolurllabel, "text" => $toolurl, "id" => "toolurl" , "hidelabel" => true],
                  ]
              ];
  
          $return = $OUTPUT->render_from_template("enrol_lti/copy_grid", $data);
          return $return;
      }
code_tokens: public function col_registration ( $ tool ) { global $ OUTPUT ; $ url = helper :: get_proxy_url ( $ tool ) ; $ toolurllabel = get_string ( "registrationurl" , "enrol_lti" ) ; $ toolurl = $ url ; $ data = [ "rows" => [ [ "label" => $ toolurllabel , "text" => $ toolurl , "id" => "toolurl" , "hidelabel" => true ] , ] ] ; $ return = $ OUTPUT -> render_from_template ( "enrol_lti/copy_grid" , $ data ) ; return $ return ; }
docstring: Generate the Registration column.
  
  @param \stdClass $tool instance data.
  @return string
docstring_tokens: Generate the Registration column .