src/Yandex/Metrica/Stat/DataClient.php
public function getDrillDown(Models\TableParams $params, array $parentId = [])
    {
        $resource = 'drilldown';
        $params = $params->toArray();

        if (!empty($parentId)) {
            $params['parent_id'] = json_encode($parentId);
        }

        $response = $this->sendGetRequest($resource, $params);
        $dataResponse = new Models\DrillDown($response);
        return $dataResponse;
    }
public function getDrillDown(Models\TableParams $params, array $parentId = [])
    {
        $resource = 'drilldown';
        $params = $params->toArray();

        if (!empty($parentId)) {
            $params['parent_id'] = json_encode($parentId);
        }

        $response = $this->sendGetRequest($resource, $params);
        $dataResponse = new Models\DrillDown($response);
        return $dataResponse;
    }
public function getDrillDown ( Models \ TableParams $ params , array $ parentId = [ ] ) { $ resource = 'drilldown' ; $ params = $ params -> toArray ( ) ; if ( ! empty ( $ parentId ) ) { $ params [ 'parent_id' ] = json_encode ( $ parentId ) ; } $ response = $ this -> sendGetRequest ( $ resource , $ params ) ; $ dataResponse = new Models \ DrillDown ( $ response ) ; return $ dataResponse ; }
Get drill down

@see http://api.yandex.ru/metrika/doc/beta/api_v1/drilldown.xml

@param Models\TableParams $params
@param array $parentId
@return Models\DrillDown
Get drill down