(a) The Director of Law shall be furnished an office convenient to the criminal branch of the Municipal Court. He or she shall have power to recommend a nolle prosequi in any case commenced in such Court for the violation of a City ordinance, and shall, from time to time, recommend the passage of such ordinances as may be necessary to prevent crime and maintain the police regulations of the City.
(b) He or she shall prosecute to collection all fines and penalties imposed by the criminal branch of the Municipal Court, and shall take care that all fees, penalties or fines collected by any officer are promptly paid into the City Treasury. He or she shall attend to every process in error or habeas corpus issued from courts superior to such Court in all City cases.