§8A-9-6. Action by circuit court or judge.
(a) The court or judge may consider and determine the sufficiency of the allegations of illegality contained in the petition without further pleadings and may make a determination and render a judgment with reference to the legality of the decision or order of the planning commission, board of subdivision and land development appeals, or board of zoning appeals on the facts set out in the petition and return to the writ of certiorari.

(b) If it appears to the court or judge that testimony is necessary for the proper disposition of the matter, the court or judge may take evidence to supplement the evidence and facts disclosed by the petition and return to the writ of certiorari, but no such review shall be by trial de novo.

(c) In passing upon the legality of the decision or order of the planning commission, board of subdivision and land development appeals, or board of zoning appeals, the court or judge may reverse, affirm or modify, in whole or in part, the decision or order.