In Symfony, How to iterate over the data returned by doSelect?
In Propel ( using in Symfony ), I am using the following:
$data = ObjectPeer::doSelect($myCriteria); // $myCriteria is Criteria Object
开发者_JAVA技巧How can I iterate over the $data?
I guess:
foreach ($data as $object)
精彩评论