标签: cakephp
I have one CompanyConroller connect with companies table. 如何通过SubadminController调用获取公司表值?
I have one CompanyConroller connect with companies table.
如何通过SubadminController调用获取公司表值?
答案 0 :(得分:1)
您可以通过在Subadmin模型
var $belongsTo = array("Company");
或
var $hasMany = array("Company");