Hello, I have the following model to implement, but I do not know how
to do it with CakePhp

1) A user has many items
2) items can be weapons, armours, food. Any different type of items
has a different table, with different attributes (for example, weapons
have damage attributes, armours have armourclass attribute etc etc)
3) A tipical functionality would be to show all the items a player
has, with all their attributes, Example:

Mister Z has in its inventory:

- dagger (4 damage)
- iron helmet (AC: 1)
- a white apple

How can I do it? I have to implement an item model/class and extend it
to represent weapons and so on or i can do it building an item model
and with association link it to the various other models (weapons,
armours etc. etc.)

Thanks

M.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to