开发者

Symfony/Doctrine: custom find() function

I want to extend the Doctrine_core::getTable('table_name')->find('id') to increme开发者_如何学编程nt the table_name.view_count field each time it is executed. Is this possible?


I think it's not a good practice to put a such functionality into model.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜