Projekt

Obecné

Profil

« Předchozí | Další » 

Revize dd522430

Přidáno uživatelem Filip Jani před asi 6 roky(ů)

Re #7217 přidání datagridů

Zobrazit rozdíly:

app/presenters/HomepagePresenter.php
2 2

  
3 3
namespace App\Presenters;
4 4

  
5
use App\Components\IExampleGirdFactory;
5 6
use Nette;
6 7

  
7 8

  
8 9
final class HomepagePresenter extends Nette\Application\UI\Presenter
9 10
{
11
    /** @var IExampleGirdFactory  */
12
    private $exampleGridFactory;
13

  
14
    public function __construct(IExampleGirdFactory $exampleGridFactory)
15
    {
16
        parent::__construct();
17

  
18
        $this->exampleGridFactory = $exampleGridFactory;
19
    }
20

  
21
    public function actionDefault(){
22

  
23
    }
24

  
25
    public function createComponentDataGrid(){
26
        return $this->exampleGridFactory->create();
27
    }
10 28
}

Také k dispozici: Unified diff