1 views_handler_relationship_groupwise_max.inc | views_handler_relationship_groupwise_max::condition_namespace($string) |
Helper function to namespace query pieces.
Turns 'foo.bar' into 'foo_NAMESPACE.bar'.
File
- core/
modules/ views/ handlers/ views_handler_relationship_groupwise_max.inc, line 322 - Relationship for groupwise maximum handler.
Class
- views_handler_relationship_groupwise_max
- Relationship handler that allows a groupwise maximum of the linked in table. For a definition, see: http://dev.mysql.com/doc/refman/5.0/en/example-maximum-column-group-row.... In lay terms, instead of joining to get all matching records in the…
Code
function condition_namespace($string) {
return str_replace('.', $this->subquery_namespace . '.', $string);
}