且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

自我参照许多大会在CakePHP

更新时间:2023-01-17 20:11:29

正如neilcrookes指出,在CakePHP中这样做。 这里是其中之一,使用用户HABTM用户(朋友)作为例子。

As neilcrookes noted, there are some articles on this on the web about doing this in CakePHP. Here is one of them, using User HABTM User (friends) as an example.

在这个链接的文章中,你可以忽略User类定义后的一切,如果你不会在模型。

In that linked article, you can ignore everything after the User class definition if you aren't going to be paginating on the model.