src/fieldwork/components/SelectBox.php
private function setSelect2Options ($select2options)
    {
        foreach ($select2options as $key => $option)
            $this->select2options[$key] = $option;
        return $this;
    }
private function setSelect2Options ($select2options)
    {
        foreach ($select2options as $key => $option)
            $this->select2options[$key] = $option;
        return $this;
    }
private function setSelect2Options ( $ select2options ) { foreach ( $ select2options as $ key => $ option ) $ this -> select2options [ $ key ] = $ option ; return $ this ; }
Merges the options

@param array $select2options

@return $this
Merges the options