Total Complexity | 9 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class Nip_Form_Renderer_List extends AbstractRenderer |
||
6 | { |
||
7 | protected $_list = []; |
||
8 | |||
9 | public function setListAttrib($type, $value) |
||
14 | } |
||
15 | |||
16 | public function addClassName($name) |
||
21 | } |
||
22 | |||
23 | public function renderElements() |
||
24 | { |
||
25 | $return = '<ul'; |
||
26 | foreach ($this->_list as $attrib => $value) { |
||
27 | $return .= ' ' . $attrib . '="' . $value . '"'; |
||
28 | } |
||
29 | $return .= '>'; |
||
30 | |||
31 | $renderRows = $this->renderRows(); |
||
32 | if ($renderRows) { |
||
33 | $return .= $renderRows; |
||
34 | } |
||
35 | $return .= '</ul>'; |
||
36 | |||
37 | return $return; |
||
38 | } |
||
39 | |||
40 | public function renderRows() |
||
62 | } |
||
63 | } |
||
64 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.