PHP Class fewbricks\bricks\demo_button

Inheritance: extends project_brick
Afficher le fichier Open project: folbert/fewbricks

Protected Properties

Свойство 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.

Méthodes publiques

Méthode 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

Méthode 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 méthode

public get_brick_html ( ) : string | void
Résultat string | void

set_css_class() public méthode

public set_css_class ( $css_class )
$css_class

set_fields() public méthode

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