I have problem like that - have 3 tables, for example Clients, Hats, Tshirts. Each Client have one Hat and one Tshirt relation. I made this like that:
`
ClientsModel:
var $name = 'Client';
var $belongsTo = 'Hat';
var $belongsTo = 'Tshirt';
HatModel:
var $name = 'Hat';
var $hasMany = 'Client';
TshirtModel:
var $name = 'Tshirt';
var $hasMany = 'Client';
`
I cant display indext.ctp of Clients View, the error is: ` Fatal Error
Error: Cannot redeclare Cleint::$belongsTo
File: /var/www/uat/app/Model/Client.php
`
How to deal with that relation in my database?