Posted by drupalprojects on June 12, 2007 at 2:31pm
hi
I want to know if there any embedded function that allow me to determine filter type for current views. For example I've created a view to display all nodes with node type "PAGE" and added some filters to this view, for example filtering by taxonomy terms for certain vocabulary and filtering by "Node: Author is anonymous" (just an example!!!!).
I'm developing custom module for views so mu question is how do I determine if some view filers are related to taxonomy tasks and some is not?
Also I've got an array of my filters. Can anybody explain it's values?
<?php
Array
(
[0] => Array
(
[vid] => 1
[field] => term_node_1.tid
[label] =>
[optional] => 0
[is_default] => 0
[operator] => 1
[single] => 1
[position] => 0
[id] => term_node_1.tid
)
[1] => Array
(
[vid] => 1
[field] => term_data.vid
[label] =>
[optional] => 0
[is_default] => 0
[operator] => 1
[single] => 1
[position] => 1
[id] => term_data.vid
)
)
?>