public function generateWizard($dataContainer)
    {
        if (!isset($GLOBALS['TL_DCA'][$dataContainer->table]['fields'][$dataContainer->field]['eval']['coordinates'])) {
            return '';
        }

        return sprintf(
            '<a href="#" onclick="$(\'ctrl_%s_toggle\').click();return false;"><img src="%s"></a>',
            $GLOBALS['TL_DCA'][$dataContainer->table]['fields'][$dataContainer->field]['eval']['coordinates'],
            'bundles/leafletgeocodewidget/img/map.png'
        );
    }
public function generateWizard($dataContainer)
    {
        if (!isset($GLOBALS['TL_DCA'][$dataContainer->table]['fields'][$dataContainer->field]['eval']['coordinates'])) {
            return '';
        }

        return sprintf(
            '<a href="#" onclick="$(\'ctrl_%s_toggle\').click();return false;"><img src="%s"></a>',
            $GLOBALS['TL_DCA'][$dataContainer->table]['fields'][$dataContainer->field]['eval']['coordinates'],
            'bundles/leafletgeocodewidget/img/map.png'
        );
    }
public function generateWizard ( $ dataContainer ) { if ( ! isset ( $ GLOBALS [ 'TL_DCA' ] [ $ dataContainer -> table ] [ 'fields' ] [ $ dataContainer -> field ] [ 'eval' ] [ 'coordinates' ] ) ) { return '' ; } return sprintf ( '<a href="#" onclick="$(\'ctrl_%s_toggle\').click();return false;"><img src="%s"></a>' , $ GLOBALS [ 'TL_DCA' ] [ $ dataContainer -> table ] [ 'fields' ] [ $ dataContainer -> field ] [ 'eval' ] [ 'coordinates' ] , 'bundles/leafletgeocodewidget/img/map.png' ) ; }
Generate the wizard for the radius widget.

@param DataContainer $dataContainer Data container driver.

@return string

@SuppressWarnings(PHPMD.Superglobals)
Generate the wizard for the radius widget .