class twitter_views_handler_field_profile_url in Twitter 6.3
Same name and namespace in other branches
- 6.4 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_url
Hierarchy
- class \twitter_views_handler_field_profile_url extends \views_handler_field
Expanded class hierarchy of twitter_views_handler_field_profile_url
1 string reference to 'twitter_views_handler_field_profile_url'
- twitter_views_data in ./
twitter.views.inc - Implementation of hook_views_data()
File
- ./
twitter_views_field_handlers.inc, line 82
View source
class twitter_views_handler_field_profile_url extends views_handler_field {
function construct() {
parent::construct();
$this->additional_fields['screen_name'] = 'screen_name';
}
function query() {
$this
->ensure_my_table();
$this
->add_additional_fields();
}
function render($values) {
$value = $values->{$this->aliases['screen_name']};
return twitter_profile_url($value);
}
}