function radioactivity_node_views_handler_sort_left_or_inner::ensure_my_table in Radioactivity 6
1 call to radioactivity_node_views_handler_sort_left_or_inner::ensure_my_table()
File
- plugins/
radioactivity_node_views_handler_sort_left_or_inner.inc, line 27 - Node radioactivity views handler to allow choosing between LEFT or INNER joining.
Class
- radioactivity_node_views_handler_sort_left_or_inner
- @file Node radioactivity views handler to allow choosing between LEFT or INNER joining.
Code
function ensure_my_table() {
if (!isset($this->table_alias)) {
$join = $this
->get_join();
$join->type = strtoupper($this->options['join_type']);
$this->table_alias = $this->query
->ensure_table($this->table, $this->relationship, $join);
}
return $this->table_alias;
}