You are here

private function yamaps_views_plugin_style_default_map::preparePlacemarkTitle in Yandex.Maps 7

Prepare placemark for the map.

Parameters

int $row_index: Row index value.

Return value

string Prepared string.

1 call to yamaps_views_plugin_style_default_map::preparePlacemarkTitle()
yamaps_views_plugin_style_default_map::overridePlacemarkTitle in modules/yamaps_views/handlers/yamaps_views_plugin_style_default_map.inc
Override Placemark title.

File

modules/yamaps_views/handlers/yamaps_views_plugin_style_default_map.inc, line 849
Class yamaps_views_plugin_style_default_map.

Class

yamaps_views_plugin_style_default_map
Class defines Yandex Maps style plugin handler.

Code

private function preparePlacemarkTitle($row_index) {
  $title = $this
    ->get_field($row_index, $this->options['placemark_title']);
  return check_plain(strip_tags($title));
}