Commit be1f8391 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 6fd10807
...@@ -144,6 +144,10 @@ class Phonenumber extends Doctrine_Record ...@@ -144,6 +144,10 @@ class Phonenumber extends Doctrine_Record
+++ Tree structure +++ Tree structure
A tree structure is a self-referencing foreign key relation. The following definition is also called Adjacency List implementation in terms of hierarchical data concepts.
However this mainly just serves as an example how the self-referencing can be done. The definition above is rarely a good way of expressing hierarchical data, hence you should take a look at the Hierachical data chapter for how to set up efficient parent/child relations.
<code type="php"> <code type="php">
class Task extends Doctrine_Record class Task extends Doctrine_Record
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment