Generate a button or image tag
public static getButtonOrImage ( string $button_name, string $button_class, string $text, string $image, string $value = '' ) : string | ||
$button_name | string | name of button element |
$button_class | string | class of button or image element |
$text | string | text to display |
$image | string | image to display |
$value | string | value |
return | string | html content |