Conditions | 3 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function renderButtons() |
||
20 | { |
||
21 | $return = ''; |
||
22 | $buttons = $this->getForm()->getButtons(); |
||
|
|||
23 | if ($buttons) { |
||
24 | $return .= '<div class="form-actions">'; |
||
25 | foreach ($buttons as $button) { |
||
26 | $return .= $button->render() . "\n"; |
||
27 | } |
||
28 | $return .= ' <div class="clear"></div>'; |
||
29 | $return .= '</div>'; |
||
30 | } |
||
31 | |||
32 | return $return; |
||
33 | } |
||
65 |