addField( new CWidgetFieldMultiSelectUserView($data['fields']['userids'], $data['captions']['users']['userids']) ) ->addField( new CWidgetFieldMultiSelectActionView($data['fields']['actionids'], $data['captions']['actions']['actionids'] ) ) ->addField( new CWidgetFieldMultiSelectMediaTypeView($data['fields']['mediatypeids'], $data['captions']['media_types']['mediatypeids'] ) ) ->addField( (new CWidgetFieldCheckBoxListView($data['fields']['statuses']))->setColumns(3) ) ->addField( (new CWidgetFieldTextBoxView($data['fields']['message']))->setPlaceholder(_('subject or body text')) ) ->addField( new CWidgetFieldSelectView($data['fields']['sort_triggers']) ) ->addField( new CWidgetFieldIntegerBoxView($data['fields']['show_lines']) ) ->show();