SproutCMS

This is the code documentation for the SproutCMS project

function editform()

Output html for editing link specifications.
This is designed for admin use.

Usage

string Lnk::editform ( string $field_name [, string $curr_spec [, bool $required ]] );

Arguments

  1. string $field_name
    The name to use for the field
  2. string $curr_spec = NULL
    Current spec data, for existing fields
  3. bool $required = FALSE
    Is it a required field?

Return value

  • string
    HTML