And that is exactly the information I needed - I WAS going about it the
wrong way, and that 'multiple relations' link you provided set me straight.
Definitely a case of RTFM, though I think I had looked at that very early
on in the learning process and not got my head round it. Whereas now it
You are welcome MarkB
And thank you for reporting back :)
John
On Monday, 12 October 2015 17:49:43 UTC+3, MarkB wrote:
>
> And that is exactly the information I needed - I WAS going about it the
> wrong way, and that 'multiple relations' link you provided set me straight.
> Definitely a case
You have not provided any information on how the Request and User are
related in your models.
Request belongsTo Provider(User)
Request belongsTo School(User)
Provider(User) hasMany Request
School(User) hasMany Request
Those two relationships can be defined in the models. Have you done so?
See
Hi,
Over the past year I have built a very unwieldy complex event management
system for an education science festival as my first CakePHP project but I
am having trouble getting my head around what is probably a very basic
CakePHP problem. I may even be going about this completely the wrong