function alterTables() { $this->loadAdapter(); $CI = new CI(-1); $CIA = $CI->newAttributes(); switch ($this->A("PatchType")) { case "mysql": $v = explode("\n", $this->A("PatchValue")); foreach ($v as $key => $value) { $CIA->MySQL = $value; $this->Adapter->alterTable($CIA); } break; } }