Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Component/s: Document
    • Labels:
    • Environment:
      no haru extension available

      Description

      I have followed the very simple example in the documentation:
      $pdf = new ezcDocumentPdf();
      $pdf->options->driver = new ezcDocumentPdfTcpdfDriver();

      this throws an error, because ezcDocumentPdf generates ezcDocumentPdfHaruDriver already in the construct method.
      So the right example would be:
      $pdf = new ezcDocumentPdf(
      new ezcDocumentPdfOptions(
      array( 'driver' => new ezcDocumentPdfTcpdfDriver() )
      )
      );

      I think this is an esier change, than move the default behavier to another place.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              flyingmana Daniel Fahlke
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: