====== RestRequest::getNamedParameters() ====== ---- ===== Definition ===== Returns the named parameters of the current request as array. \\ Named parameters are URL parameters sent by the client with the pattern ''=''. Array getNamedParameters ( ) ===== Returns ===== * **Array** \\ Named parameters used in the URL of the request as associative array with given key and value. \\ The keys are alyways converted to __lower case__! ===== Example ===== $Request = new RestRequest(); // Called endpoint is: [PUT] https://www.domain.com/webservice/accounting/booking?debug=true // Content is: "id:5,account:1234,name:Mr. Smith,amount:592.30" $Application = $Request->getApplication(); // "accounting" $Method = $Request->getMethod(); // "booking" if ( $Request->hasNamedParameters() ) // true { if ( $Request->getNamedParameters['debug'] == 'true' ) { [...] } } ~~NOTOC~~