public function tripal_views_query::add_field

3.x tripal_views_query.inc public tripal_views_query::add_field($table_alias, $field_name, $alias = '', $params = array())

File

tripal/tripal_views_query.inc, line 61

Class

tripal_views_query

Code

public function add_field($table_alias, $field_name, $alias = '', $params = array()) {
  $this->fields[] = array(
    'table_alias' => $table_alias,
    'field_name' => $field_name,
    'alias' => $alias,
    'params' => $params
  );
}