| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function render() |
||
| 44 | { |
||
| 45 | $components = $this->getModuleLoader()->getGridButtonsComponents(); |
||
| 46 | |||
| 47 | $buttons = [] |
||
| 48 | foreach ($components as $component) { |
||
|
|
|||
| 49 | |||
| 50 | /** @var $view */ |
||
| 51 | $view = GeneralUtility::makeInstance($component); |
||
| 52 | $buttons[] = $view->render($this->getObject()); |
||
| 53 | } |
||
| 54 | |||
| 55 | $output = sprintf( |
||
| 56 | '<div class="btn-toolbar pull-right" role="toolbar" aria-label=""><div class="btn-group" role="group" aria-label="">%s</div></div>', |
||
| 57 | implode("\n", $buttons) |
||
| 58 | ); |
||
| 59 | |||
| 60 | return $output; |
||
| 61 | } |
||
| 62 | |||
| 64 |