I don't see any mechanism to pass extra parameters (i.e., in addition to what's 
provided by the iterable) to a partialLoop. For example, I might have an action 
that does this:
$this->view->user = $user->name;$this->view->site = 
$user->site;$this->view->items = $user->getItems();
Then, in my view script:
Welcome, <?= $this->user ?>Here are your items:<?= 
$this->partialLoop('_item.phtml', $this->items) ?>
This works great so far, but now I want to access $this->view->site from inside 
the partial. How do I do that?
Thanks,Yog
_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1

Reply via email to