HumHub Documentation (unofficial)

HeadlineTrait

Adds the headline blocks

Table of Contents

Methods

consumeHeadline()  : mixed
Consume lines for a headline
identifyHeadline()  : mixed
identify a line as a headline
parseInline()  : mixed
renderAbsy()  : mixed
renderHeadline()  : mixed
Renders a headline

Methods

consumeHeadline()

Consume lines for a headline

protected consumeHeadline(mixed $lines, mixed $current) : mixed
Parameters
$lines : mixed
$current : mixed

identifyHeadline()

identify a line as a headline

protected identifyHeadline(mixed $line, mixed $lines, mixed $current) : mixed
Parameters
$line : mixed
$lines : mixed
$current : mixed

parseInline()

protected abstract parseInline(mixed $text) : mixed
Parameters
$text : mixed

renderAbsy()

protected abstract renderAbsy(mixed $absy) : mixed
Parameters
$absy : mixed

renderHeadline()

Renders a headline

protected renderHeadline(mixed $block) : mixed
Parameters
$block : mixed

        
On this page

Search results