public function insert(UserType $ut) { $query = "INSERT INTO `user_type`(`description`) VALUES ('" . $ut->getDescription() . "')"; $this->con->openConnection(); $this->con->executeRawQuery($query); $this->con->closeConnection(); }