开发者

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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜