public function getMetrics($reportSuiteID, $returnAsIdArray = false)
    {
        $response = $this->post('Report.GetMetrics', array('reportSuiteID' => $reportSuiteID));
        if ($returnAsIdArray) {
            $filtered = array();
            foreach ($response as $metric) {
                $filtered[$metric['id']] = $metric['name'];
            }
            return array_unique($filtered);
        }
        return $this->returnResponse($response);
    }
public function getMetrics($reportSuiteID, $returnAsIdArray = false)
    {
        $response = $this->post('Report.GetMetrics', array('reportSuiteID' => $reportSuiteID));
        if ($returnAsIdArray) {
            $filtered = array();
            foreach ($response as $metric) {
                $filtered[$metric['id']] = $metric['name'];
            }
            return array_unique($filtered);
        }
        return $this->returnResponse($response);
    }
public function getMetrics ( $ reportSuiteID , $ returnAsIdArray = false ) { $ response = $ this -> post ( 'Report.GetMetrics' , array ( 'reportSuiteID' => $ reportSuiteID ) ) ; if ( $ returnAsIdArray ) { $ filtered = array ( ) ; foreach ( $ response as $ metric ) { $ filtered [ $ metric [ 'id' ] ] = $ metric [ 'name' ] ; } return array_unique ( $ filtered ) ; } return $ this -> returnResponse ( $ response ) ; }
Retrieve events for your report suites

@param string $reportSuiteID
@param bool $returnAsIdArray

@return array
Retrieve events for your report suites