(a) The health officer having jurisdiction over the area in which a public beach is created shall:
(1) Inspect the public beach to determine whether the standards established pursuant to Section 115880 are being complied with. If the health officer finds any violation of the standards, he or she may restrict the use of, or close, the
public beach or portion thereof in which the violation occurs until the standard is complied with.
(2) Investigate any complaint of a violation of any standard established by the department pursuant to Section 115880. If the health officer finds any violation of the standards prescribed by the department, he or she may restrict the use of, or close, the public beach or portion thereof until the standard is complied with. If the person who made the complaint is not satisfied with the action taken by the health officer, he or she may report the violation to the department. The department shall investigate the reported violation, and, if it finds that the violation exists, it may restrict the use of or close the public beach or portion thereof until the standard violated is complied with.
(3) Whenever a beach is posted, closed, or otherwise restricted in accordance with Section
115915, inform the agency responsible for the operation and maintenance of the public beach within 24 hours of the posting, closure, or restriction.
(4) Establish a telephone hotline to inform the public of all beaches currently closed, posted, or otherwise restricted. The hotline shall be updated as needed in order to convey changes in public health risks.
(5) Report any violation of the standards established pursuant to Section 115880 to the district attorney, or if the violation occurred in a city and, pursuant to Section 41803.5 of the Government Code, the city attorney is authorized to prosecute misdemeanors, to the city attorney.
(6) In the event of a known untreated sewage release, immediately test the waters adjacent to the public beach and to take action pursuant to regulations established under Sections
115880 and 115881.
(7) Notwithstanding any other provision of law, in the event of an untreated sewage release that is known to have reached recreational waters adjacent to a public beach, immediately close those waters until it has been determined by the local health officer that the waters are in compliance with the standards established pursuant to Section 115880.
(b) If the department is aware of an untreated sewage release that has reached recreational waters adjacent to a public beach, and that the local health officer has not taken action to close the beach, it may take action to close those waters until the waters are in compliance.
(c) Any duty imposed upon a local public officer or agency pursuant to this section shall be mandatory only during a fiscal year in which the Legislature has appropriated
sufficient funds, as determined by the State Public Health Officer, in the annual Budget Act or otherwise for local agencies to cover the costs to those agencies associated with the performance of these duties. The State Public Health Officer shall annually, within 15 days after enactment of the Budget Act, file a written statement with the Secretary of the Senate and with the Chief Clerk of the Assembly memorializing whether sufficient funds have been appropriated.