There are no set laws that specifically give students rights in class. The rights you have are the same whether you are in class or not-see the Constitution for more information. Basically, each school district, school or teacher can limit your rights to some degree and not breach any laws ie. freedom of speech, you can freely say whatever you want in class that does not mean there are no consequences from that right. This is because you can infringe on the rights of others.
But simply I cannot give you a definite answer. You would need to specifically define an issue.