When in doubt, use debug($this->params) or Debugger::log($this->params)

You should be able to get it like so:

function add($id = null)
{
   ...

On Sun, Jan 18, 2009 at 12:41 PM, lirc201 <[email protected]> wrote:
>
> I'm passing a URL  /tickets/add/1 by using the following code
>
> <?php echo $html->link(__('Add Tickets', true), array
> ('controller'=>'tickets','action'=>'add', $venue['Venue']['id'])); ?>
>
> My question is how do I grab the $venue[Venue][id] value when it is
> passed to my Tickets controller?  Is it $this->data[id]?
>
> Thanks,
> Brian
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to