Hi,

I made an Admin Class Sonata that has a method:

*protected function configureDatagridFilters(DatagridMapper 
$datagridMapper)*
*    {*
*        $query = $this->getConfigurationPool()*
*            ->getContainer()*
*            ->get('Doctrine')*
*            ->getRepository(AppBundle:Produto')*
*            ->filterByProduto();*

*       $datagridMapper->add('produto.descricao', null, array(*
*            'label' => 'Produto'*
*        ), null, array(*
*            'expanded' => false,*
*            'multiple' => true,*
*            'query_builder' => $query*
*        ));*
*    }*


 and I would like the outcome of this consultation was exported to a .txt 
file.


What would be the correct way to perform this procedure via Sonata, please?


Thank you,
Aline.

-- 
You received this message because you are subscribed to the Google Groups 
"sonata-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sonata-users+unsubscr...@googlegroups.com.
To post to this group, send email to sonata-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sonata-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to