Hi,

Does any one know how to use retrieveFirstChild() method to get node
object?

My code in action:
    $this->rootId = 326;
    $catRoot = Doc02CatPeer::retrieveByPK($this->rootId);
    $this->cats = $catRoot->getDescendants();   // this is ok, can get
current data

    $this->firstNode = $catRoot->retrieveFirstChild();  // It got
error message,

the error message in view model: "Fatal error: Call to a member
function getId() on a non-object in...."

My Nested Plugin version is 0.9.1-beta.

Any help and suggestions would be really appreciated.


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

Reply via email to