Button Object

Parameters

  • identifier
  • text
  • font_awesome_class
  • attributes

Functions

  • render_dom
new ButtonObject( $identifier, $title, $font_awesom_class, $attributes )

Usage

$button = new ButtonObject( "my_button", "Click Me")

$button->get_template();

Output

<button type="button" class="bnt btn-info" id="my_button" style="font-size: 80%">
  Click Me
</button>
0
    0
    Your Cart
    Your cart is emptyReturn to Shop