"The node_get_names() function no longer exists. Please use node_get_types('name', $node) instead. Similarly, the node_get_base() function no longer exists. Please use node_get_types('module', $node) instead."

Which did not apply to my situation since it was already there in the code. In the api there is no mention of a change in the functions behavior either. Previously I was getting the right behaviour by just calling the function without the parameters. I was confused by the explicit call to 'names' or 'types' when I need both in the same call. I was used to node_get_types() in 4.7 then the behaviour that has changed with no mention of how to accomplish the same. I know someone else will want to do this and may be confused as I was, hence my post.
 
Carl Mc Dade
____________________________
Web Developer


 


----- Original Message ----
From: Robert Douglass <rob@robshouse.net>
To: development@drupal.org
Sent: Wednesday, February 14, 2007 1:32:12 PM
Subject: Re: [development] node_get_types() D5 and php5

The process of updating your modules will be easier with this reference:
http://drupal.org/node/64279

node_get_types changes are covered there as well.

-RD

--
* * * * *
Lullabot's First Ever Advanced Workshops Are Here!
Drupal API & Module Building - Advanced Drupal Themeing
April 9th-13th - Providence, RI
Early Bird Discounts Available Now
http://www.lullabot.com/training
* * * * *




Want to start your own business? Learn how on Yahoo! Small Business.