|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Inheritance diagram for SimpleExcel\Parser\HTMLParser:
Collaboration diagram for SimpleExcel\Parser\HTMLParser:Public Member Functions | |
| loadFile ($file_path) | |
| Load the HTML file to be parsed. More... | |
| loadString ($str) | |
| Load the string to be parsed. More... | |
Public Member Functions inherited from SimpleExcel\Parser\BaseParser | |
| __construct ($file_url=NULL) | |
| getCell ($row_num, $col_num, $val_only=true) | |
| Get value of the specified cell. More... | |
| getColumn ($col_num, $val_only=TRUE) | |
| Get data of the specified column as an array. More... | |
| getField ($val_only=TRUE) | |
| Get data of all cells as an array. More... | |
| getRow ($row_num, $val_only=TRUE) | |
| Get data of the specified row as an array. More... | |
| isCellExists ($row_num, $col_num) | |
| Check whether cell with specified row & column exists. More... | |
| isColumnExists ($col_num) | |
| Check whether a specified column exists. More... | |
| isRowExists ($row_num) | |
| Check whether a specified row exists. More... | |
| isFieldExists () | |
| Check whether table exists. More... | |
| isFileReady ($file_path) | |
| Check whether file exists, valid, and readable. More... | |
| getCell ($row_num, $col_num, $val_only) | |
| getColumn ($col_num, $val_only) | |
| getRow ($row_num, $val_only) | |
| getField ($val_only) | |
| isCellExists ($row_num, $col_num) | |
| isColumnExists ($col_num) | |
| isRowExists ($row_num) | |
| isFieldExists () | |
| isFileReady ($file_path) | |
| loadFile ($file_path) | |
| loadString ($str) | |
Protected Attributes | |
| $file_extension = 'html' | |
Protected Attributes inherited from SimpleExcel\Parser\BaseParser | |
| $table_arr | |
| $file_extension = '' | |
Private Member Functions | |
| parseDOM ($html) | |
| Process the loaded file/string. More... | |
Definition at line 13 of file HTMLParser.php.
| SimpleExcel\Parser\HTMLParser::loadFile | ( | $file_path | ) |
Load the HTML file to be parsed.
| string | $file_path | Path to HTML file |
Implements SimpleExcel\Parser\IParser.
Definition at line 70 of file HTMLParser.php.
References SimpleExcel\Parser\BaseParser\isFileReady(), and SimpleExcel\Parser\HTMLParser\parseDOM().
Here is the call graph for this function:| SimpleExcel\Parser\HTMLParser::loadString | ( | $str | ) |
Load the string to be parsed.
| string | $str | String with HTML format |
Implements SimpleExcel\Parser\IParser.
Definition at line 86 of file HTMLParser.php.
References SimpleExcel\Parser\HTMLParser\parseDOM().
Here is the call graph for this function:
|
private |
Process the loaded file/string.
| DOMDocument | $html | DOMDocument object of HTML |
Definition at line 28 of file HTMLParser.php.
References $row.
Referenced by SimpleExcel\Parser\HTMLParser\loadFile(), and SimpleExcel\Parser\HTMLParser\loadString().
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file HTMLParser.php.