\Ceo\CoreExporters

Interfaces

ExporterInterface Export interface

Classes

HtmlExporter HTML Exporter
IcmlExporter ICML Exporter
TextExporter Text Exporter

Functions

dom_parser()

dom_parser(object  $node) 

Parse text nodes and run strings through quote educator.

DOMNodes are processed as reference, so nothing is returned

Parameters

object $node

DOMNode

educate_quotes()

educate_quotes(string  $str) : string

Convert double and single primes to "curly" or "smart" quotes.

Note that the only edge case is something like "'Twas" will have an open single quote instead of a closed single quote

Parameters

string $str

Returns

string

icml_xml_parser()

icml_xml_parser(  $str) 

Parameters

$str