SproutCMS

This is the code documentation for the SproutCMS project

function checkboxList()

Returns HTML for a list of checkboxes, applying name conversions along the way

Uses Fb::checkboxBoolList to generate the underlying checkbox list

Usage

string Form::checkboxList ( array $checkboxes , array $attrs );

Arguments

  1. array $checkboxes
    An array of name => label mappings
  2. array $attrs
    Extra attributes applied to each checkbox field

Return value

  • string
    HTML