Closed (fixed)
Project:
Node Family
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2007 at 12:44 UTC
Updated:
11 Mar 2007 at 14:49 UTC
As requested in issue 90838, I made a nodefamily API function out of the proposed _nodeprofile_relation_descendants_dive() function.
It's slightly different than the original - it doesn't include the argument content type in its return array, in order to provide greater flexibility and behave in a similar way to nodefamily_get_{parent,child}_types(). For consistency with existing nodefamily functions, I renamed it nodefamily_get_descendant_types(). Also, I thought it appropriate to include a similar function for retrieving ancestors, called nodefamily_get_ancestor_types().
Let's see how you like it :D
| Comment | File | Size | Author |
|---|---|---|---|
| nodefamily_get_ancestors_and_descendants.patch | 1.23 KB | jpetso |
Comments
Comment #1
fagothanks, great functions :)
committed to 5.x and HEAD.
Comment #2
(not verified) commented