It shall be the duty of the police appointed to duty in said public parks, without warrant, forthwith to arrest any offender against the rules and regulations ordained by the county commissioners that they may detect in the commission of such offense, and to take the person so arrested forthwith before a magistrate, alderman or justice of the peace having competent jurisdiction.
16 P.S. § 6034