How to pass a vector from a view to a controller?

1

I have a view that will print a report on the screen. I put a button and I'm doing a function to export this report to excel. My question is:

How to send this data in an array to my controller?

My button is like this, Via get I can only pass a variable.

echo $this->Html->link('Exportar', array('controller' => 'reports', 'action' => 'export', $prospects), array('class' => 'btn btn-primary'));
    
asked by anonymous 26.01.2015 / 13:03

0 answers