private function getExportParams($key = null)
    {
        if ($key && isset($this->exportParams[$key])) {
            return $this->exportParams[$key];
        }

        return $this->exportParams;
    }
private function getExportParams($key = null)
    {
        if ($key && isset($this->exportParams[$key])) {
            return $this->exportParams[$key];
        }

        return $this->exportParams;
    }
private function getExportParams ( $ key = null ) { if ( $ key && isset ( $ this -> exportParams [ $ key ] ) ) { return $ this -> exportParams [ $ key ] ; } return $ this -> exportParams ; }
Retrieves all parameters if no key is specified

@param string|null $key

@return string|array
Retrieves all parameters if no key is specified