Here is the context:
I want to store theorems objects in my database.
A theorem as many sons and many fathers.
So it's a graph and not a simple tree.

I can't create a table like (id, theorem_id, theorem_id) : this
syntaxe is forbidden

An ugly solution : (id, parentid, theorem_id), with added code in
controllers

Do you see a better way todo ? Can cakephp do such things ?

Thank you =)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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