/**
  * This is called back by WordPress when the tab list shortcode is found
  * @param array $atts User defined attributes in shortcode tag.
  */
 public function list_hook($atts)
 {
     $parms = shortcode_atts(array('class' => 'tabs'), $atts);
     $inner_html = '';
     foreach ($this->list_of_entries as $entry) {
         $inner_html .= HtmlHelper::list_item(HtmlHelper::anchor('#' . sanitize_title($entry['title']), $this->get_image($entry['icon']) . $entry['title'], array('data-title' => $entry['title'], 'data-from' => $entry['from'], 'data-route-type' => $entry['route_type'])), array('class' => $entry['class']));
     }
     return HtmlHelper::unorderd_list($inner_html, array('class' => $parms['class']));
 }