Свойство | Тип | Описание | |
---|---|---|---|
$col | integer | current col | |
$row | integer | current row | |
$table | array | table data, including rows with content and the maximum width of each col |
Метод | Описание | |
---|---|---|
__construct ( $linksAfterEachParagraph = self::LINK_AFTER_CONTENT, $bodyWidth = MDFY_BODYWIDTH, $keepHTML = MDFY_KEEPHTML ) | constructor, see Markdownify::Markdownify() for more information | |
parseString ( $html ) : string | parse a HTML string, clean up footnotes prior |
Метод | Описание | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_makeFootnotes ( array $matches ) : string | replace HTML representation of footnotes with something more easily parsable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
alignTdContent ( &$content, integer $col ) : void | properly pad content so it is aligned as whished should be used with array_walk_recursive on $this->table['rows'] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
flushStacked_abbr ( ) : void | flush stacked abbr tags | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
getCurrentCssSelector ( ) : void | handle tags parsing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleHeader ( integer $level ) : void |
handle header tags (-) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_a_converter ( array $tag, string $buffer ) : string | handle tags conversion | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_a_parser ( ) : void | handle tags parsing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_abbr ( ) : void | handle tags | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_dd ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_dl ( ) : void |
handle
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_dt ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_fn ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_fnref ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_footnotes ( ) : void |
handle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handleTag_table ( ) : void |
handle tags tags
Описание методов
constructor, see Markdownify::Markdownify() for more information
replace HTML representation of footnotes with something more easily parsable
properly pad content so it is aligned as whished
should be used with array_walk_recursive on $this->table['rows']
flush stacked abbr tags
handle header tags (
-)
handle tags conversion
handle
handle
handle
| tags
|
tags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
protected handleTag_tr ( ) : void | ||
Результат | void |
public parseString ( $html ) : string | ||
Результат | string | Markdown formatted output |
protected array $table | ||
Результат | array |