get_start_template_form()
get_start_template_form(\CMSModule $module, string $id, int $returnid, string $prefname, string $action, string $active_tab, string $title, string $filename, string $info, bool $simple) : string
Get a form for displaying a 'start' template. A start template is read from a file, stored in the database, and is used when creating a new template of that type.
Parameters
\CMSModule | $module | The module that this template is for |
string | $id | The module instance id. |
int | $returnid | The returnid (usually empty) |
string | $prefname | The preference (relative to the module supplied) that will hold this start template. |
string | $action | The return action (usually defaultadmin) |
string | $active_tab | The name of the tab to return to. |
string | $title | The title for this form. Usually indicates to the administrator what template he is editing. |
string | $filename | The file name (relative to the modules templates directory) where the system default version of the 'start' template is. |
string | $info | The info string for the form. |
bool | $simple | A flag indicating a simple form. |
Returns
string —An HTML form.