Lines Matching defs:field
133 foreach ($schemadata as $field) {
134 $label = $field->getColumn()->getLabel();
143 $field->setValue($data, true);
145 $html .= $this->makeField($field, self::$VAR . "[$tablename][$label]");
153 * Create the input field
155 * @param Value $field
156 * @param String $name field's name
159 public function makeField(Value $field, $name)
161 $trans = hsc($field->getColumn()->getTranslatedLabel());
162 $hint = hsc($field->getColumn()->getTranslatedHint());
164 $colname = $field->getColumn()->getFullQualifiedLabel();
167 $input = $field->getValueEditor($name, $id);
169 // we keep all the custom form stuff the field might produce, but hide it
170 if (!$field->getColumn()->isVisibleInEditor()) {
176 $html = '<div class="field">';