$configEntry = 'news_reader_class';
// Get "page"
- $page = $requestInstance->getRequestElement('page');
+ $command = $requestInstance->getRequestElement('command');
- // Is 'page' used?
- if (!empty($page)) {
+ // Is 'command' used?
+ if (!empty($command)) {
// Then add it
- $configEntry = sprintf('news_reader_%s_class', $page);
+ $configEntry = sprintf('news_reader_%s_class', $command);
// Get 'action'
$action = $requestInstance->getRequestElement('action');
// Is it also there?
if (!empty($action)) {
// Then use both for config entry
- $configEntry = sprintf('news_reader_%s_%s_class', $page, $action);
+ $configEntry = sprintf('news_reader_%s_%s_class', $command, $action);
} // END - if
} // END - if