Thank you and everybody who helped me in these days!

  ----- Original Message ----- 
  From: Bill Karwin 
  To: José de Menezes Soares Neto ; [email protected] 
  Sent: Friday, March 23, 2007 2:50 PM
  Subject: RE: [fw-general] How to print object of type Zend_Db_Table_Rowset 
with smarty?


  You might want to use the Rowset->toArray() method.

   

  Regards,

  Bill Karwin

   


------------------------------------------------------------------------------

  From: José de Menezes Soares Neto [mailto:[EMAIL PROTECTED] 
  Sent: Friday, March 23, 2007 10:27 AM
  To: [email protected]
  Subject: [fw-general] How to print object of type Zend_Db_Table_Rowset with 
smarty?

   

  How to print object of type Zend_Db_Table_Rowset with smarty?

  That is the really question :))

  Look:

  // Album extends Zend_Db_Table
  $album = new Album(); 

  // I get all the rows from table ALBUM
  $album = $album->fetchAll();

  // Smarty assign
  $smarty->assign('album', $album);

  And I don´t know how to put this in the TPL file...

Reply via email to