lib/DataSift/Push/Subscription.php
protected function parseOutputParams($params, $prefix = '')
    {
        $retval = array();
        foreach ($params as $key => $val) {
            if (is_array($val)) {
                $retval = array_merge($retval, $this->parseOutputParams($val, $prefix . $key . '.'));
            } else {
                $retval[$prefix . $key] = $val;
            }
        }
        return $retval;
    }
protected function parseOutputParams($params, $prefix = '')
    {
        $retval = array();
        foreach ($params as $key => $val) {
            if (is_array($val)) {
                $retval = array_merge($retval, $this->parseOutputParams($val, $prefix . $key . '.'));
            } else {
                $retval[$prefix . $key] = $val;
            }
        }
        return $retval;
    }
protected function parseOutputParams ( $ params , $ prefix = '' ) { $ retval = array ( ) ; foreach ( $ params as $ key => $ val ) { if ( is_array ( $ val ) ) { $ retval = array_merge ( $ retval , $ this -> parseOutputParams ( $ val , $ prefix . $ key . '.' ) ) ; } else { $ retval [ $ prefix . $ key ] = $ val ; } } return $ retval ; }
Recursive method to parse the output_params as received from the API
into the flattened, dot-notation used by the client libraries.

@param array  $params The parameters to parse.
@param string $prefix The current key prefix.

@return array
Recursive method to parse the output_params as received from the API into the flattened dot - notation used by the client libraries .