Last updated December 20, 2011. Created by merlinofchaos on December 29, 2005.
Edited by diwant, linclark, joshmiller, Albert Volkman. Log in to edit this page.
If you want to grab the arguments of a view using PHP in Drupal 6.x or 7.x use the following:
<?php
// Let's get the current view
$view = views_get_current_view();
// Now we can get the views arguments
print $view->args;
?>This way, you can grab the arguments for use in the Header or Footer of the view.