Section 6.6  City Attorney.
   (a)   The City Council shall appoint the City Attorney who shall be legal advisor and counsel for the City and for all officers and departments thereof in all matters relating to their official duties. He shall file a copy of all written opinions given by him with the City Clerk. He shall prepare or review all Ordinances, regulations, contracts, bonds, and other such instruments as may be required by this Charter, the Council, or law, and shall promptly give his opinion as to the legality thereof.
   (b)   He shall prosecute ordinance violations and shall represent the City in cases before the courts and other tribunals. In such instances as the Council shall direct, he shall defend officers and employees of the City in actions arising out of the performance of their official duties.
   (c)   Upon the City Attorney's recommendation, or upon its own initiative, the Council may retain special legal counsel to handle any matter in which the City has an interest, or to assist the City Attorney.
   (d)   He shall perform such other duties in connection with his office as may be prescribed for him by this Charter or the City Council.