2017 © Pedro PelĂĄez
 

symfony-bundle sonata-admin-print-bundle

Allows to print entities

image

indigophp/sonata-admin-print-bundle

Allows to print entities

  • Friday, January 20, 2017
  • by mark.sagikazar
  • Repository
  • 1 Watchers
  • 1 Stars
  • 241 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

Indigo Sonata Admin Print Bundle

Latest Version Software License Total Downloads, (*1)

Allows to print entities., (*2)

Install

Via Composer, (*3)

``` bash $ composer require indigophp/sonata-admin-print-bundle, (*4)



## Usage First of all you need to be familiar with the process of creating a custom action. See instructions [here](https://sonata-project.org/bundles/admin/master/doc/cookbook/recipe_custom_action.html). 1. Use `Indigo\SonataAdminPrintBundle\Admin\PrintAdmin` trait in your custom admin class. 2. Use `Indigo\SonataAdminPrintBundle\Controller\CRUDPrintController` trait in your custom admin controller. Make sure you pass in the controller name as an argument in the service definition. (Check the above link to learn how to do that) 3. In the `configureListFields` method configure an action called `print`. You need to set the template manually to `SonataAdminPrintBundle::list__action_print.html.twig` like this: ``` php ->add('_action', 'actions', array( 'actions' => array( 'show' => array(), 'edit' => array(), 'delete' => array(), 'print' => array( 'template' => 'SonataAdminPrintBundle::list__action_print.html.twig', ), ) ))

Testing

bash $ composer test, (*5)

Contributing

Please see CONTRIBUTING for details., (*6)

Security

If you discover any security related issues, please contact us at security@indigophp.com., (*7)

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

20/01 2017

dev-master

9999999-dev https://indigophp.com

Allows to print entities

  Sources   Download

MIT

The Requires

 

by MĂĄrk SĂĄgi-KazĂĄr

print

20/01 2017

v0.1.0

0.1.0.0 https://indigophp.com

Allows to print entities

  Sources   Download

MIT

The Requires

 

by MĂĄrk SĂĄgi-KazĂĄr

print