I am using simple views custom field handler. And I would like to make list of custom tokens for this $ data array I have. How could I do that?
class custom_views_handler_field_hostname extends views_handler_field { function render($ value) { $ location = get_some_data_from_outside; foreach ($ location as $ key => $ value) { $ data [] = $ key. ': ' . $ value; } if (!is_array($ value)) { return theme('item_list', array( 'items' => $ data, 'title' => NULL, 'type' => 'ul' )); } }
The post Views Custom Field Handlers tokens appeared first on 100% Private Proxies - Fast, Anonymous, Quality, Unlimited USA Private Proxy!.