PHP Class fewbricks\bricks\BRICK_NAME

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

Méthodes protégées

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

Method Details

get_brick_html() protected méthode

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
Résultat string

set_fields() public méthode

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