CCP 595     

Art. 595.  Award of expenses of litigation; security for costs

A.  The court may allow the representative parties their reasonable expenses of litigation, including attorney's fees, when as a result of the class action a fund is made available, or a recovery or compromise is had which is beneficial, to the class.

B.  The court, on contradictory motion at any stage of the proceeding in the trial court prior to judgment, may require the plaintiff in a class action to furnish security for the court costs which a defendant may be compelled to pay.  This security for costs may be increased or decreased by the court, on contradictory motion of any interested party, on a showing that the security furnished has become inadequate or excessive.