/**
  * Render control
  *
  * @return string
  * @author Jiří Knesl
  **/
 public function render()
 {
     $template = $this->createTemplate();
     $template->setFile(__DIR__ . '/BestControl.phtml');
     $template->bestArticles = $this->template->bestArticles = Article::findBests();
     return $template->render();
 }
 function renderBests()
 {
     $this->template->bestArticles = Article::findBests();
 }
 function getPartBestArticles()
 {
     // kromě toho načteme i výběr článků pro postranní menu
     return Article::findBests();
 }
 function getData()
 {
     $this->template->bestArticles = Article::findBests();
 }