Dear gurus I am curious and hope to know how views module's handler and plugins work,
Now i have PHPstorm and debug install on wamp and also firefox, and can some one tell me how to debug views handler and plugins.
thanks very much.

Comments

qqboy’s picture

beside this snippet can some one help us with different ideas.

  $view = views_get_view('view_name');
  $view->set_display('view_block_name');
  $view->set_arguments(array($tid));
  // change the amount of items to show
  $view->set_items_per_page(4);
  $view->pre_execute();
  $view->execute();
  print $view->render();

thanks.