Let's say I have 2 table.
One is floor, another is shop.
Inside floor table : id, floor_name
Inside shop table: id, name, floor_id.
Meanwhile, the association is: one floor hasMany shop, one shop hasOne floor.
ok , the question is ..
How can I get the floor_name data directly while I'm only able to get the floor_id in my view ?
Example: I display all of the shop data as
$shop['Shop']['name'], $shop['Shop']['floor_id'],
which in my /shops/main
I want the $shop['Shop']['floor_id'] field display the $floor['Floor']['floor_name'] data ? possible ?