SproutCMS

This is the code documentation for the SproutCMS project

function renderField()

Renders the input for a field definition pulled from a JSON file

Usage

string JsonForm::renderField ( array $field [, string $name_prepend , array $metadata ] );

Arguments

  1. array $field
    The field definition
  2. string $name_prepend = ''
    Prepended to the field name
  3. array $metadata
    Metadata for use in argument replacement

Return value

  • string