All fines or forfeitures collected upon conviction or upon the forfeiture of bail of any person charged with a violation of any of the provisions of this title shall be paid into the city treasury.