2017 © Pedro PelĆ”ez
 

symfony-bundle reportbundle

GeraĆ§Ć£o e padronizaĆ§Ć£o de relatĆ³rios

image

senailibrary/reportbundle

GeraĆ§Ć£o e padronizaĆ§Ć£o de relatĆ³rios

  • Tuesday, March 29, 2016
  • by senailibrary
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ReportBundle

The ReportBundle provides a standard template for quick creation of report form listing. It allows you to add basic calculations columns., (*1)

Installation

ReportBundle uses Composer, please checkout the composer website for more information., (*2)

The simple following command will install ReportBundle into your project. It also add a new entry in your composer.json and update the composer.lock as well., (*3)

$ composer require senailibrary/reportbundle:dev-master

Getting Started

<?php

    use SenaiLibrary\ReportBundle\Component\Report;

    public function pdfAction(Request $request) {
        $report = new Report();
        $collection = "your collection"
        $detail = new \SenaiLibrary\ReportBundle\Component\Detail($collection);

        $report->setTitle('Report Title')
                ->setShowPageNumber(true)
                ->setOrientation(Report::Portrait)
                ->addDetail($detail);
        return new \Symfony\Component\HttpFoundation\Response($report->renderPdf(), 200, array(
            'Content-Type' => 'application/pdf',
                )
        );
    }

The Versions

29/03 2016

dev-master

9999999-dev

GeraĆ§Ć£o e padronizaĆ§Ć£o de relatĆ³rios

  Sources   Download

MIT

The Requires

 

by Rafael S. Ribeiro

report bundle