(a) Opinions.--Subject to regulation by council in accordance with subsection (b), the city solicitor shall submit a written opinion on questions of law submitted by any of the following:
(1) Council.
(2) The mayor.
(3) Any other elected city official.
(4) Any appointed city official designated by council as authorized to request a written legal opinion.
(b) Regulation.--Council may provide for the regulation of the manner in which questions are presented to the city solicitor by any elected or appointed city official and may limit the questions submitted in the manner as council may direct.