public function addField(Nextgen_Core_TableField $tableField) { $fieldName = $tableField->getName(); $this->fields[$fieldName] = $tableField; }