<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace FrontModule;
use \Nette\Application\UI\Form;
use \Nette\Utils\Image;

 
class HomepagePresenter extends BasePresenter {
    
    
    private $oznameniModel;
  
    public function __construct(\OznameniModel $oznameniModel) {
    $this->oznameniModel = $oznameniModel;
    }
    
  
    
    public function renderDefault() {
      $this->template->oznameni = $this->oznameniModel->getOznameni();
       
    }
    
    
    
  
}
