[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/wiki/parser/markups/ -> html.php (summary)

(no description)

File Size: 103 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 mod/wiki/parser/markups/nwiki.php

Defines 1 class

html_parser:: (7 methods):
  __construct()
  find_min_header_level()
  before_parsing()
  header_tag_rule()
  get_section()
  get_repeated_sections()
  get_repeated_sections_callback()


Class: html_parser  - X-Ref

HTML parser implementation. It only implements links.

__construct()   X-Ref
No description

find_min_header_level($text)   X-Ref
Find minimum header level used on the page (<h1>, <h3>, ...)

param: string $text
return: int

before_parsing()   X-Ref
No description

header_tag_rule($match)   X-Ref
Header tag rule

param: array $match Header regex match
return: string

get_section($header, $text, $clean = false)   X-Ref
Section editing: Special for HTML Parser (It parses <h1></h1>)


get_repeated_sections(&$text, $repeated = array()   X-Ref
No description

get_repeated_sections_callback($match)   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1