You are here

public function gapiReportEntry::__toString in Google Analytics Statistics 7.2

Same name and namespace in other branches
  1. 7 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 dimensions chosen

For example: 'Firefox 3.0.10' from browser and browserVersion

Return value

String

File

includes/gapi.class.php, line 505

Class

gapiReportEntry
Storage for individual gapi report entries

Code

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