function views_atom_handler_area_atom_tombstone::render_option_as_url in Views Atom 7
Render a text area, using the proper format.
1 call to views_atom_handler_area_atom_tombstone::render_option_as_url()
- views_atom_handler_area_atom_tombstone::render in includes/
views_atom_handler_area_atom_tombstone.inc - Render the area.
File
- includes/
views_atom_handler_area_atom_tombstone.inc, line 108 - Views area text handler.
Class
Code
function render_option_as_url($option_name) {
if (!empty($this->options[$option_name])) {
if ($this->options['tokenize']) {
$value = $this->view->style_plugin
->tokenize_value($this->options[$option_name], 0);
}
else {
$value = $this->options[$option_name];
}
return url($value, array(
'absolute' => TRUE,
));
}
else {
return '';
}
}