[development] node_get_types() D5 and php5
Earl Miles
merlin at logrus.com
Wed Feb 14 16:19:52 UTC 2007
Carl Mc Dade wrote:
>
>
> "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
Really? Compare:
http://api.drupal.org/api/4.7/function/node_get_types
to
http://api.drupal.org/api/head/function/node_get_types
The return value is notably different.
I realize not every single detail is covered in the updating modules page, but
the change IS documented in the api.
More information about the development
mailing list