Any standard code adopted and approved by a city of the first class, city of the second class, or village as provided in section 18-132 and the building permit requirements or occupancy permit requirements imposed by any such code or by section 19-913 shall apply to all of the city or village and within the extraterritorial zoning jurisdiction of such city or village.