/**
* Replaces the query params with their matching long form
*
* @return void
*/
public function replaceShortRequestQueries(Enlight_Controller_Request_RequestHttp
$request) { foreach ($this->
getQueryAliases() as $key =>
$alias) { $value =
$request->
getQuery($alias);
if ($value !== null
) { $request->
setQuery($key,
$value);
$request->
setQuery($alias, null
);
} } } /**
* Input:
* [
* 'sPage' => 1,
* 'sSort' => 3,
* 'foo' => 'bar,
* ]
*
* Output:
* [
* 'p' => 1,
* 'o' => 3,
* 'foo' => 'bar'
* ]
*
* @param array<string, mixed> $params
*
* @return array<string, mixed>
*/