Projekt

Obecné

Profil

Stáhnout (844 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
<?php
2

    
3
namespace App\AdminModule\Presenters;
4

    
5

    
6
use App\AdminModule\Components\ISurfaceTypeGridFactory;
7

    
8
class SurfacePresenter extends BaseAdminPresenter
9
{
10
    /** @var ISurfaceTypeGridFactory */
11
    private $surfaceTypeGridFactory;
12

    
13
    private $typeId;
14

    
15
    /**
16
     * SurfacePresenter constructor.
17
     * @param ISurfaceTypeGridFactory $surfaceTypeGridFactory
18
     */
19
    public function __construct(ISurfaceTypeGridFactory $surfaceTypeGridFactory)
20
    {
21
        parent::__construct();
22

    
23
        $this->surfaceTypeGridFactory = $surfaceTypeGridFactory;
24
    }
25

    
26
    public function actionAddType()
27
    {
28

    
29
    }
30

    
31
    public function actionEditType($id)
32
    {
33

    
34
    }
35

    
36
    public function actionDeleteType($id)
37
    {
38

    
39
    }
40

    
41
    public function createComponentSurfaceTypeGrid()
42
    {
43
        return $this->surfaceTypeGridFactory->create();
44
    }
45
}
(5-5/6)