From: crash3k <schilling...@googlemail.com>
Date: Fri, 3 Jul 2009 11:56:37 -0700 (PDT)
Local: Fri 3 July 2009 19:56
Subject: adding a method to the nested set
Hi,
I've just started lerning Doctrine and Symfony
So... here's the method a want to add:
public function getDescendantsSorted($depth = null, $includeNode =
if ($includeNode) {
>addOrderBy("$baseAlias.lft asc");
}
if ($depth !== null) {
if ($orderBy != "")
$q = $this->_tree->returnQueryWithRootId($q, $this->getRootValue());
$result = $q->execute();
if (count($result) <= 0) {
return $result;
}
So is there a way of loading this method into the
given nested set class? Thanks in advance!
Greetings,
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||