Library
Class

Library\Reporter\Adapter\Html

class Html extends AbstractAdapter

Constants

mask_default

mask_new_line

mask_tab

mask_key_value

mask_unordered_list

mask_unordered_list_item

mask_ordered_list

mask_ordered_list_item

mask_table

mask_table_title

mask_table_head

mask_table_head_line

mask_table_head_cell

mask_table_body

mask_table_body_line

mask_table_body_cell

mask_table_foot

mask_table_foot_line

mask_table_foot_cell

mask_definition

mask_definition_term

mask_definition_description

mask_code

mask_pre_formated

mask_title

mask_paragraph

mask_citation

mask_bold

mask_italic

mask_link

Properties

static array $table_scopes Array of a table parts

Methods

string newLine()

Adapter new line sign

from AbstractAdapter
string tab()

Adapter new tabulation

from AbstractAdapter
string renderTag(array|string $content, string $tag_type = 'default', array $args = array())

Render a content with a specific tag mask

Details

in AbstractAdapter at line 48
public string newLine()

Adapter new line sign

Return Value

string

in AbstractAdapter at line 58
public string tab()

Adapter new tabulation

Return Value

string

at line 91
public string renderTag(array|string $content, string $tag_type = 'default', array $args = array())

Render a content with a specific tag mask

The $tag_type may be one of the \Library\Reporter\Reporter::$default_tag_types array.

Parameters

array|string $content The content string to use or an array of strings (for lists for instance)
string $tag_type The type of tag mask to use
array $args An array of arguments to pass to the mask

Return Value

string Must return the content string built