You are here

public function pcp_handler_field_profile_completeness::query in Profile Complete Percent 7

Help build the query.

Overrides views_handler_field::query

File

includes/pcp_handler_field_profile_completeness.inc, line 51
Handler for the 'Profile: completeness' field. This is for Profile2 profiles.

Class

pcp_handler_field_profile_completeness
@file Handler for the 'Profile: completeness' field. This is for Profile2 profiles.

Code

public function query() {

  // Not calling parent::query() as it will treat 'completeness' as a real
  // db field.
  $this
    ->ensure_my_table();
  $this
    ->add_additional_fields();
}