Uploaded image for project: 'Zeta Components'
  1. Zeta Components
  2. ZETACOMP-56

ezcDocumentPdf documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • Document
    • 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

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

            Dates

              Created:
              Updated: