You are here

public function views_xml_backend_plugin_query_xml::replace_arguments in Views XML Backend 7

1 call to views_xml_backend_plugin_query_xml::replace_arguments()
views_xml_backend_plugin_query_xml::execute in ./views_xml_backend_plugin_query_xml.inc
Executes the query and fills the associated view object with according values.

File

./views_xml_backend_plugin_query_xml.inc, line 184
Contains views_xml_backend_plugin_query_xml.

Class

views_xml_backend_plugin_query_xml
@file Contains views_xml_backend_plugin_query_xml.

Code

public function replace_arguments($view, $string) {
  if (!empty($view->build_info['substitutions'])) {
    return strtr($string, $view->build_info['substitutions']);
  }
  return $string;
}