[development] $book_node->parent blues

Bèr Kessels ber at webschuur.com
Sun Jul 16 14:53:07 UTC 2006


Apparently 'parent' is a reserved word, yet we use a 'parent' in our books. A 
node in a book has a $book_node->parent that contains the NID of its parent. 

I came across this when checking if a node is in the book, I wanted to see if 
$book_node->parent isset. After an hour of frustration, dprinting and so, I 
found that that is actually set, but that one cannot refer to it.

As I can hardly beleive that I am the first to bump into this: Am I missing an 
obvious point? Is there an issue for this if it really is like this?

| Bèr Kessels | webschuur.com | Drupal, Joomla and Ruby on Rails web 
development |
| Jabber & Google Talk: ber at jabber.webschuur.com |
| http://bler.webschuur.com | http://www.webschuur.com |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20060716/45ccf2e6/attachment.pgp

More information about the development mailing list