original_string: public function col_actions($row) : string {
          global $OUTPUT;
  
          $actions = [];
  
          $url = new \moodle_url('/admin/tasklogs.php', ['logid' => $row->id]);
  
          // Quick view.
          $actions[] = $OUTPUT->action_icon(
              $url,
              new \pix_icon('e/search', get_string('view')),
              new \popup_action('click', $url)
          );
  
          // Download.
          $actions[] = $OUTPUT->action_icon(
              new \moodle_url($url, ['download' => true]),
              new \pix_icon('t/download', get_string('download'))
          );
  
          return implode('&nbsp;', $actions);
      }
code: public function col_actions($row) : string {
          global $OUTPUT;
  
          $actions = [];
  
          $url = new \moodle_url('/admin/tasklogs.php', ['logid' => $row->id]);
  
          // Quick view.
          $actions[] = $OUTPUT->action_icon(
              $url,
              new \pix_icon('e/search', get_string('view')),
              new \popup_action('click', $url)
          );
  
          // Download.
          $actions[] = $OUTPUT->action_icon(
              new \moodle_url($url, ['download' => true]),
              new \pix_icon('t/download', get_string('download'))
          );
  
          return implode('&nbsp;', $actions);
      }
code_tokens: public function col_actions ( $ row ) : string { global $ OUTPUT ; $ actions = [ ] ; $ url = new \ moodle_url ( '/admin/tasklogs.php' , [ 'logid' => $ row -> id ] ) ; // Quick view. $ actions [ ] = $ OUTPUT -> action_icon ( $ url , new \ pix_icon ( 'e/search' , get_string ( 'view' ) ) , new \ popup_action ( 'click' , $ url ) ) ; // Download. $ actions [ ] = $ OUTPUT -> action_icon ( new \ moodle_url ( $ url , [ 'download' => true ] ) , new \ pix_icon ( 't/download' , get_string ( 'download' ) ) ) ; return implode ( '&nbsp;' , $ actions ) ; }
docstring: Format the actions cell.
  
  @param   \stdClass $row
  @return  string
docstring_tokens: Format the actions cell .