After the petition has been filed as herein provided, the elections official shall examine the petition and certify the results in the same manner as are county petitions in Sections 9114 and 9115 except that, for the purposes of this section, references to the board of supervisors shall be treated as references to the legislative body of the city.