Quantcast
Channel: handlers – 100% Private Proxies – Fast, Anonymous, Quality, Unlimited USA Private Proxy!
Viewing all articles
Browse latest Browse all 10

Views Custom Field Handlers tokens

$
0
0

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!.


Viewing all articles
Browse latest Browse all 10

Trending Articles