The attorney shall be the legal adviser of the village and shall render advice on all legal questions affecting the village whenever requested to do so by the village president or any member of the board of trustees. Upon request by the president or the board of trustees he shall reduce any such opinion to writing and upon request by the board he shall render an opinion to any officer of the village with regard to his duties or powers.
(1968 Code § 5.01)