You are here

public function AnalyticData::getPropertyList in Analytics 6

Return a list of properties.

File

includes/analyticdata.inc, line 90
Class definition for analytics.

Class

AnalyticData
@file Class definition for analytics.

Code

public function getPropertyList() {
  $result = $this->analytic
    ->getProperties();
  $properties = array();
  foreach ($result as $property) {
    $properties[$property['property_instance_id']] = $property['property_name'];
  }
  return $properties;
}