It shall be a sufficient statement of the cause of action in any such complaint or warrant, to set forth substantially, and with reasonable certainty, the act or offense complained of, the date, the time when, and place where committed, and alleging a violation of an ordinance of the city, referring to the ordinance number and section, and signed by the enforcement officer or official.
It shall not be necessary in any suit, proceeding, or prosecution for the violation of any ordinance, to state or set forth such ordinance or any of the provisions thereof, in any complaint, warrant, process, or pleading therein, but the same shall be deemed sufficiently set forth or stated by reciting its number.