PHP Class fewbricks\bricks\demo_button

Inheritance: extends project_brick
Mostra file Open project: folbert/fewbricks

Protected Properties

Property Type Description
$label This will be the default label showing up in the editor area for the administrator. It can be overridden by passing an item with the key "label" in the array that is the second argument when creating a brick.

Public Methods

Method Description
get_brick_html ( ) : string | void
set_css_class ( $css_class )
set_fields ( ) This is where all the fields for the brick will be set.

Private Methods

Method Description
get_button_html ( $attributes, $text = false ) : string
get_download_html ( ) : string
get_email_html ( ) : string
get_external_html ( ) : string
get_internal_html ( ) : string

Method Details

get_brick_html() public method

public get_brick_html ( ) : string | void
return string | void

set_css_class() public method

public set_css_class ( $css_class )
$css_class

set_fields() public method

This is where all the fields for the brick will be set.
public set_fields ( )

Property Details

$label protected_oe property

This will be the default label showing up in the editor area for the administrator. It can be overridden by passing an item with the key "label" in the array that is the second argument when creating a brick.
protected $label