This is the code documentation for the SproutCMS project
Search documentation |
class DocImportPlaintext
Functions
public getHeadingsTree (from DocImport)Treenode DocImport::getHeadingsTree ( string $filename , int $max_depth [, bool $include_body ] ); For a given XML document, return a tree of headings Any heading level past the max_depth option is treated like body text. public getHtml (from DocImport)string DocImport::getHtml ( string $filename , array $images , array $headings ); For a given XML doc file, return the HTML version. public getResources (from DocImport)array DocImport::getResources ( string $filename ); For a given XML doc file, return an array of resources, in name => data format. public instance (from DocImport)unknown DocImport::instance ( mixed $orig_filename ); Return a `DocImport` object instance for converting a file with a given original name Throws an exception on error public loadstring|DOMDocument $DocImportPlaintext->load ( string $filename ); The main load function for a document. Throw an exception on error. |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|