name = $aName; } function getName() { return $this->name; } function getType() { return $this->type; } function getDefaultValue() { return $this->defaultValue; } function getAttributes() { return $this->attributes; } function getMysql() { $sql = ""; $sql .= " " . $this->getName() . " " . $this->getType() . " " . $this->getAttributes(); $sql .= "\n\n"; return $sql; } function setType ($aType) { $this->type = $aType; } function setAttributes ($someAttributes) { $this->attributes = $someAttributes; } function setDefaultValue ($someAttributes) { $this->defaultValue = $someAttributes; } function destroyColumn () { settype(&$this, 'null'); } } ?>