dmitryd / typo3-simplemvc

[OBSOLETE] A TYPO3 "simplemvc" extension. This extension adds a simple high performance MVC framework to TYPO3.
7 stars 0 forks source link

wrong description getQueryParameter #3

Closed franzholz closed 10 years ago

franzholz commented 11 years ago

The method getQueryParameter in AbstractController.php has a wrong description.

/**

Why do you use the method name 'getQueryParameter' and not 'getGetParameter'? The variable is called 'getParameters' and therefore its getter method should be 'getGetParameters'. Or maybe 'getParameter($name, $type, $defaultValue = '')" could be used. $type: GET or POST or ALL

dmitryd commented 11 years ago

Query instead of Get is because the parameter comes from the query string.

Thanks for the report.