Options for $options:
- tag - Type of list tag to use (ol/ul)
Options for $itemOptions:
- even - Class to use for even rows.
- odd - Class to use for odd rows.
public nestedList ( array $list, array $options = [], array $itemOptions = [] ) : string | ||
$list | array | Set of elements to list |
$options | array | Options and additional HTML attributes of the list (ol/ul) tag. |
$itemOptions | array | Options and additional HTML attributes of the list item (LI) tag. |
return | string | The nested list |