View Single Post
  #2 (permalink)  
Old 07-09-2008, 04:23 PM
jweber jweber is offline
Senior Member
 
Join Date: Jun 2008
Location: Florida
Posts: 108
Default

I don't understand exactly what the problem you're having is, but if I understand correctly, then you can just assign the value to a view variable:

Code:
$this->view->year = Zend_Date();
From within a controller:
Code:
echo $this->view->year;
From within a view script:
Code:
echo $this->year;
Reply With Quote