Lines Matching refs:vals
86 $vals = explode(',',$line[1]);
87 foreach($vals as $val){
240 foreach($data['cols'] as $key => $vals) {
242 $content = $vals['multi'] ? implode(', ', $data['data'][$key]) : $data['data'][$key];
243 if (is_array($vals['type'])) {
244 $vals['basetype'] = $vals['type']['type'];
245 if (isset($vals['type']['enum'])) {
246 $vals['enum'] = $vals['type']['enum'];
248 $vals['type'] = $vals['origtype'];
250 $vals['basetype'] = $vals['type'];
254 if (isset($vals['enum'])) {
255 $values = preg_split('/\s*,\s*/', $vals['enum']);
256 if (!$vals['multi']) array_unshift($values, '');
258 …$data['data'][$key], $vals['title'], '', '', ($vals['multi'] ? array('multiple' => 'multiple'): ar…
260 $classes = 'data_type_' . $vals['type'] . ($vals['multi'] ? 's' : '') . ' ' .
261 'data_type_' . $vals['basetype'] . ($vals['multi'] ? 's' : '');
262 … $content = form_makeField('text', $fieldid . '[value]', $content, $vals['title'], '', $classes);
265 $cells = array($vals['title'] . ':',
267 $vals['comment']);
269 $renderer->form->addHidden($fieldid . "[$field]", $vals[$field]);
272 $check_data = $vals['multi'] ? array('checked' => 'checked') : array();
273 …$cells = array(form_makeField('text', $fieldid . '[title]', $vals['title'], $this->getLang('title'…
278 $vals['type'],
282 …form_makeField('text', $fieldid . '[comment]', $vals['comment'], $this->getLang('comment'), '', 'd…