Lines Matching defs:col
62 foreach ($this->schema->getColumns() as $col) {
63 $form->addHTML($this->adminColumn($col->getColref(), $col));
110 * @param Column $col
115 protected function adminColumn($column_id, Column $col, $key = 'cols')
119 $class = $col->isEnabled() ? '' : 'disabled';
124 $html .= '<input type="text" name="' . $base . '[sort]" value="' . hsc($col->getSort()) . '" size="3">';
128 $html .= '<input type="text" name="' . $base . '[label]" value="' . hsc($col->getType()->getLabel()) . '">';
132 $checked = $col->getType()->isMulti() ? 'checked="checked"' : '';
137 $config = json_encode($col->getType()->getConfig(), JSON_PRETTY_PRINT);
147 $selected = ($col->getType()->getClass() == $type) ? 'selected="selected"' : '';
155 $checked = $col->isEnabled() ? 'checked="checked"' : '';