original_string: public function action_link($url, $text, component_action $action = null, array $attributes = null, $icon = null) {
          if (!($url instanceof moodle_url)) {
              $url = new moodle_url($url);
          }
          $link = new action_link($url, $text, $action, $attributes, $icon);
  
          return $this->render($link);
      }
code: public function action_link($url, $text, component_action $action = null, array $attributes = null, $icon = null) {
          if (!($url instanceof moodle_url)) {
              $url = new moodle_url($url);
          }
          $link = new action_link($url, $text, $action, $attributes, $icon);
  
          return $this->render($link);
      }
code_tokens: public function action_link ( $ url , $ text , component_action $ action = null , array $ attributes = null , $ icon = null ) { if ( ! ( $ url instanceof moodle_url ) ) { $ url = new moodle_url ( $ url ) ; } $ link = new action_link ( $ url , $ text , $ action , $ attributes , $ icon ) ; return $ this -> render ( $ link ) ; }
docstring: Renders a special html link with attached action
  
  Theme developers: DO NOT OVERRIDE! Please override function
  {@link core_renderer::render_action_link()} instead.
  
  @param string|moodle_url $url
  @param string $text HTML fragment
  @param component_action $action
  @param array $attributes associative array of html link attributes + disabled
  @param pix_icon optional pix icon to render with the link
  @return string HTML fragment
docstring_tokens: Renders a special html link with attached action