How to fetch array in layout loop using zend framework
I have this in my controller method

     $data = array(1,2,3,4,'something');
     Zend_Layout::getMvcInstance()->assign('whatever', $data);

now i want to access this from layout file bu it just give array, how do i fetch array in layout

>  echo $this->layout()->whatever;





How to fetch array in layout loop using zend framework
===

I have this in my controller method

     $data = array(1,2,3,4,'something');
     Zend_Layout::getMvcInstance()->assign('whatever', $data);

now i want to access this from layout file bu it just give array, how do i fetch array in layout

>  echo $this->layout()->whatever;




