Both Serrano III, supra, and Mandel v. Lackner, supra, applied a doctrine which is a judicially developed exception to the general rule, codified in section 1021 of the Code of Civil Procedure, that attorney fees are not recoverable by a prevailing litigant in the absence of an agreement or statutory authorization. The so-called “equitable foundations” of the doctrine have been defined by the Supreme Court as follows: “‘[WJhen a class action or corporate derivative action results in the conferral of substantial benefits, whether of a pecuniary or nonpecuniary nature, upon the defendant in such an action, that defendant may, in the exercise of the court’s equitable discretion, be required to yield some of those benefits in the form of an award of attorney’s fees.’” (Serrano, III, p. 34; italics added.)
Serrano III points to three “equitable” theories upon which a successful litigant’s attorney can be compensated from the fruits of the litigation, or by the other side, in a particular case warranting departure from the general rule to the contrary. They are the “common fund” doctrine, the “substantial benefit” rule and the “private attorney general” concept. (Serrano III, pp. 31-32; 34-48.)
Both Serrano III, supra, and Mandel v. Lackner, supra, involved compensation for lawyers in public interest litigation where the prevailing parties were essentially “involuntary clients.” To require as starting point in every fee award matter a careful compilation of the time spent —where the “client” may be a large amorphous body of persons having no direct relation to no choice in the choosing of the lawyer serving in the common litigation—is most necessary. It is “obviously vital to the prestige of the bar and the courts.” (City of Detroit v. Grinnell Corp. (2d Cir. 1974) 495 F.2d 448, 470.) Such a rigid requirement, however, is not equally “vital” when such precipitating facts are not present.
Furthermore, there is no indication Serrano III intended to change long standing California decisions setting forth the principles under which attorney fees are to be set by a court in statutory and contractual settings. In fact, the court in Mandel, supra, did not perceive Serrano III as representing any change. (Mandel v. Lackner, supra, 92 Cal.App.3d 747, 756.)
California courts have long considered the time spent in litigating a case as only one of many factors to be considered by a trial court in awarding attorney fees. (See In re Marriage of Cueva (1978) 86 Cal.App.3d 290, 296, 300-303 [149 Cal.Rptr. 918] (dissolution proceeding);