SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class TinyMCE4RichText

Interface the display of a richtext field

Functions

NameVisibilityDescription
drawpublic (static)Draw a rich text field
drawInternalprotectedShows a richtext field. Should output content directly
needspublic (static)Loads the required TinyMCE JS library

public draw (from RichText)

unknown RichText::draw ( The $field_name , The $content [, The $width [, The $height [, Override $type ]]] );

Draw a rich text field

Field type should be a class name sans 'RichText', e.g. 'TinyMCE4' for the 'TinyMCE4RichText' class.
Optionally, the name can be bollowed by : and a config group name, e.g. 'TinyMCE4:Lite' for the 'Lite' config.

protected drawInternal

unknown $TinyMCE4RichText->drawInternal ( string $field_name , string $content [, int $width [, int $height [, string $config_group ]]] );

Shows a richtext field. Should output content directly

public needs

void TinyMCE4RichText::needs ( );

Loads the required TinyMCE JS library