It shall be the duty of the judge of the municipal court to preside over the municipal court, with full power and authority to issue warrants for the violation of any municipal ordinance, and to hold such court, and at such times and places and under such rules and regulations as are prescribed by this charter, or by ordinance or by court rule for the trial of offenders, and to impose such penalties for a violation thereof as may be prescribed by ordinance, and he shall have full power and authority incident to or belonging to the office of the magistrate, except for the trial of civil cases.