title: exporting csv in zend framework
body: <p>I know how to export a csv file in php. Now I want to do this task in zendframe work.</p>
  
  <p>1 I want to know is there any built in functionality that zend provides for this purposes or we have to write the same code that we use in simple php? </p>
  
  <p>2 If I have to use same code then where should I put that whether in model or controller?</p>
  
  <p>3 I have a view where user can select start date, last date and user andthen press enter. On the basis of that selection I want to exprot csv file.</p>
  
  <p>Any one guide me how to accomplish this task</p>