@@ -538,6 +538,10 @@ |
||
538 | 538 | return new Folder(); |
539 | 539 | } |
540 | 540 | |
541 | + /** |
|
542 | + * @param string $childrenMethod |
|
543 | + * @param string $numChildrenMethod |
|
544 | + */ |
|
541 | 545 | public function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $numChildrenMethod = null, $filterFunction = null, $minNodeCount = 30) { |
542 | 546 | if (!$childrenMethod) $childrenMethod = 'ChildFolders'; |
543 | 547 | if (!$numChildrenMethod) $numChildrenMethod = 'numChildFolders'; |