hook_views_pre_render -> how to access variables I have a view of teasers, and would like to check the status of each node. 
Using hook_views_pre_render (in the template.php file of the theme), I can access:

$view-&gt;style_plugin-&gt;row_plugin


Which gives me the output below (only first few lines printed, using debug):

entity_views_plugin_row_entity_view::__set_state(array(
 'entity_type' =&gt; 'node',
 'entities' =&gt; 
 array (
  0 =&gt; 
  stdClass::__set_state(array(
     'vid' =&gt; '19',
     'uid' =&gt; '1',
     'title' =&gt; 'My Node Title',
     'log' =&gt; '',
     'status' =&gt; '0',
     'comment' =&gt; '1',
     'promote' =&gt; '0',


However, I can't figure out how to access the status variable. 

debug($view-&gt;style_plugin-&gt;row_plugin-&gt;entities());


produces a white screen, any variation that I tried either returned NULL or a white screen. 

Any help greatly appreciated.
Install the Devel module if you haven't already and use dpm($view); to see the structure of the view, then you can drill down to the part of the variable that you wish to inspect.

The devel module will print the result of your dpm() in the message area as long as there are no syntax errors in your module crashing the site.

I have found drush cc all (Linux command line tool) to be useful in finding syntax errors though I suspect there is a better way.