tableName, $this->name, "set('" . implode("','", $this->enum) . "') character set utf8 collate utf8_general_ci default '{$this->default}'"); } /** * Return a {@link CheckboxSetField} suitable for editing this field */ function formField($title = null, $name = null, $hasEmpty = false, $value = "", $form = null) { if(!$title) $title = $this->name; if(!$name) $name = $this->name; $field = new CheckboxSetField($name, $title, $this->enumValues($hasEmpty), $value, $form); return $field; } } ?>