protected static function get_control_occurrenceassociations($auth, $args, $tabalias, $options)
 {
     iform_load_helpers(array('report_helper'));
     $currentUrl = report_helper::get_reload_link_parts();
     // automatic handling for Drupal clean urls.
     $pathParam = function_exists('variable_get') && variable_get('clean_url', 0) == '0' ? 'q' : '';
     // amend currentUrl path if we have drupal dirty URLs so javascript will work properly
     if ($pathParam === 'q' && isset($currentUrl['params']['q']) && strpos($currentUrl['path'], '?') === false) {
         $currentUrl['path'] .= '?q=' . $currentUrl['params']['q'] . '&taxon_meaning_id=';
     } else {
         $currentUrl['path'] . '&taxon_meaning_id';
     }
     $options = array_merge(array('dataSource' => 'library/occurrence_associations/filterable_associated_species_list_cloud', 'itemsPerPage' => 20, 'class' => 'cloud', 'header' => '<ul>', 'footer' => '</ul>', 'bands' => array(array('content' => '<li style="font-size: {font_size}px">' . "<a href=\"{$currentUrl['path']}{taxon_meaning_id}\">{species}<a/></li>")), 'emptyText' => '<p>No association species information available</p>'), $options);
     return '<div class="detail-panel" id="detail-panel-occurrenceassociations"><h3>' . lang::get('Associated species') . '</h3>' . report_helper::freeform_report(array('readAuth' => $auth['read'], 'dataSource' => $options['dataSource'], 'itemsPerPage' => $options['itemsPerPage'], 'class' => $options['class'], 'header' => $options['header'], 'footer' => $options['footer'], 'bands' => $options['bands'], 'emptyText' => $options['emptyText'], 'mode' => 'report', 'autoParamsForm' => false, 'extraParams' => array('taxon_meaning_list' => self::$taxon_meaning_id))) . '</div>';
 }