Any hierarchical Data Support in Doctrine 2? -
In principle 1, I think it supports sequential data support? Is there anybody in principle 2?
UPDATE 1
OK, so I used to experiment. I have some questions
insert one node
// $ 1 in the document; new1 (new) square; $ Child 1- & gt; Name = 'child category 1'; $ Child2 = new square (); $ Child2- & gt; Name = 'child category 2'; $ Range & gt; AddChild ($ child1); $ Range & gt; AddChild ($ child2); It seems to me that $ root = $ nsm-> Make something like Root ($ category); $ Root- & gt; AddChild ($ child1); $ Root- & gt; AddChild ($ child2);
Similarly, to add sub children
$ child2wrapper = $ root- & gt; Add Chald ($ child2); $ Child2wrapper- & gt; AddChild ($ newChild);
There are more trees except 2 root areas.
Say I want many trees, I see that the extension does not populate my root
field?
You can view this link:
Comments
Post a Comment