Start instance of base class, load configuration and establish database connection. Please don't call the constructor direcly, use the singleton pattern instead.
Applies text converter to the given text. Takes the text converter id as first argument, the string with the text to convert as second argument. Returns converted string.
string insertCallback(
int
$id, string
$callback, array
$args)
Provides interface between media manager and insert callbacks provided by the text converter plugins. Is required to insert media objects into the pages using the text converter specific syntax.
Takes the text converter id as first argument, the name of the callback function (without the prefix mmInsert) as second argument and the arguments for the callback function in an array as third argument. Returns string.
Tests given text converter internal name for uniqueness. Takes the text converter internal name as first argument and an optional text converter id as second argument. If the text converter id is given, this text converter won't be considered when checking for uniqueness (useful for updates).
Returns boolean true if text converter name is unique.
Tests given text converter name for uniqueness. Takes the text converter name as first argument and an optional text converter id as second argument.
If the text converter id is given, this text converter won't be considered when checking for uniqueness (useful for updates). Returns boolean true if text converter name is unique.