protected function getParameters()
    {
        $effectiveParameters = [];
        $missedAliases = [];

        foreach ($this->getParametersAliases() as $checkParameterShort => $checkParameterUri) {
            if ($this->hasRequestParameter($checkParameterUri)) {
                $effectiveParameters[$checkParameterUri] = $this->getRequestParameter($checkParameterUri);
            }
            else if ($this->hasRequestParameter($checkParameterShort)) {
                $effectiveParameters[$checkParameterUri] = $this->getRequestParameter($checkParameterShort);
            }
            else if ($this->isRequiredParameter($checkParameterShort)) {
                $missedAliases[] = $checkParameterShort;
            }
        }

        if (count($missedAliases) > 0) {
            throw new \common_exception_RestApi(
                'Missed required parameters: ' . implode(', ', $missedAliases));
        }

        return $effectiveParameters;
    }
protected function getParameters()
    {
        $effectiveParameters = [];
        $missedAliases = [];

        foreach ($this->getParametersAliases() as $checkParameterShort => $checkParameterUri) {
            if ($this->hasRequestParameter($checkParameterUri)) {
                $effectiveParameters[$checkParameterUri] = $this->getRequestParameter($checkParameterUri);
            }
            else if ($this->hasRequestParameter($checkParameterShort)) {
                $effectiveParameters[$checkParameterUri] = $this->getRequestParameter($checkParameterShort);
            }
            else if ($this->isRequiredParameter($checkParameterShort)) {
                $missedAliases[] = $checkParameterShort;
            }
        }

        if (count($missedAliases) > 0) {
            throw new \common_exception_RestApi(
                'Missed required parameters: ' . implode(', ', $missedAliases));
        }

        return $effectiveParameters;
    }
protected function getParameters ( ) { $ effectiveParameters = [ ] ; $ missedAliases = [ ] ; foreach ( $ this -> getParametersAliases ( ) as $ checkParameterShort => $ checkParameterUri ) { if ( $ this -> hasRequestParameter ( $ checkParameterUri ) ) { $ effectiveParameters [ $ checkParameterUri ] = $ this -> getRequestParameter ( $ checkParameterUri ) ; } else if ( $ this -> hasRequestParameter ( $ checkParameterShort ) ) { $ effectiveParameters [ $ checkParameterUri ] = $ this -> getRequestParameter ( $ checkParameterShort ) ; } else if ( $ this -> isRequiredParameter ( $ checkParameterShort ) ) { $ missedAliases [ ] = $ checkParameterShort ; } } if ( count ( $ missedAliases ) > 0 ) { throw new \ common_exception_RestApi ( 'Missed required parameters: ' . implode ( ', ' , $ missedAliases ) ) ; } return $ effectiveParameters ; }
Returns all parameters that are URIs or Aliased with values

@return array
@throws \common_exception_RestApi If a mandatory parameter is not found
Returns all parameters that are URIs or Aliased with values