You are here

public function gapiReportEntry::__toString in Google Analytics Statistics 7

Same name and namespace in other branches
  1. 7.2 includes/gapi.class.php \gapiReportEntry::__toString()
  2. 7.x inc/gapi.class.php \gapiReportEntry::__toString()

toString function to return the name of the result this is a concatented string of the dimesions chosen

For example: 'Firefox 3.0.10' from browser and browserVersion

Return value

String

File

includes/gapi.class.php, line 769

Class

gapiReportEntry
Class gapiReportEntry

Code

public function __toString() {
  if (is_array($this->dimensions)) {
    return implode(' ', $this->dimensions);
  }
  else {
    return '';
  }
}