PHP Class fewbricks\bricks\BRICK_NAME

Inheritance: extends project_brick
Datei anzeigen 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
set_fields ( ) Set all the fields for the brick.

Protected Methods

Method Description
get_brick_html ( ) : string This function will be used in the frontend when displaying the brick.

Method Details

get_brick_html() protected method

It will be called by the parents class function get_html(). See that function for info on what data you have at your disposal.
protected get_brick_html ( ) : string
return string

set_fields() public method

Set all the fields for the brick.
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