프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$encoding |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_alterList | array | Add Ps inside these elements | |
$_blocks | |||
$_descendList | array | Descend into these elements to add Ps | |
$_doc | DOMDocument | ||
$_inlines | array | ||
$_unique | string | ||
$_xpath | DOMXPath |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor | |
process ( string $html ) : string | false | Create wrapper P and BR elements in HTML depending on newlines. Useful when users use newlines to signal line and paragraph breaks. In all cases output should be well-formed markup. |
메소드 | 설명 | |
---|---|---|
addParagraphs ( DOMElement $el ) : void | Add P and BR elements as necessary |
protected addParagraphs ( DOMElement $el ) : void | ||
$el | DOMElement | DOM element |
리턴 | void |
protected array $_descendList | ||
리턴 | array |