SproutCMS

This is the code documentation for the SproutCMS project

function radioList()

Outputs a list of radiobuttons, which will all use the same field name

Usage

void Admin::radioList ( string $field , array $data , array $selected );

Arguments

  1. string $field
    The field name.
  2. array $data
    The data. Key is the radiobutton value, Value is used in the label for the radiobutton.
  3. array $selected
    The selected item

Return value

  • void