function google_analytics_reports_custom_to_variable_field in Google Analytics Reports 7.3
Same name and namespace in other branches
- 8.3 google_analytics_reports.module \google_analytics_reports_custom_to_variable_field()
Converts a base custom field name and number into a specific field name.
3 calls to google_analytics_reports_custom_to_variable_field()
- google_analytics_reports_handler_argument::query in handlers/
google_analytics_reports_handler_argument.inc - Set up the query for this argument.
- google_analytics_reports_handler_field::query in handlers/
google_analytics_reports_handler_field.inc - Called to add the field to a query.
- google_analytics_reports_handler_filter::query in handlers/
google_analytics_reports_handler_filter.inc - Add this filter to the query.
File
- ./
google_analytics_reports.module, line 277 - Front-end interfaces that use the Google Analytics Reports API module.
Code
function google_analytics_reports_custom_to_variable_field($field, $number) {
return preg_replace('/XX/', $number, $field);
}