SproutCMS

This is the code documentation for the SproutCMS project

function getSettingsForm()

This function should return the content of the widget settings form.
The content should be returned as well-formed HTML.
The content will be contained within a DIV element, which is inside a FORM element.

This function will be called from an AJAX request, so Needs cannot be used.
Inline CSS and Javascript should be loaded correctly by the jQuery library.

Form fields *must* be generated using the Form helper, to ensure correct field
prefix as well as reloading of field values

Usage

string $Widget->getSettingsForm ( );

Return value

  • string
    The output HTML.