Marc Rasmussen
Marc Rasmussen

Reputation: 20555

CakePHP: using several tables with one model

I have the following database tables:

Since these are so close connected I want to create one model that uses all of these.

Is this possible in CakePHP? And if so how?

Upvotes: 0

Views: 51

Answers (1)

Fyntasia
Fyntasia

Reputation: 1143

You can add relations between models in cakephp by association.

Here's the reference page

Good luck!

Upvotes: 1

Related Questions