public function historyBackButton(array $options = []): string
    {
        //FIXME: Add detection for IE8 & IE9 and create fallback
        $options = Hash::merge([
            'icon' => 'fa fa-arrow-left',
            'class' => 'btn btn-default btn-xs',
        ], $options);

        $div = '<div class="' . $options['class'] . '" onclick="history.back()">';
        $i = '<i class="' . $options['icon'] . '"></i>';

        return $div . $i . ' ' . __d('ck_tools', 'history_back_button') . '</div>';
    }
public function historyBackButton(array $options = []): string
    {
        //FIXME: Add detection for IE8 & IE9 and create fallback
        $options = Hash::merge([
            'icon' => 'fa fa-arrow-left',
            'class' => 'btn btn-default btn-xs',
        ], $options);

        $div = '<div class="' . $options['class'] . '" onclick="history.back()">';
        $i = '<i class="' . $options['icon'] . '"></i>';

        return $div . $i . ' ' . __d('ck_tools', 'history_back_button') . '</div>';
    }
public function historyBackButton ( array $ options = [ ] ) : string { //FIXME: Add detection for IE8 & IE9 and create fallback $ options = Hash :: merge ( [ 'icon' => 'fa fa-arrow-left' , 'class' => 'btn btn-default btn-xs' , ] , $ options ) ; $ div = '<div class="' . $ options [ 'class' ] . '" onclick="history.back()">' ; $ i = '<i class="' . $ options [ 'icon' ] . '"></i>' ; return $ div . $ i . ' ' . __d ( 'ck_tools' , 'history_back_button' ) . '</div>' ; }
Renders a div with an onclick-hanlder, which uses the history API of the Browser

@return string
Renders a div with an onclick - hanlder which uses the history API of the Browser