With respect to the county and chartered cities enacting this chapter, it is declared that this chapter is enacted pursuant to the authority conferred by their charters. With respect to the county and cities it is also enacted pursuant to the police powers conferred by Article XI, Section 7 of the California Constitution for the promotion and protection of the peace, health, safety and general welfare of the citizens within their respective jurisdictions. (Prior code § 20.01.028)