tagsToString() статический публичный Метод

Return a comma delimited string from an SQL array of tags, in alphabetical order.
static public tagsToString ( array $tags ) : string
$tags array
Результат string
 /**
  * @param array $item A singular item (one full row's worth of data)
  * @param array $column_name The name/slug of the column to be processed
  *
  * @return string Text to be placed inside the column <td>
  */
 protected function renderTagColumn($item, $column_name)
 {
     $html = Catalog::tagsToString($item[$column_name]);
     if (!$html) {
         $html = '<span style="color:silver">n/a</span>';
     }
     // Build row actions
     $actions = array('edit_tags' => sprintf('<a href="?page=%s&action=%s&ID=%s">%s</a>', $_REQUEST['page'], 'edit_tags', $item['ID'], __('Edit Tags', 'pressbooks')));
     // Return the title contents
     return sprintf('%1$s %2$s', $html, $this->row_actions($actions));
 }