Previous Page
_getTabWidth()

Solar_Markdown_Wiki_Header
_header()

Next Page
_isHtmlToken()

_header()

protected string _header ( string $tag, string $matches )

Support callback for all headers.

Parameters

  • (string) $tag: The header tag ('h1', 'h5', etc).
  • (string) $matches: The matched values, element 1 is the text, optional element 2 is the ID (if any).

Returns

  • (string) The replacement header HTML token.

Description

Support callback for all headers.