function views_plugin_query_default::get_field_alias
Returns the alias for the given field added to $table.
See also
views_plugin_query_default::add_field()
1 call to views_plugin_query_default::get_field_alias()
- views_plugin_query_default::get_result_entities in plugins/
views_plugin_query_default.inc - Returns the according entity objects for the given query results.
File
-
plugins/
views_plugin_query_default.inc, line 1105
Class
- views_plugin_query_default
- Object used to create a SELECT query.
Code
public function get_field_alias($table_alias, $field) {
return isset($this->field_aliases[$table_alias][$field]) ? $this->field_aliases[$table_alias][$field] : FALSE;
}