Lines Matching defs:field
13 * Allows adding a single struct field as a bureaucracy field
15 * This class is used when a field of the type struct_field is encountered in the
80 * Creates the HTML for the field
99 // output the field
101 $field = $this->makeField($value, $params['name']);
102 $form->addElement($field);
190 * Create the input field
192 * @param Value $field
193 * @param String $name field's name
196 protected function makeField(Value $field, $name)
198 $trans = hsc($field->getColumn()->getTranslatedLabel());
199 $hint = hsc($field->getColumn()->getTranslatedHint());
202 $colname = $field->getColumn()->getFullQualifiedLabel();
206 $input = $field->getValueEditor($name, $id);
208 $html = '<div class="field">';
229 throw new StructException('Field \'%s\' not given in schema.field form', $colname);