阅读背景:

CakePHP:包含模型相关数据字段的虚拟字段

来源:互联网 

I've got a model Employee which belongsTo an Address-model. When I fetch data from the Employees model, the associated Address record gets fetched too. Additionally, the Address model has a virtualField full_name. This looks like this:I've got a model Employee which belongsTo an Ad




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: