original_string: public static function alist(array $items, array $attributes = null, $tag = 'ul') {
          $output = html_writer::start_tag($tag, $attributes)."\n";
          foreach ($items as $item) {
              $output .= html_writer::tag('li', $item)."\n";
          }
          $output .= html_writer::end_tag($tag);
          return $output;
      }
code: public static function alist(array $items, array $attributes = null, $tag = 'ul') {
          $output = html_writer::start_tag($tag, $attributes)."\n";
          foreach ($items as $item) {
              $output .= html_writer::tag('li', $item)."\n";
          }
          $output .= html_writer::end_tag($tag);
          return $output;
      }
code_tokens: public static function alist ( array $ items , array $ attributes = null , $ tag = 'ul' ) { $ output = html_writer :: start_tag ( $ tag , $ attributes ) . "\n" ; foreach ( $ items as $ item ) { $ output .= html_writer :: tag ( 'li' , $ item ) . "\n" ; } $ output .= html_writer :: end_tag ( $ tag ) ; return $ output ; }
docstring: Shortcut for quick making of lists
  
  Note: 'list' is a reserved keyword ;-)
  
  @param array $items
  @param array $attributes
  @param string $tag ul or ol
  @return string
docstring_tokens: Shortcut for quick making of lists