| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 520 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
HTML2PDF_parsingHtml:: (9 methods):
__construct()
setEncoding()
setHTML()
parse()
_prepareTxt()
_searchCode()
_analiseCode()
getLevel()
getHtmlErrorCode()
Class: HTML2PDF_parsingHtml - X-Ref
HTML2PDF Librairy - parsingHtml class| __construct($encoding = 'UTF-8') X-Ref |
| main constructor param: string encoding |
| setEncoding($encoding) X-Ref |
| change the encoding param: string encoding |
| setHTML($html) X-Ref |
| Define the HTML code to parse param: string HTML code |
| parse() X-Ref |
| parse the HTML code |
| _prepareTxt($txt, $spaces = true) X-Ref |
| prepare the text param: string texte param: boolean true => replace multiple space+\t+\r+\n by a single space return: string texte |
| _searchCode(&$tmp) X-Ref |
| parse the HTML code param: &array array's result return: null |
| _analiseCode($code) X-Ref |
| analise a HTML tag param: string HTML code to analise return: array corresponding action |
| getLevel($k) X-Ref |
| get a full level of HTML, between an opening and closing corresponding param: integer key return: array actions |
| getHtmlErrorCode($pos, $before=30, $after=40) X-Ref |
| return a part of the HTML code, for error message param: integer position param: integer take before param: integer take after return: string part of the html code |
| Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |