| 1 | <?php |
||
| 8 | class Panel extends Object implements IBarPanel { |
||
| 9 | /** @var \l10nNetteTranslator\Translator */ |
||
| 10 | protected $translator; |
||
| 11 | |||
| 12 | 1 | public function __construct(\l10nNetteTranslator\Translator $translator) { |
|
| 15 | |||
| 16 | /** |
||
| 17 | * Return's panel ID |
||
| 18 | * |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | 1 | public function getId() { |
|
| 24 | |||
| 25 | /** |
||
| 26 | * Returns the code for the panel tab |
||
| 27 | * |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | 1 | public function getTab() { |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Returns the code for the panel itself |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 1 | public function getPanel() { |
|
| 50 | } |
||
| 51 |