NAME

Krang::ElementClass::RadioGroup - radio group element class


SYNOPSIS

  # Create radio group from static elements
  $class = pkg('ElementClass::RadioGroup')->new(
                     name         => "alignment",
                     values       => [ 'center', 'left', 'right' ],
                     labels       => { center => "Center",
                                       left   => "Left",
                                       right  => "Right" },
                     columns      => 2 );
  # Create radio group from Krang list group
  $class = pkg('ElementClass::RadioGroup')->new(
                     name         => "thingies",
                     list_group   => "article_thingies",
                     columns      => 2 );


DESCRIPTION

Provides a radio group element class.


INTERFACE

All the normal Krang::ElementClass attributes are available, plus: