PHP Class fewbricks\bricks\project_brick

Inheritance: extends brick
Datei anzeigen Open project: folbert/fewbricks

Public Methods

Method Description
__construct ( string $name = '', string $key = '' )
set_project_fields ( ) This function must exist regardless of if it has a body or not.

Protected Methods

Method Description
demo_get_headline_html ( $data_key, boolean $value = false ) : string
demo_set_headline_tag ( )

Method Details

__construct() public method

public __construct ( string $name = '', string $key = '' )
$name string
$key string

demo_get_headline_html() protected method

protected demo_get_headline_html ( $data_key, boolean $value = false ) : string
$data_key
$value boolean
return string

demo_set_headline_tag() protected method

protected demo_set_headline_tag ( )

set_project_fields() public method

Called after set_fields have been called. Use to add any fields that every brick in the project should have.
public set_project_fields ( )