Cakephp how to pass array from view to controller
<p>Using Cakephp 2 i am trying to select one or many records clicking into a checkbox, from a list 
named my_id[] :</p>

<pre><code>&lt;input type="checkbox" name="my_id[]" value="&lt;?php echo $Myobj['My']['id']; ?&gt;
</code></pre>

<p>I have a link to the controller processBatch method but did not know how to pass the array of selected data using the checkbox into the view file.</p>

<pre><code>&lt;?= $this-&gt;Html-&gt;link('Batch process','proccessBatch')?&gt;
</code></pre>

<p>I am trying :</p>

<pre><code>public function proccessBatch( ) //array of $ids  
{        
    pr($this-&gt;request);
</code></pre>

<p>But did not see $this-request->data. How can i get the checkbox selected values ?</p>