On Jul 5, 6:03 pm, Ketan Patel <[EMAIL PROTECTED]> wrote:
> Currently I do
>
> <?php echo $this->element('tagCloud', array('cache'=>'+1 day')); ?>
>
> Element 'tagCloud' :
> <?php $this->requestAction('controller'=>'tag',
> 'action'=>'generateTagCloud'); ?>
>
> What I would want to do is to have a cached element individual to each
> user? So it could be like 'tagCloud_user1', 'tagCloud_user2',... & so
> on. but I could n't find anything in the code that really does that?
<snip>
What about passing params?
$this->element('tagCloud', array('cache'=>'+1 day', 'user_id'=>10)
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---