PHP Класс fewbricks\bricks\BRICK_NAME

Наследование: extends project_brick
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
set_fields ( ) Set all the fields for the brick.

Защищенные методы

Метод Описание
get_brick_html ( ) : string This function will be used in the frontend when displaying the brick.

Описание методов

get_brick_html() защищенный метод

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
Результат string

set_fields() публичный метод

Set all the fields for the brick.
public set_fields ( )

Описание свойств

$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.
protected $label