Fonctions membres publiques | |
| initParser ($extension) | |
| softInit ($extension) | |
| searchTypeMediaTitle ($extension) | |
| isMultiplePageExtension ($extension) | |
| readFileContent ($ext, $absFile, $cPKey) | |
| fileContentParts ($ext, $absFile) | |
| splitPdfInfo ($pdfInfoArray) | |
| removeEndJunk ($string) | |
| getIcon ($extension) | |
Attributs publics | |
| $pdf_mode = -20 | |
| $app = array() | |
| $ext2itemtype_map = array() | |
| $supportedExtensions = array() | |
| $pObj | |
| tx_indexed_search_extparse::initParser | ( | $ | extension | ) |
Initialize external parser for parsing content.
| string | File extension |
| tx_indexed_search_extparse::softInit | ( | $ | extension | ) |
Initialize external parser for backend modules Doesn't evaluate if parser is configured right - more like returning POSSIBLE supported extensions (for showing icons etc) in backend and frontend plugin
| string | File extension to initialize for. |
| tx_indexed_search_extparse::searchTypeMediaTitle | ( | $ | extension | ) |
Return title of entry in media type selector box.
| string | File extension |
| tx_indexed_search_extparse::isMultiplePageExtension | ( | $ | extension | ) |
Returns true if the input extension (item_type) is a potentially a multi-page extension
| string | Extension / item_type string |
| tx_indexed_search_extparse::readFileContent | ( | $ | ext, | |
| $ | absFile, | |||
| $ | cPKey | |||
| ) |
Reads the content of an external file being indexed.
| string | File extension, eg. "pdf", "doc" etc. | |
| string | Absolute filename of file (must exist and be validated OK before calling function) | |
| string | Pointer to section (zero for all other than PDF which will have an indication of pages into which the document should be splitted.) |
| tx_indexed_search_extparse::fileContentParts | ( | $ | ext, | |
| $ | absFile | |||
| ) |
Creates an array with pointers to divisions of document. ONLY for PDF files at this point. All other types will have an array with a single element with the value "0" (zero) coming back.
| string | File extension | |
| string | Absolute filename (must exist and be validated OK before calling function) |
| tx_indexed_search_extparse::splitPdfInfo | ( | $ | pdfInfoArray | ) |
Analysing PDF info into a useable format.
| array | Array of PDF content, coming from the pdfinfo tool |
| tx_indexed_search_extparse::removeEndJunk | ( | $ | string | ) |
Removes some strange char(12) characters and line breaks that then to occur in the end of the string from external files.
| string | String to clean up |
| tx_indexed_search_extparse::getIcon | ( | $ | extension | ) |
Return icon for file extension
| string | File extension, lowercase. |
| tx_indexed_search_extparse::$pdf_mode = -20 |
| tx_indexed_search_extparse::$app = array() |
| tx_indexed_search_extparse::$ext2itemtype_map = array() |
| tx_indexed_search_extparse::$supportedExtensions = array() |
| tx_indexed_search_extparse::$pObj |
1.5.3