Lines Matching refs:field
146 foreach (helper_plugin_newsfeed::$fields as $field) {
147 if ($field === 'text') {
148 $data[$field] = cleanText($INPUT->str('text'));
150 $data[$field] = $INPUT->param($field);
261 foreach (helper_plugin_newsfeed::$fields as $field) {
265 switch ($field) {
267 $input = $form->addTextarea('text', $this->getLang($field), -1)->attrs([
274 $input = new DateTimeInputElement($field, $this->getLang($field));
281 …put = $form->addDropdown('category', static::$categories, $this->getLang($field))->attr('class', '…
285 … $input = $form->addTextInput($field, $this->getLang($field))->attr('class', 'form-control');
289 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
295 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
301 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
309 $input = new InputElement('email', $field, $this->getLang($field));
315 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
323 msg('Not implement input field ' . $field, -1);
325 if ($note = $this->getLang($field . '_note')) {