[drupal-devel] [feature] Allow node_load($nid)

adrian drupal-devel at drupal.org
Thu Jun 23 18:53:46 UTC 2005


Issue status update for http://drupal.org/node/25634

 Project:      Drupal
 Version:      cvs
 Component:    node system
 Category:     feature requests
 Priority:     normal
 Assigned to:  chx
 Reported by:  chx
 Updated by:   adrian
 Status:       patch

I am going to +1 this.


node_load(x) is much more natural to type. Having it use an array if
found is useful too though.




adrian



Previous comments:
------------------------------------------------------------------------

June 23, 2005 - 20:37 : chx

Attachment: http://drupal.org/files/issues/node_load.patch (2.23 KB)

I am fed up writing node_load(array('nid' => $nid)) all the time.


BTW. if this is accepted, next is node_view to accept a $nid.




------------------------------------------------------------------------

June 23, 2005 - 20:41 : chx

Attachment: http://drupal.org/files/issues/node_load_0.patch (2.23 KB)







More information about the drupal-devel mailing list