SproutCMS

This is the code documentation for the SproutCMS project

function checkboxBoolList()

Returns HTML containing multiple boolean checkboxes

Usage

string Fb::checkboxBoolList ( string $name , array $attrs , array $settings );

Arguments

  1. string $name
    Ignored; each checkbox specifies its own name in $settings
  2. array $attrs
    Unused but remains for compatibility with other methods
  3. array $settings
    Keys are the names of the checkbox fields, and values their labels.

Return value

  • string
    HTML containing DIV tags containing INPUT and LABEL tags.