1 | <?php |
||
26 | abstract class Component extends \Nette\Application\UI\PresenterComponent |
||
27 | 1 | { |
|
28 | /** @var string */ |
||
29 | protected $label; |
||
30 | |||
31 | /** @var string */ |
||
32 | protected $type; |
||
33 | |||
34 | /** @var \Grido\Grid */ |
||
35 | protected $grid; |
||
36 | |||
37 | /** @var \Nette\Application\UI\Form */ |
||
38 | protected $form; |
||
39 | |||
40 | /** |
||
41 | * @return \Grido\Grid |
||
42 | */ |
||
43 | public function getGrid() |
||
47 | |||
48 | /** |
||
49 | * @return \Nette\Application\UI\Form |
||
50 | */ |
||
51 | public function getForm() |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | * @internal |
||
63 | */ |
||
64 | public function getLabel() |
||
68 | |||
69 | /** |
||
70 | * @return string |
||
71 | * @internal |
||
72 | */ |
||
73 | public function getType() |
||
77 | |||
78 | /** |
||
79 | * @param \Grido\Grid $grid |
||
80 | * @param string $name |
||
81 | * @return \Nette\ComponentModel\Container |
||
82 | */ |
||
83 | protected function addComponentToGrid($grid, $name) |
||
96 | |||
97 | /** |
||
98 | * @param string $message |
||
99 | * @return string |
||
100 | */ |
||
101 | protected function translate($message) |
||
105 | } |
||
106 |