Learn Drupal
Monday, December 16, 2013
Check whether a view is empty or not
$view = views_get_view('today_deal_
cupon2');
$view->set_arguments(array($
bid));
$view->execute();
$view->render();
$view->set_display('default');
$output = $view->preview();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment