Render an ImageButton

@param ImageButton $button
@return string
9188
public function imageButton(ImageButton $button)
    {
        $tag = new Tag('input');
        $tag->setAttribute('type', 'image');
        $tag->setAttribute('src', $button->getSrc());
        $tag->setAttribute('alt', $button->getAlt());

        return $this->parseTag($tag, $button);
    }
1145822
private function renderTemplate(array $emoji, $imageHtmlTemplate = null)
    {
        return str_replace(
            [
                '{{name}}',
                '{{unicode}}',
                '{{description}}',
            ],
            [
                $emoji['name'],
                $emoji['unicode'],
                $emoji['description'],
            ],
            $imageHtmlTemplate !== null ? $imageHtmlTemplate : $this->imageHtmlTemplate
        );
    }
1334345
public function render()
    {
        if ($this->hasChildNodes()) {
            if ($this->childNodes->first() instanceof Button) {
                $this->attributes->removeAttributeClass('input-group-text');
            }
        }

        return parent::render();
    }
1261241
private function renderPreviousButton()
    {
        $before = $this->page->before;
        $extraClass = $before ? '' : ' not-active';
        if (empty($before)) {
            $before = 1;
        }
        return $this->renderElement($before, $this->settings['label_previous'], 'prev'.$extraClass);
    }
1223646
public function render(): string
	{
		$targetUrl = Escaper::htmlEntityEncode(self::buildUrl());

		if ($this->buttonStyle === null) {
			return "<a href=\"{$targetUrl}\">{$this->buttonText}</a>";
		}

		$gateUrl = $this->payment->getMerchantConfig()->gateUrl;

		$buttonStyle = rawurlencode($this->buttonStyle);
		$src = Escaper::htmlEntityEncode($gateUrl . 'buttons/' . $buttonStyle . '.png');
		$title = Escaper::htmlEntityEncode($this->buttonText);

		return "<a href=\"{$targetUrl}\"><img src=\"{$src}\" alt=\"{$title}\" title=\"{$title}\" /></a>";
	}
1147861
private function renderCloneButton()
    {
        $options = [
            'class' => 'multiple-input-list__btn js-input-clone',
        ];
        Html::addCssClass($options, $this->cloneButtonOptions['class']);

        return Html::tag('div', $this->cloneButtonOptions['label'], $options);
    }
1333607
protected function render_tweet_button(): string
    {
        return '<a href="https://twitter.com/share" class="twitter-share-button" data-url="'.
            \wp_get_shortlink($this->post->get()->ID).'" data-text="'.
            \esc_attr(\sanitize_text_field(\get_the_title($this->post->get()))).
            '" data-via="" data-count="horizontal">Tweet</a>'.

            '<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script>';
    }
593650
protected function renderButton($actionButton) {
    	
    	if (isset($actionButton['htmlOptions']['class']))
            $actionButton['htmlOptions']['class'] .= ' disabled bulk-actions-btn';
        else
            $actionButton['htmlOptions']['class'] = 'disabled bulk-actions-btn';
        
        $action = null;
        if (isset($actionButton['click'])) {
            $action = CJavaScript::encode($actionButton['click']);
            unset($actionButton['click']);
        }

        $button = Yii::createComponent($actionButton);
        $button->init();
        echo '&nbsp;';
        $button->run();
        echo '&nbsp;';
        if ($action !== null) {
            $this->events[$button->id] = $action;
        }
    }
613617
public static function renderType(ButtonInterface $button) {
        return null !== $button->getType() ? $button->getPrefix() . $button->getType() : null;
    }
295377
public function render()
    {
        return (new Button($this->attributes, [
            new Italic(['class' => 'icon ' . $this->icon]),
            $this->content,
        ]))->render();
    }
646849
protected function renderRemoveButton($options = [])
    {
        $options = array_replace_recursive([
            'class' => 'btn btn-box-tool',
            'data-widget' => 'remove',
        ], $options);

        return Html::button(FA::i('times'), $options);
    }
1256417
protected function renderGobackButton()
    {
        $options = [
            'class' => 'btn',
            'data-widget' => 'goback',
            'data-toggle' => 'tooltip',
            'title' => Yii::t('adminlte', 'Go back'),
        ];

        return Html::button(FA::i(FA::_ARROW_LEFT), $options);
    }
108864
public function render() {
	
		$ret = '<button type="' . $this->type . '"' ;
	
		if ($this->id) {
			$ret .= 'id=' . $this->id;
		}
	
		if ($this->name) {
			$ret .= ' ' . $this->getNameProperty();
		}
	
		$ret .= $this->processProperties() . '>';
	
		if ($this->faIcon) {
			$ret .= '<i class="fa ' . $this->faIcon . '"></i> ';
		}
	
		$ret .= trim(htmlspecialchars($this->value)) . ' </button>';
	
		return $ret;
	
	}
438945
private function renderRemoveButton()
    {
        $options = [
            'class' => 'multiple-input-list__btn js-input-remove',
        ];
        Html::addCssClass($options, $this->removeButtonOptions['class']);

        return Html::tag('div', $this->removeButtonOptions['label'], $options);
    }
997992
public function renderButtons()
    {
        $buttons = array();
        foreach ($this->getButtons() as $button) {
            $buttons[] = $this->renderElement($button);
        }
        return $this->getActiveFormWidget()->createFormActions($buttons);
    }
113288
protected function renderButtons()
    {
        if (!empty($this->buttons)) {
            $html = '';

            foreach ($this->buttons as $button) {
                    $html .= "$button\n";
            }

            return Html::tag('div', $html, ['class' => 'actions btn-set']);
        }

        return '';
    }
148938
protected function renderButtons()
    {
        $buttons = [];
        foreach ($this->buttons as $button) {
            if (is_array($button)) {
                $button['view'] = $this->getView();
                $button['defaultClass'] = false;
                if (!isset($button['encodeLabel'])) {
                    $button['encodeLabel'] = $this->encodeLabels;
                }
                $buttons[] = Html::tag('li', Button::widget($button));
            } else {
                $buttons[] = Html::tag('li', $button);
            }
        }

        return implode("\n", $buttons);
    }