Swat/SwatCheckboxEntryList.php
public function setEntryValuesByArray(array $entry_values)
    {
        foreach ($entry_values as $option_value => $entry_value) {
            $this->setEntryValue($option_value, $entry_value);
        }
    }
public function setEntryValuesByArray(array $entry_values)
    {
        foreach ($entry_values as $option_value => $entry_value) {
            $this->setEntryValue($option_value, $entry_value);
        }
    }
public function setEntryValuesByArray ( array $ entry_values ) { foreach ( $ entry_values as $ option_value => $ entry_value ) { $ this -> setEntryValue ( $ option_value , $ entry_value ) ; } }
Sets the values of multiple entry widgets

This is a convenience method to quickly set the entry values for one
or more options in this checkbox entry list. This calls
{@link SwatCheckboxEntryList::setEntryValue()} internally for each
entry in the <i>$entry_values</i> array.

@param array $entry_values an array indexed by option values of this
checkbox entry list with values of the entry
widget values.

@throws SwatInvalidPropertyException if any option value (array key)
does not match an existing option
value in this checkbox entry list.
Sets the values of multiple entry widgets