SproutCMS

This is the code documentation for the SproutCMS project

function setData()

Set form per-field values for the fields

As form fields are rendered using the Fb class, this method just sets the data there

Usage

void Form::setData ( array $data );

Arguments

  1. array $data
    In the format
           Key: (string)<field name>
           Value: (string)<field value>

Return value

  • void