Suryanto,

<?php

/**
 * sfFPDF actions.
 *
 * @package    sfFPDFPlugin
 * @author     Dustin Whittle
 * @version    SVN: $Id$
 */
class sfFPDFActions extends sfActions
{
  /**
   * Executes test action
   *
   */
  public function executeTest()
  {
    $pdf = new sfFPDF();
    $pdf->AddPage();
    $pdf->SetFont('Arial','B',16);
    $pdf->Cell(40,10,'Hello World!');
    $pdf->Output();

        return sfView::NONE;
  }
}


On Feb 26, 12:26 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Anybody know how to use FPDF plugin in symfony? any snippets? Thanks.
>
> --
> Suryanto Rachmat


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to