Get all the nodes in the system I've found node_load_multiple() which allows me to get all the nodes, but I need to specify some parameters, e.g. the type of node that I'd like to fetch.

I'd like to get all the nodes in the system without the criteria. How can I do that?
The easiest way would be to use entity_load()

$nodes = entity_load('node');


If you don't provide the second argument ($ids) it will load up all entities of the given type:


  $ids: An array of entity IDs, or FALSE to load all entities.


Just for the sake of completeness node_load_multiple() doesn't require the $conditions parameter so you could also grab all of the node ids from the database

$nids = db_query('SELECT nid FROM {node}')-&gt;fetchCol();


And then use $nids to load the nodes:

$nodes = node_load_multiple($nids);