
Public Member Functions | |
| close () | |
| doRead () | |
| & | fromFile (&$file) |
| & | fromFileType ($type, $path) |
| getFilePath () | |
| open () | |
| read () | |
| SearchFileParser ($filePath) | |
| setFilePath ($filePath) | |
Definition at line 23 of file SearchFileParser.inc.php.
| SearchFileParser.close | ( | ) |
Close the file.
Reimplemented in SearchHelperParser.
Definition at line 67 of file SearchFileParser.inc.php.
| SearchFileParser.doRead | ( | ) |
Read from the file pointer.
Reimplemented in SearchHTMLParser.
Definition at line 86 of file SearchFileParser.inc.php.
Referenced by read().
| & SearchFileParser.fromFile | ( | &$ | file | ) |
Create a text parser for an article file.
| $file | ArticleFile |
Definition at line 100 of file SearchFileParser.inc.php.
References fromFileType(), and getFilePath().
Referenced by ArticleSearchIndex.updateFileIndex().
| & SearchFileParser.fromFileType | ( | $ | type, | |
| $ | path | |||
| ) |
Create a text parser for a file.
| $type | string | |
| $path | string |
Definition at line 110 of file SearchFileParser.inc.php.
References SearchFileParser().
Referenced by fromFile().
| SearchFileParser.getFilePath | ( | ) |
Return the path to the file.
Definition at line 43 of file SearchFileParser.inc.php.
Referenced by fromFile(), and SearchHelperParser.open().
| SearchFileParser.open | ( | ) |
Open the file.
Reimplemented in SearchHelperParser.
Definition at line 59 of file SearchFileParser.inc.php.
| SearchFileParser.read | ( | ) |
Read and return the next block/line of text.
Definition at line 75 of file SearchFileParser.inc.php.
References doRead().
| SearchFileParser.SearchFileParser | ( | $ | filePath | ) |
Constructor.
| $filePath | string |
Definition at line 35 of file SearchFileParser.inc.php.
Referenced by fromFileType().
| SearchFileParser.setFilePath | ( | $ | filePath | ) |
Change the file path.
| $filePath | string |
Definition at line 51 of file SearchFileParser.inc.php.
1.5.6