(m) (1) A summary judgment entered under this section is an appealable judgment as in other cases. Upon entry of any order pursuant to this section, except the entry of summary judgment, a party may, within 20 days after service upon him or her of a written notice of entry of the order, petition an appropriate reviewing court for a peremptory writ. If the notice is served by mail, the initial period within which to file the petition shall be increased by five days if the place of address is within the State of California, 10 days if the place of address is outside the State of California but within the United States, and 20 days if the place of address is outside the United States. If the notice is served by facsimile transmission, Express Mail, or another method of delivery providing for overnight delivery, the initial period within which to file the petition shall be increased by two court days. The superior court may, for good cause, and prior to the expiration of the initial period, extend the time for one additional period not to exceed 10 days.
(2) Before a reviewing court affirms an order granting summary judgment or summary adjudication on a ground not relied upon by the trial court, the reviewing court shall afford the parties an opportunity to present their views on the issue by submitting supplemental briefs. The supplemental briefing may include an argument that additional evidence relating to that ground exists, but that the party has not had an adequate opportunity to present the evidence or to conduct discovery on the issue. The court may reverse or remand based upon the supplemental briefing to allow the parties to present additional evidence or to conduct discovery on the issue. If the court fails to allow supplemental briefing, a rehearing shall be ordered upon timely petition of any party.
(n) (1) If a motion for summary adjudication is granted, at the trial of the action, the cause or causes of action within the action, affirmative defense or defenses, claim for damages, or issue or issues of duty as to the motion which has been granted shall be deemed to be established and the action shall proceed as to the cause or causes of action, affirmative defense or defenses, claim for damages, or issue or issues of duty remaining.
(2) In the trial of the action, the fact that a motion for summary adjudication is granted as to one or more causes of action, affirmative defenses, claims for damages, or issues of duty within the action shall not operate to bar any cause of action, affirmative defense, claim for damages, or issue of duty as to which summary adjudication was either not sought or denied.
(3) In the trial of an action, neither a party, nor a witness, nor the court shall comment upon the grant or denial of a motion for summary adjudication to a jury.
(o) A cause of action has no merit if either of the following exists:
(1) One or more of the elements of the cause of action cannot be separately established, even if that element is separately pleaded.
(2) A defendant establishes an affirmative defense to that cause of action.
(p) For purposes of motions for summary judgment and summary adjudication:
(1) A plaintiff or cross-complainant has met his or her burden of showing that there is no defense to a cause of action if that party has proved each element of the cause of action entitling the party to judgment on that cause of action. Once the plaintiff or cross-complainant has met that burden, the burden shifts to the defendant or cross-defendant to show that a triable issue of one or more material facts exists as to that cause of action or a defense thereto. The defendant or cross-defendant may not rely upon the mere allegations or denials of its pleadings to show that a triable issue of material fact exists but, instead, shall set forth the specific facts showing that a triable issue of material fact exists as to that cause of action or a defense thereto.
(2) A defendant or cross-defendant has met his or her burden of showing that a cause of action has no merit if that party has shown that one or more elements of the cause of action, even if not separately pleaded, cannot be established, or that there is a complete defense to that cause of action. Once the defendant or cross-defendant has met that burden, the burden shifts to the plaintiff or cross-complainant to show that a triable issue of one or more material facts exists as to that cause of action or a defense thereto. The plaintiff or cross-complainant may not rely upon the mere allegations or denials of its pleadings to show that a triable issue of material fact exists but, instead, shall set forth the specific facts showing that a triable issue of material fact exists as to that cause of action or a defense thereto.
(q) This section does not extend the period for trial provided by Section 1170.5.
(r) Subdivisions (a) and (b) do not apply to actions brought pursuant to Chapter 4 (commencing with Section 1159) of Title 3 of Part 3.
(s) (1) Notwithstanding subdivision (f), a party may move for summary adjudication of a legal issue or a claim for damages other than punitive damages that does not completely dispose of a cause of action, an affirmative defense, or an issue of duty.
(2) This motion may be brought only upon the stipulation of the parties whose claims or defenses are put at issue by the motion and a prior determination and order by the court that the motion will further the interests of judicial economy, by reducing the time to be consumed in trial, or significantly increase the ability of the parties to resolve the case by settlement.
(3) Before a motion may be filed pursuant to this subdivision, the parties shall submit to the court a joint stipulation clearly setting forth the issue or issues to be adjudicated, with a declaration from each stipulating party demonstrating that a ruling on the motion will further the interests of judicial economy by reducing the time to be consumed in trial or significantly increasing the probability of settlement. Within 15 days of the court's receipt of the stipulation and declarations, unless the court has good cause for extending the time in which to make the determination, the court shall notify the submitting parties as to whether the motion may be filed. If the court elects not to allow the filing of the motion, the stipulating parties may request, and upon that request the court shall conduct, an informal conference with the stipulating parties to permit further evaluation of the proposed stipulation; but no further papers may be filed by the parties in support of the proposed motion.
(4) Any motion for summary adjudication brought under this subdivision shall contain the following language, or its substantial equivalent, in the notice of motion:
"This motion is made pursuant to subdivision (s) of Section 437c of the Code of Civil Procedure. The parties to this motion stipulate that the court shall hear the motion and that the resolution of this motion will either further the interests of judicial economy by reducing the time to be consumed in trial or significantly increase the ability of the parties to resolve the case by settlement."
(5) The notice of motion shall be signed by counsel for all parties, and by those parties in propia persona, to the motion.
(6) The joint stipulation shall be served on all parties, if any, who are not parties to the motion specified in paragraph (1). If, within 10 days of the submission of the stipulation, any nonstipulating party files an objection to the determination of the issue, the court may consider the objection in determining whether or not to allow the motion to be filed.
(7) A motion for summary adjudication brought pursuant to this subdivision may be made by itself or as an alternative to a motion for summary judgment and shall proceed in all procedural respects as a motion for summary judgment.
(t) For the purposes of this section, a change in law does not include a later enacted statute without retroactive application.
(u) This section shall remain in effect only until January 1, 2015, and as of that date is repealed, unless a later enacted statute, that is enacted before January 1, 2015, deletes or extends that date.
437c. (a) Any party may move for summary judgment in any action or proceeding if it is contended that the action has no merit or that there is no defense to the action or proceeding. The motion may be made at any time after 60 days have elapsed since the general appearance in the action or proceeding of each party against whom the motion is directed or at any earlier time after the general appearance that the court,