[drupal-devel] clipper and relations

Kristjan Jansen kristjan.jansen at gmail.com
Wed Sep 7 07:36:56 UTC 2005


On 9/7/05, Boris Mann <borismann at gmail.com> wrote:
> 
> On 6-Sep-05, at 11:52 PM, Kristjan Jansen wrote:
> 
> > My .02 on this:
> >
> > 1.  I do not get the inverse order in clipper.module:
> >
> >
> >> 12 parent-child 15 means that node 12 is parent of 15
> >> 45 child-parent 10 means that 10 is parent of 45
> >>
> >
> > Why not just write '10 parent-child 45' ?
> 
> Thinking about this today, we can actually probably just do "12
> clipper-parent 15". Actually, parent-child would be modeled by
> default in the relation.module, but it lets me illustrate that we'll
> standardize on $modulename-relation.

aha, so you are hinting that there gonna be a default set of relations
defined in relation.inc like

relation_parent_child
relation_child_parent
relation_*

somehow i tend to prefer underscores, it's kinda matching the _hook
naming conventions

k



relation-



More information about the drupal-devel mailing list