Is there an easy way to get several noads loaded into an array? I know node_load works for one node, but what if I have a large list of node ids that I want all data of?
+2
A:
there's no way around node_load as it calls all the load hooks for nodeapi. if you go around it you risk to miss some informations. it looks like in drupal7 there will be a function node_load_multiple() but i don't know how it copes with the nodeapi load hook issue.
if you don't care about extra info, you can just select directly from node or node_revision table using db_query.
gpilotino
2009-09-07 18:38:21
Thats exactly what I ended up doing.
RD
2009-09-07 18:49:44