original_string: public function get_action_icons(stdClass $instance) {
          global $OUTPUT;
  
          $icons = array();
          if ($this->use_standard_editing_ui()) {
              $linkparams = array('courseid' => $instance->courseid, 'id' => $instance->id, 'type' => $instance->enrol);
              $editlink = new moodle_url("/enrol/editinstance.php", $linkparams);
              $icons[] = $OUTPUT->action_icon($editlink, new pix_icon('t/edit', get_string('edit'), 'core',
                  array('class' => 'iconsmall')));
          }
          return $icons;
      }
code: public function get_action_icons(stdClass $instance) {
          global $OUTPUT;
  
          $icons = array();
          if ($this->use_standard_editing_ui()) {
              $linkparams = array('courseid' => $instance->courseid, 'id' => $instance->id, 'type' => $instance->enrol);
              $editlink = new moodle_url("/enrol/editinstance.php", $linkparams);
              $icons[] = $OUTPUT->action_icon($editlink, new pix_icon('t/edit', get_string('edit'), 'core',
                  array('class' => 'iconsmall')));
          }
          return $icons;
      }
code_tokens: public function get_action_icons ( stdClass $ instance ) { global $ OUTPUT ; $ icons = array ( ) ; if ( $ this -> use_standard_editing_ui ( ) ) { $ linkparams = array ( 'courseid' => $ instance -> courseid , 'id' => $ instance -> id , 'type' => $ instance -> enrol ) ; $ editlink = new moodle_url ( "/enrol/editinstance.php" , $ linkparams ) ; $ icons [ ] = $ OUTPUT -> action_icon ( $ editlink , new pix_icon ( 't/edit' , get_string ( 'edit' ) , 'core' , array ( 'class' => 'iconsmall' ) ) ) ; } return $ icons ; }
docstring: Returns edit icons for the page with list of instances
  @param stdClass $instance
  @return array
docstring_tokens: Returns edit icons for the page with list of instances