TINYMCETEXTEXPORT

version 1
package wikindx4\core\importexport
author Mark Grimshaw <sirfragalot@users.sourceforge.net> Format and export text from TinyMCE to a range of external text formats
author Mark Grimshaw

 Methods

Create lists

parseLists(string $text, string $callbackUnorderedList, string $callbackOrderedList) : string
author Mark Grimshaw
version 1

Parameters

$text

string

$callbackUnorderedList

string

$callbackOrderedList

string

Returns

string

parse <span>.

parseSpan(string $text, array $callbackStyle) : string

..

author Mark Grimshaw
version 1

Parameters

$text

string

$callbackStyle

array

Returns

string

UTF-8 to unicode

utf8_2_unicode(string $string) : string

returns a string of unicode character codes Code adapted from opensource PHP code by Scott Reynen at: http://www.randomchaos.com/document.php?source=php_and_unicode

Parameters

$string

string

UTF-8 encoded string

Returns

stringunicode character codes

create header of output file

header() 

Initialize the class

initClass(string $output) 

Parameters

$output

string

Parse text and convert

parse(string $text) 

Parameters

$text

string

parse <div>.

parseDiv(string $text) : string

..

author Mark Grimshaw
version 1

Parameters

$text

string

Returns

string

 Properties

 

$cite 
 

$fontIndex 
 

$fontSizes 
 

$fonts 
 

$footnoteText 
 

$indentL 
 

$indentR 
 

$isIE 
 

$justify 
 

$lineSpacingIndentQ 
 

$lists 
 

$nested 
 

$paperSize 
 

$session 
 

$spanParse 
 

$styleArray 
 

$tableStyle 
 

$tableWidth