HTML Converters

Class Methods

The following methods can be invoked on instances of this class.

callbackHTMLToTextFixLinks(mixed arrMatches)

Replaces links with a text representation

convertHTMLToText(mixed strHTML, bool bIncludeLinks, mixed bPreserveS8Code)

Converts HTML to Text

convertTextToHTML(string strText, mixed bShortenURLText)

Converts Text to HTML

convertToPDFImageHandler(array arrMatches)

Call back to ensure all images are absolutely referenced

convertToPDF(string strHTML, mixed arrParameters)

Converts a HTML string to PDF

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class