tags:

views:

13

answers:

1

Hi,

I am very new to drupal and php, as I am a .net developer.

I understand the basic concept of hooks. When it comes to preprocess functions you have $var being passed into functions as an argument. How do you know what variables are available in the $var argument?

Also,

What preprocess function would I use in the case of custom view, where I am wanting to add a content to the header portion of the view based on the view's data?

A: 

If you want a list of all hooks offered by Views, see http://drupal.org/node/235062 and check the "External Links" section for API documentation of all available views hooks.

If you want to check what is in $var just print_r it to see what's going on in there


PS: an "acceptance rate" of 0% is not a good idea if you want to get future answers

DrColossos