FEATURE: move default Handler::render() into parent class

This commit is contained in:
Michal Kváček
2016-09-23 23:57:23 +02:00
parent a9aaf797cd
commit 9d33ae6d49
7 changed files with 21 additions and 57 deletions
@@ -33,19 +33,6 @@ class StaticPage extends Handler
return $moduleId;
}
/**
* Render given module into visitor area.
*
* @param Content $content DB model from table contents
* @param array $parameters parameters used for modifications/custom settings of given model
*
* @return mixed
*/
public function render(Content $content, $parameters)
{
return Controller::VisitorsView($content->template, ['page' => $content]);
}
/**
* Does given module manage content? Or is it just module with widgets/something internal/something absolutely else?
*