Changed method setType to setColumnData because setType is a PHP built in function
Implemented setColumnName